...
| Code Block |
|---|
| language | bash |
|---|
| title | Create batch submission script for simple commands |
|---|
|
launcher_creator.py -j simple.cmds -n simple -t 00:01:00 -a OTH21164 -q developmentr core-ngs-class-0603 |
You should see output something like the following, and you should see a simple.slurm batch submission file in the current directory.
| Code Block |
|---|
Project simple.
Using job file simple.cmds.
Using developmentnormal queue.
For 00:01:00 time.
Using OTH21164 allocation.
Not sending start/stop email.
Launcher successfully created. Type "sbatch simple.slurm" to queue your job. |
...
| Code Block |
|---|
| language | bash |
|---|
| title | Submit simple job to batch queue |
|---|
|
sbatch simple.slurm
showq -u
# Output looks something like this:
-------------------------------------------------------------
Welcome to the Lonestar6 Supercomputer
-------------------------------------------------------------
--> Verifying valid submit host (login2)...OK
--> Verifying valid jobname...OK
--> Verifying valid ssh keys...OK
--> Verifying access to desired queue (developmentnormal)...OK
--> Checking available allocation (OTH21164)...OK
Submitted batch job 2411919
|
...
| Code Block |
|---|
| language | bash |
|---|
| title | Create batch submission script for simple commands |
|---|
|
launcher_creator.py -j simple.cmds -n simple -t 00:01:00 -a OTH21164 -q developmentr core-ngs-class-0603 |
- The name of your commands file is given with the -j simple.cmds option.
- Your desired job name is given with theĀ -n simple option.
- The <job_name> (hereĀ simple) is the job name you will see in your queue.
- By default a corresponding <job_name>.slurm batch file is created for you.
- It contains the name of the commands file that the batch system will execute.
...
| Code Block |
|---|
| language | bash |
|---|
| title | Create batch submission script for wayness example |
|---|
|
launcher_creator.py -j wayness.cmds -n wayness -w 4 -t 00:02:00 -a OTH21164 -q developmentr core-ngs-class-0603
sbatch wayness.slurm
showq -u |
...