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

Home » Public Forums » archive » How do I run IDL with non-interactive backend?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How do I run IDL with non-interactive backend? [message #79262] Sun, 19 February 2012 21:57 Go to next message
John Yeukhon Wong is currently offline  John Yeukhon Wong
Messages: 5
Registered: February 2012
Junior Member
I am not sure if people are familiar with MATLAB, but supposed we do
this on a Linux machine without the pretty GUI:

matlab -nosplash -nodesktop -r "my_script; quit"

There are a few more pretty extra commands I can added to the line
above.

Now back to IDL. We are running IDL from a linux machine, and we have
a webclient which basically sends the requests and asks the machine to
execute the IDL script.

So far we have this
idl -e "my_hello_world_script"

PRO my_hello_world_script
PRINT, "HELLO IDL USERS!"
END

This is fine.
But if we want to make a plot, and use the same command --> idl -e
"my_plot" will say

"Unable to open X-terminals."

My question is: does anybody know the command to force IDL execute in
a non-interactive mode (meaning no GUI windows pops out), and will
quit IDL as well (like the MATLAB command above, if we don't quit,
MALTAB will just sit there running"

Thank you.
Re: How do I run IDL with non-interactive backend? [message #79350 is a reply to message #79262] Mon, 20 February 2012 10:14 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
http://groups.google.com/group/comp.lang.idl-pvwave/msg/adbb 2660db16914c

On Feb 20, 3:57 am, John Yeukhon Wong <gokoproj...@gmail.com> wrote:
> I am not sure if people are familiar with MATLAB, but supposed we do
> this on a Linux machine without the pretty GUI:
>
> matlab -nosplash -nodesktop -r "my_script; quit"
>
> There are a few more pretty extra commands I can added to the line
> above.
>
> Now back to IDL. We are running IDL from a linux machine, and we have
> a webclient which basically sends the requests and asks the machine to
> execute the IDL script.
>
> So far we have this
> idl -e "my_hello_world_script"
>
> PRO my_hello_world_script
>    PRINT, "HELLO IDL USERS!"
> END
>
> This is fine.
> But if we want to make a plot, and use the same command --> idl -e
> "my_plot" will say
>
> "Unable to open X-terminals."
>
> My question is: does anybody know the command to force IDL execute in
> a non-interactive mode (meaning no GUI windows pops out), and will
> quit IDL as well  (like the MATLAB command above, if we don't quit,
> MALTAB will just sit there running"
>
> Thank you.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How do I run IDL with non-interactive backend?
Next Topic: Re: tracking clusters through multiple timesteps

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

Current Time: Wed Oct 08 13:49:14 PDT 2025

Total time taken to generate the page: 0.00477 seconds