X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 	tests=BAYES_50,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <495D16FA.9090408@speakeasy.net>
Date: Thu, 01 Jan 2009 14:18:18 -0500
From: Eric Hui <erichui@speakeasy.net>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.5.25: Cygwin, LAPACK, and ssh -- output "swallowed"
References: <495D0C92.1010005@gmail.com>
In-Reply-To: <495D0C92.1010005@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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):
> 
> jkramer3@bruno:~$ ssh hollyberry ./testdgtsv.exe
> jkramer3@bruno:~$ ssh hollyberry "./testdgtsv.exe"
> jkramer3@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):
> 
> jkramer3@bruno:~$ ssh hollyberry
> Last login: Tue Dec 30 15:56:52 2008 from 192.168.1.4
> 
> jkramer3@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/

