

# Example SLURM job script to run multiple mpi

# Launch the symmetric application using ibrun.symm

# NODE1: 8 host tasks ( 0 - 7) : 2 MIC tasks ( 8 - 9) # The tasks will be allocated in consecutive order on the nodes # Each host MPI task will use 2 threads/task and each MIC MPI task # 2 MPI tasks on 2 MIC cards resulting in 20 total MPI tasks. # This will start 16 host MPI tasks spread across 2 nodes and # Set the number of mic threads per task(Default=30) # Set the number of host threads per task(Default=1) # Set the number of MPI TASKS per MIC(Default=4) # The number of host tasks is controlled by SLURM #SBATCH -A A-yourproject # Allocation name to charge job against # The next line is required if the user has more than one project #SBATCH -n 16 # Total number of mpi tasks requested #SBATCH -N 2 # Total number of nodes requested (16 cores/node) #SBATCH -p development # Submit to the 'normal' or 'development' queue #SBATCH -e symmetric_job.o%j # Name of stderr output file(%j expands to jobId) #SBATCH -o symmetric_job.o%j # Name of stdout output file(%j expands to jobId) # applications, (Host + MIC) or (MIC only) on TACC's # Example SLURM job script to run symmetric # process count from the "-N" and "-n" directives above. main.exe # Use ibrun only for MPI codes. Module load fftw3 # Load any necessary modules (these are examples) # necessary if you have multiple project accounts #SBATCH -A AB-01234 # class project/account code #SBATCH -n 32 # Total number of MPI tasks (if omitted, n=N) #SBATCH -N 2 # Number of nodes, not cores (16 cores/node) #SBATCH -e myjob.%j.err # stderr skip to combine stdout and stderr #SBATCH -o myjob.%j.out # stdout %j expands to jobid # This script requests 2 nodes and all 16 cores/node Skip to Content User Portal TACC User Portal Stampede User Guide Sign In
