Difference between revisions of "MOOSE Job Scripts"
Jump to navigation
Jump to search
(Created page with "===Slurm Job Script=== This is an example of a slurm script: <source lang=bash> #!/bin/sh #SBATCH --job-name=moose #Job name #SBATCH --nodes=1...") |
Moskalenko (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Back to [[MOOSE_Configuration]] | ||
===Slurm Job Script=== | ===Slurm Job Script=== | ||
This is an example of a slurm script: | This is an example of a slurm script: | ||
− | < | + | <pre> |
#!/bin/sh | #!/bin/sh | ||
#SBATCH --job-name=moose #Job name | #SBATCH --job-name=moose #Job name | ||
Line 18: | Line 19: | ||
srun --mpi=pmix_v3 ~/projects/moose/modules/combined-opt -i moose_input_file.i | srun --mpi=pmix_v3 ~/projects/moose/modules/combined-opt -i moose_input_file.i | ||
− | </ | + | </pre> |
Revision as of 21:18, 2 August 2021
Back to MOOSE_Configuration
Slurm Job Script
This is an example of a slurm script:
#!/bin/sh #SBATCH --job-name=moose #Job name #SBATCH --nodes=1 #Number of nodes (servers, 32 proc/node) #SBATCH --ntasks=16 #Number of tasks/MPI RankS #SBATCH --ntasks-per-node=16 #Tasks per node #SBATCH --ntasks-per-socket=8 #Tasks per socket #SBATCH --cpus-per-task=1 #Number of CPU per task #SBATCH --mem-per-cpu=3600mb #Memory (120 gig/server) #SBATCH --distribution=cyclic:cyclic #Distribute tasks cyclically #SBATCH --time=12:00:00 #Walltime days-hh:mm:ss #SBATCH --output=moose-%j.out #Output and error log #SBATCH --mail-type=END,FAIL #When to email user #SBATCH --mail-user=your-email@ufl.edu #Email address to send mail to #SBATCH --account=michael.tonks #Allocation group name, add -b for burst job srun --mpi=pmix_v3 ~/projects/moose/modules/combined-opt -i moose_input_file.i