You are here: Using Nitro > Submit a Nitro Job using the nitrosub Command

2.2 Submit a Nitro Job using the nitrosub Command

This topic is applicable for static and dynamic jobs. Alternatively, for static jobs, you can submit the jobs using a customized nitro_job.sh script and the resource manager's submit command (for example, Torque's qsub). See 2.3 Submit a Nitro Job with User-Customized Job Scripts for more information.

Do the following:

  1. Obtain the required information:
    • how many resources (nodes or cores) you will need; this can be a static amount or a range (used for dynamic jobs).

      Contact your system administrator to determine which resource type is applicable for your configuration.

    • the time limit for the execution (wall-time)
    • location of your task file
  2. Determine if you want any additional information included:
    • whether a worker will reside on the same host as the coordinator
    • a job ID for the job
    • a job directory for recording job information
    • any customized environment variables
  3. Submit the Nitro job. The following example is for a dynamic job requesting 4-10 hosts, with a walltime of 30 minutes.
    $ nitrosub --resources=4-10--wall-time=30:00--task-file=mytasks.txt

Related Topics 

© 2016 Adaptive Computing