Difference between revisions of "MOOSE Job Scripts"

From UFRC
Jump to navigation Jump to search
 
Line 16: 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=michael.tonks          #Allocation group name, add -b for burst job
+
#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>
 
</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