X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11 Feb 2016 04:56 PM by  anon
Running a non-interactive development IDL program session
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:81
New Member


--
11 Feb 2016 04:56 PM
    IDL user question: "Hey, I am using IDL module on one of UNC computer. I usually open a IDL interface using bsub -Ip idl. However, we have to compile IDL before we run it. The IT suggests me open a IDL interface, and IDL> .r filename.pro IDL> filename I am wondering is there any way I can run IDL submit the job directly? Thank you"

    Deleted User



    New Member


    Posts:81
    New Member


    --
    11 Feb 2016 05:00 PM
    Answer: To launch a non-interactive command line IDL session to run a *.pro file (source code) program, you can use the -e command line switch for idl, as long as the *.pro file is in your IDL program search path. For example, for "filename.pro", if the program runs from the IDL> command prompt like: IDL> filename --then the non-interactive idl command might look like this: idl -e filename I'm not familiar with the "bsub" program so I'm not sure if the above idl command would be compatible with your bsub call For reference, here is a link to the documentation forthe "-e" command line switch: http://www.exelisvis.com/..._options_for.html#-e I hope this will be helpful. -Jim Harris
    You are not authorized to post a reply.