-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjob.gpu.pbs
44 lines (40 loc) · 1.89 KB
/
job.gpu.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
#!/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 QE-GPU
#PBS -j oe
#PBS -l nodes=1
#PBS -l ppn=8
#PBS -l walltime=00:01:00:00
#PBS -q GOF
##PBS -m abe
##PBS -M [email protected]
#
## Uncomment the line below and put a desired project name, e.g.:
## "seminar-default" or "john-project"
## 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 load espresso/7.4-cuda-12.4-cc-70
export OMP_NUM_THREADS=8
# go to the job working directory
cd $PBS_O_WORKDIR
mpirun -np 1 pw.x -npool 1 -ndiag 1 -in pw.cuo.scf.in > pw.cuo.gpu.scf.out