You are here: Using Nitro > Submit a Nitro Job with User-Customized Job Scripts

2.3 Submit a Nitro Job with User-Customized Job Scripts

This topic is only applicable for static jobs submitted using the resource manager's submit command (for example, qsub for Torque). If your configuration uses the nitrosub command, see 2.2 Submit a Nitro Job using the nitrosub Command.

Do the following:

  1. If you have not already done so,
    1. Obtain the etc/nitro_job.sh script customized for your system.
    2. Create a copy of that job script.
  2. Customize the job script for your task file.
    1. Specify the path to your task file (NITRO_TASK_FILE).
    2. (Optional) Specify the directory to which Nitro writes log files (NITROJOBDIR). This directory can be used to store output files from your tasks.
    3. Customize any other environment variables referenced by the launch_nitro.sh script as needed. See 3.3 Environment Variables for more information.
    4. Confirm the job script executes the launch_nitro.sh script (last line in the script).
  3. Save your customized nitro_job.sh script.
  4. Using your resource manager's submit command, submit the Nitro job for your task file. The following example uses the Torque resource manager and the customized job script saved in the "myscripts" directory.
    $ qsub \myscripts\nitro_job.sh

Related Topics 

© 2016 Adaptive Computing