Difference between revisions of "Espresso SLURM"
Jump to navigation
Jump to search
Sharath1231 (talk | contribs) (Created page with "Back to Espresso page ==Serial Submission Script== <source lang=bash> #!/bin/bash #SBATCH --job-name=<JOBNAME> #SBATCH --mail-user=<EMAIL> #SBATCH --mail-type=FA...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | Back to [[ | + | Back to [[ESPRESSO|Espresso page]] |
+ | [[Category:Software]] | ||
==Serial Submission Script== | ==Serial Submission Script== | ||
<source lang=bash> | <source lang=bash> |
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"