X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=BAYES_00,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: sourceware.org Message-ID: <21254779.post@talk.nabble.com> Date: Fri, 2 Jan 2009 09:55:07 -0800 (PST) From: Jim Kramer To: cygwin AT cygwin DOT com Subject: Re: 1.5.25: Cygwin, LAPACK, and ssh -- output "swallowed" In-Reply-To: <495D16FA.9090408@speakeasy.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <495D0C92 DOT 1010005 AT gmail DOT com> <495D16FA DOT 9090408 AT speakeasy DOT net> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Eric Hui wrote: > > Jim Kramer wrote: > >> Concise problem description: >> A C/C++ program that incorporates LAPACK functions "swallows" program >> output when run (as a command) over an ssh connection. > > This may be an issue with your path. In your example 1, try > > ssh hollyberry echo '$PATH' > > The LAPACK dll is in /usr/lib/lapack/, so that will need to be in > your path. > > Yes, thank you, that resolved it. To be sure I understand why it wasn't working as I expected: When sending a command via ssh, no shell is started and therefore the cygwin environment (in this case, the library path) is not fully configured. So, the appropriate path needs to be added someplace such that *Windows* (not Cygwin) can find it (e.g., the Windows PATH environment variable). Do I have that right? Also, a follow-up question: is there another method for setting paths that would work under these circumstances? For instance, symbolic links to the LAPACK library? Thank you again for the help, Jim -- View this message in context: http://www.nabble.com/1.5.25%3A-Cygwin%2C-LAPACK%2C-and-ssh----output-%22swallowed%22-tp21243563p21254779.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/