How to run IDL applications in batch mode on the cluster?
Here are the steps for running IDL in batch mode:
1. create and compile your IDL application in the binary SAVE file format. For documentation on how to do this, use idlman command and look under Programmer's Guides > Building IDL Applications > Application Programming > Creating SAVE Files of Programs and Data
2. create a script as follows:
# This script launches the IDL runtime application "myapp.sav"
3. you can then simply execute this script from within your PBS script and utilize the #PBS -o file directive to store the output in a file Detailed documentation for this can be found (via idlman command) under Programmer's Guides > Building IDL Applications > Creating Applications in IDL > Distributing Runtime Mode Applications