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

Home » Public Forums » archive » Re: batch UNIX-IDL
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
Re: batch UNIX-IDL [message #10294] Tue, 11 November 1997 00:00
mallors is currently offline  mallors
Messages: 76
Registered: November 1997
Member
In article <34632CA3.2175C1FD@axpba0.ba.infn.it>,
iavarone <iavarone@axpba0.ba.infn.it> writes:
> Hi.
> How run IDL in batch mode on a workstation DIGITAL (UNIX)
> using unix command 'at'?
>
> I tried with a batch like:
> cd /users/......data_dir
> $idl @file_batch
> or
> cd /users/......data_dir
> $idl <file_batch
>
> Thank.
> --
> Nando Iavarone
>

You can write a shell script to run your IDL programs, then
submit the script for batch processing:

#!/bin/shell
#
# Runs arbitrary IDL commands from a shell script
#
#

$IDL_DIR/bin/idl <<EOF
MY_FIRST_PROCEDURE, param1, param2
MY_SECOND_PROCEDURE, param3
SET_PLOT, 'PS'
PLOT, x, y
EXIT
EOF

# END of script


--
Dr. Robert S. Mallozzi
University of Alabama in Huntsville
http://cspar.uah.edu/~mallozzir/
Re: batch UNIX-IDL [message #10301 is a reply to message #10294] Mon, 10 November 1997 00:00 Go to previous message
knipp is currently offline  knipp
Messages: 68
Registered: January 1993
Member
In article <3465BB94.238DC377@fz-juelich.de>, "R. Bauer" <r.bauer@fz-juelich.de> writes:
> iavarone wrote:
>
>> Hi.
>> How run IDL in batch mode on a workstation DIGITAL (UNIX)
>> using unix command 'at'?
>>
>> I tried with a batch like:
>> cd /users/......data_dir
>> $idl @file_batch
>> or
>> cd /users/......data_dir
>> $idl <file_batch
>>
>
>
> Try at the unix promt idl < file_batch
>
>
>
> --
> R.Bauer
>
> Institut fuer Stratosphaerische Chemie (ICG-1)
> Forschungszentrum Juelich
> email: R.Bauer@fz-juelich.de
>
>
>

- create shellscript :
- set all environment-variables concerning IDL
- idl < file_batch
- start shellscript:
- at .... <shell-script>


Karl

--
K. Knipp knipp@digitalmap.hi.bosch.de
Re: batch UNIX-IDL [message #10304 is a reply to message #10301] Sun, 09 November 1997 00:00 Go to previous message
R. Bauer is currently offline  R. Bauer
Messages: 137
Registered: November 1996
Senior Member
iavarone wrote:

> Hi.
> How run IDL in batch mode on a workstation DIGITAL (UNIX)
> using unix command 'at'?
>
> I tried with a batch like:
> cd /users/......data_dir
> $idl @file_batch
> or
> cd /users/......data_dir
> $idl <file_batch
>


Try at the unix promt idl < file_batch



--
R.Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: defining Keys
Next Topic: Re: A couple of IDL for NT questions

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

Current Time: Wed Oct 08 13:47:52 PDT 2025

Total time taken to generate the page: 0.00691 seconds