This HTML automatically generated with rman for NEMO
Table of Contents

Name

sbatch_nemo.sh - simple sbatch frontend for NEMO scripts

Synopsis


sbatch_nemo.sh -r runfile args ...
sbatch_nemo.sh -x scriptfile args ... 

Description

sbatch_nemo.sh is a simple frontend that can make it easier to submit an existing script, or series of commands from a run-file, to a SLURM based system using sbatch(1) .

Some flexibility is allowed by using a local sbatch_nemo.rc parameter file in which the following parameters can be modified (the defaults are listed here):

#                                        probably don’t change this
runid=$$
#                                        prefix to run
prefix="/usr/bin/time xvfb-run -a"
#                                        sbatch run file
run=run_$runid.sh
#                                        max sbatch time 
tmax=04:00:00
#                                        max memory used
mem=16G

Caveat

The current version only allows for single core codes.

Examples

Here is a single explicit NEMO command

  % sbatch_nemo.sh -x $NEMO/scripts/csh/mkmh97.sh run=run_bench yapp=ps
  run_472742.sh      - use scancel JOBID to kill this one, JOBID is:
  Submitted batch job 40887
This will have created a file run_472742.sh that was submitted with sbatch(1) , and a logfile slurm-40887-run_472742.sh.out

This benchmark took:

   zaratan    9.50user 0.22system 0:13.38elapsed 72%CPU   (on scratch) [AMD EPYC
7763]
   t480        13.07user 0.19system 0:13.17elapsed 100%CPU [i7-8550U]
   dl5420    7.54user 0.09system 0:07.64elapsed 99%CPU [i7-1185G7]

See Also

sbatch(1) , slurm(1)

Author

Peter Teuben

Update History


21-sep-2022    man written        PJT


Table of Contents