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...") |
|||
(One intermediate revision by one other user not shown) | |||
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 15: | Line 16: | ||
#SBATCH --mail-type=END,FAIL #When to email user | #SBATCH --mail-type=END,FAIL #When to email user | ||
#SBATCH --mail-user=your-email@ufl.edu #Email address to send mail to | #SBATCH --mail-user=your-email@ufl.edu #Email address to send mail to | ||
− | #SBATCH --account= | + | #SBATCH --account=group_name #Allocation group name, |
+ | #SBATCH --qos=group_name #Add -b for burst job | ||
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> |
Latest revision as of 15:22, 9 February 2023
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=group_name #Allocation group name, #SBATCH --qos=group_name #Add -b for burst job srun --mpi=pmix_v3 ~/projects/moose/modules/combined-opt -i moose_input_file.i