Difference between revisions of "Espresso SLURM"
Jump to navigation
Jump to search
Moskalenko (talk | contribs) |
|||
Line 1: | Line 1: | ||
− | Back to [[ | + | Back to [[ESPRESSO|Espresso page]] |
[[Category:Software]] | [[Category:Software]] | ||
==Serial Submission Script== | ==Serial Submission Script== |
Latest revision as of 21:20, 8 November 2022
Back to Espresso page
Serial Submission Script
#!/bin/bash
#SBATCH --job-name=<JOBNAME>
#SBATCH --mail-user=<EMAIL>
#SBATCH --mail-type=FAIL,END
#SBATCH --output <my_job-%j.out>
#SBATCH --error <my_job-%j.err>
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --mem-per-cpu=2G
#SBATCH --time=01:00:00
#SBATCH --account=<GROUP>
#SBATCH --array=<BEGIN-END>
module load intel/2016.0.109 espresso/5.3.0
echo $PBS_O_WORKDIR
cd $PBS_O_WORKDIR
pw.x -i "input.in" -o "output.out"
Parallel Submission Script
#!/bin/bash
#SBATCH --job-name=<JOBNAME>
#SBATCH --mail-user=<EMAIL>
#SBATCH --mail-type=FAIL,END
#SBATCH --output <my_job-%j.out>
#SBATCH --error <my_job-%j.err>
#SBATCH --nodes=1
#SBATCH --ntasks=<number of tasks>
#SBATCH --mem-per-cpu=2G
#SBATCH --time=01:00:00
#SBATCH --account=<GROUP>
#SBATCH --array=<BEGIN-END>
module load intel/2016.0.109 openmpi/1.10.2 espresso/5.3.0
echo $PBS_O_WORKDIR
cd $PBS_O_WORKDIR
mpiexec pw.x -i "input.in" -o "output.out"