comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » remote execution of idl script
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: remote execution of idl script [message #91214 is a reply to message #91212] Wed, 17 June 2015 08:49 Go to previous messageGo to previous message
Nigel Wade is currently offline  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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with text()
Next Topic: trouble with image(), /data, /norm

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:48:45 PDT 2025

Total time taken to generate the page: 0.00464 seconds