Re: remote execution of idl script [message #91215 is a reply to message #91214] |
Wed, 17 June 2015 08:57   |
trisb
Messages: 18 Registered: November 2010
|
Junior Member |
|
|
On Wednesday, June 17, 2015 at 4:49:27 PM UTC+1, Nigel Wade wrote:
> On 17/06/15 16:20, fawltylanguage@gmail.com wrote:
>> On Wednesday, June 17, 2015 at 4:55:59 PM UTC+2, trisb wrote:
>>> This is my hw.isc:
>>> -----
>>> print,"Hello world"
>>> exit
>>> -----
>>>
>>> This is the output from running
>>>
>>> ssh remote_server_name 'idl hw.isc'
>>>
>>> once it stalls:
>>> -----
>>> IDL Version 8.3 (linux x86_64 m64). (c) 2013, Exelis Visual Information Solutions, Inc.
>>> Installation number: [redacted]
>>> Licensed for use by: [redacted]
>>>
>>> -----
>>>
>>> I also tried to ssh into the host server/headnode, but it results in the same problem.
>
> Is it IDL which is hanging or ssh?
>
> Try adding an additional command after idl to see if IDL exits, and ssh hangs.
> If IDL exits then it's definitely something to do with the ssh environment rather than IDL.
>
> It may also be X causing the problem, so get rid of X and unset DISPLAY:
>
> ssh -x remote_server_name 'unset DISPLAY;idl hw.isc;ls'
>
> If IDL exits it should list your files.
Thanks for the suggestion, Nigel. It stalls at the same point as before, ls is not being executed.
|
|
|