Re: remote execution of idl script [message #91214 is a reply to message #91212] |
Wed, 17 June 2015 08:49   |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
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,
>> Flo.
>
> Is there any IDL_STARTUP file on the remote host?
>
> What does "ssh remote_server_name 'cat hw.isc'" print?
>
> If it is OK and the remote host is Linux, you can try
>
> ssh remote_server_name 'strace idl hw.isc'
>
> This will print a zillion lines but you will see where IDL stalls at the end.
>
You can't strace IDL, it's a script.
|
|
|