Submitting Jobs
In general, users prepare a script to be executed on LoBoS and then submit it with
the lobosq2 command.
A typical script includes
directives for the queue manager,
followed by unix level commands which are executed when the job is run.
A user's interaction with LoBoS will normally occur in the following sequence:
- User submits a job with the lobosq2 command
- A file is created in the current directory with the form username.yymmddhhmmss
- The job file is then copied (rcp) to the master nodes and scheduled.
- When the job begins execution the file username.yymmddhhmmss.run will be
created.
- Output from the job begins to appear in username.yymmddhhmmss.log
- Upon completion or cancellation username.yymmddhhmmss.run is deleted.
The script inherits the following environment during execution:
- Execution occurs in the directory where the user issued the lobosq2 command
- Environment variables NODE0, NODE1,...NODEn which are assigned the symbolic name
(pe1,pe2 etc.) of the processors where the job is executing.
- All disk space requirements impact the user's local disk, unless the user specifies
use of temporary space on the master or compute nodes.
To Submit a job
Type the commands interactively:
lobosq2 sub <CR>
Enter the commands
<ctrl>-d
or redirect the input file directly:
lobosq2 sub < filename <CR>
To cancel a job
Type:
lobosq2 can username.yymmddhhmmss <CR>
To check on job status
Use the web-based Current Queue to monitor the job prior to or during execution.
Use the username.yymmddhhmmss.log file to monitor the job's output during execution
Type:
lobosq2 list <CR>