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

Home » Public Forums » archive » Re: idl running under server...
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: idl running under server... [message #31124] Wed, 12 June 2002 11:52
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Guillaume Dargaud wrote:
>
> I wrote a perl script that takes form data and executes an idl program,
> returning graphics.
> It works fine when I run it from the command line, but idl doesn't do a
> thing under the server.
> Anyone has an idea ?
>
> The differences I could tell are:
> - different environment variables (no IDL_PATH, IDL_DIR)
> - different user/group (nobody/nobody).

When you execute the script

(1) Does IDL even start up? You may need to explicitly set up the IDL
environment in the script , e.g.

source /usr/local/rsi/idl/bin/idl_setup

or

. /usr/local/rsi/idl/bin/idl_setup.ksh

(2) Is an X client available when the script runs? If your IDL code is
creating graphics and you are not using the Z-buffer, then an X-client
must be available in order for graphics windows to be created. This is
why people often use the Z-buffer instead of graphics windows when
running scripts that call IDL in the background.

I recommend trying a very small IDL test program first to make sure your
setup is working. For example, create a plot, and save it to a JPEG
file.

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[Message index]
 
Read Message
Previous Topic: idl running under server...
Next Topic: GET_LUN running out of LUNs?

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

Current Time: Wed Oct 08 15:53:14 PDT 2025

Total time taken to generate the page: 0.00394 seconds