Skip to content

Commit 1ba9220

Browse files
author
Han Lin Mai
committedOct 1, 2024
example_submission_scripts
1 parent ea84b24 commit 1ba9220

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
#PBS -l walltime=1:00:00
4+
#PBS -l mem=10gb
5+
#PBS -l ncpus=8
6+
#PBS -l software=vasp
7+
#PBS -l wd
8+
9+
# Load module, always specify version number.
10+
module load vasp/5.4.4
11+
12+
# Must include `#PBS -l storage=scratch/ab12+gdata/yz98` if the job
13+
# needs access to `/scratch/ab12/` and `/g/data/yz98/`
14+
15+
mpirun vasp_std >vasp.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
#PBS -q gpuvolta
4+
#PBS -l walltime=10:00:00
5+
#PBS -l ncpus=48
6+
#PBS -l ngpus=4
7+
#PBS -l mem=160GB
8+
#PBS -l jobfs=1GB
9+
#PBS -l wd
10+
11+
# Load module, always specify version number.
12+
module load vasp/6.2.1
13+
14+
# Must include `#PBS -l storage=scratch/ab12+gdata/yz98` if the job
15+
# needs access to `/scratch/ab12/` and `/g/data/yz98/`. Details on:
16+
# https://opus.nci.org.au/display/Help/PBS+Directives+Explained
17+
18+
mpirun -np $PBS_NGPUS --map-by ppr:1:numa vasp_std-gpu >vasp.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash -l
2+
##SBATCH --nodes=1
3+
#SBATCH --ntasks=32
4+
#SBATCH --ntasks-per-node=32
5+
#SBATCH --cpus-per-task=1
6+
#SBATCH --account=pawsey0380
7+
#SBATCH --job-name=TSR_RATTLE_struct_1871_2_Mn_8.sh
8+
#SBATCH --time=4:00:00
9+
#SBATCH --partition=work
10+
#SBATCH --export=NONE
11+
#SBATCH --mem=32GB
12+
##SBATCH --exclusive
13+
module load vasp/5.4.4
14+
cd "$PBS_O_WORKDIR"
15+
ulimit -s unlimited
16+
run_cmd="srun --export=ALL -N 1 -n 32"
17+
$run_cmd vasp_std &> vasp.log

0 commit comments

Comments
 (0)