-
Notifications
You must be signed in to change notification settings - Fork 1
/
job.pbs
47 lines (40 loc) · 1.86 KB
/
job.pbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
# ---------------------------------------------------------------- #
# #
# Example job submission script for Mat3ra.com platform #
# #
# Shows resource manager directives for: #
# #
# 1. the name of the job (-N) #
# 2. the number of nodes to be used (-l nodes=) #
# 3. the number of processors per node (-l ppn=) #
# 4. the walltime in dd:hh:mm:ss format (-l walltime=) #
# 5. queue (-q) D, OR, OF, SR, SF #
# 6. merging standard output and error (-j oe) #
# 7. email about job abort, begin, end (-m abe) #
# 8. email address to use (-M) #
# #
# For more info visit https://docs.mat3ra.com/jobs-cli/overview/ #
# ---------------------------------------------------------------- #
#PBS -N VASP-TEST
#PBS -j oe
#PBS -l nodes=1
#PBS -l ppn=1
#PBS -l walltime=00:00:10:00
#PBS -q D
#PBS -m abe
#PBS -M [email protected]
#
## Uncomment the line below and put a desired project name, e.g.:
## "seminar-default", or "john-projectname".
## NOTE: this is required when using organizational accounts.
## more at https://docs.mat3ra.com/jobs-cli/batch-scripts/directives/
## The job will be charged to the corresponding project.
## When commented out, the default project for user is assumed.
##PBS -A <PROJECT_NAME_IN_ACCOUNTING_SYSTEM>
# load module
module add vasp/535-i-174-impi-044
# go to the job working directory
cd $PBS_O_WORKDIR
# run the calculation
mpirun -np $PBS_NP vasp > vasp.log