(Click to open topic with navigation)
This topic provides information on the scripts used to integrate with your resource manager. It also provides additional configuration instructions if your installation uses a directory other than the default.
In this topic:
The /opt/nitro/scripts directory contains a set of launch scripts for different job schedulers and resource managers, which include Cray ALPS with Torque or Slurm, Platform LSF, Slurm, and Torque (Moab and Maui schedulers). See 5.2 Resource Manager Launch Scripts.
The purpose of these scripts is to provide an interface between the job scheduler or resource manager and Nitro that supplies Nitro with information about the job and resources.
Customizing the Launch Scripts
The launch scripts may be customized for your installation. The launch script needs to accomplish the following:
Translate environment variables to command line options.
Users can set the environment variables NITRO_OPTIONS (applied to both the worker and coordinator command lines), NITRO_WORKER_OPTIONS (applied only to the worker command line), and NITRO_COORD_OPTIONS (applied only to the coordinator command line). See 4.2 Submit a Nitro Job to a Scheduler.
3.1.2 Additional Configuration
All of the scripts have a line setting the "NITRO" script variable to the Nitro default installation location.
If you installed Nitro to a directory other than the default /opt/nitro/bin installation directory, you will need to change the launch scripts to run Nitro from your installation location.
For example, if you have installed Nitro on a shared file system called "/sharedfs/opt/nitro", then make the following change to your copy of the launch script.
change:
NITRO=/opt/nitro/bin/nitro
to:
NITRO=/sharedfs/opt/nitro/bin/nitro