www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/01/14:19:06

X-Recipient: archive-cygwin AT delorie DOT 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 AT speakeasy DOT net>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.25: Cygwin, LAPACK, and ssh -- output "swallowed"
References: <495D0C92 DOT 1010005 AT gmail DOT com>
In-Reply-To: <495D0C92.1010005@gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT bruno:~$ ssh hollyberry ./testdgtsv.exe
> jkramer3 AT bruno:~$ ssh hollyberry "./testdgtsv.exe"
> jkramer3 AT 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 AT bruno:~$ ssh hollyberry
> Last login: Tue Dec 30 15:56:52 2008 from 192.168.1.4
> 
> jkramer3 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019