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.

[snip]


In all of the following, "hollyberry" is running Cygwin 1.5.25 on XP; "bruno" is running Debian testing (2.6.26-1-amd64 kernel).

Example 1 (swallowed output):

jkram...@bruno:~$ ssh hollyberry ./testdgtsv.exe
jkram...@bruno:~$ ssh hollyberry "./testdgtsv.exe"
jkram...@bruno:~$

No output is printed, which I'm describing as "swallowed".


[snip]

Example 3 (logging in to the Cygwin machine using ssh (essentially making it a local session) also works):

jkram...@bruno:~$ ssh hollyberry
Last login: Tue Dec 30 15:56:52 2008 from 192.168.1.4

jkram...@hollyberry ~
$ ./testdgtsv.exe
   6.5
  12.0
  15.5
  19.5
  20.5

$ logout

Jim,

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.

Hope this helps.

--
-------------------------------------------
Eric C. Hui
-------------------------------------------


--
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/

Reply via email to