Difference between revisions of "Example SLURM-Parallel-Job-Scripts"

From UFRC
Jump to navigation Jump to search
(Redirected page to Sample SLURM Scripts#MPI job)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:SLURM]]
+
#REDIRECT [[Sample_SLURM_Scripts#MPI_job]]
{{HPG2}}
 
 
 
== LAMMPS (MPI only) ==
 
<source lang=bash>
 
#!/bin/bash
 
#SBATCH --job-name=LAMMPS-JOB
 
#SBATCH --output=LAMMPS.out
 
#SBATCH --error=LAMMPS.err
 
#SBATCH --mail-type=ALL
 
#SBATCH --mail-user=YOUR-EMAIL-ADDRESS
 
#SBATCH --time=01:00:00
 
#SBATCH --ntasks=12
 
#SBATCH --nodes=1
 
#SBATCH --mem-per-cpu=4000
 
#SBATCH --account=ufhpc
 
#SBATCH --qos=ufhpc
 
#
 
module load intel/2016.0.109
 
module load openmpi/1.10.2 
 
module load lammps/7Dec15
 
 
 
LAMMPS=lmp_ufhpc.openmpi
 
INPUT=test-input
 
 
 
mpiexec $LAMMPS  < $INPUT
 
 
 
</source>
 

Latest revision as of 22:00, 8 February 2017