maketest.inc 613 Bytes
Newer Older
Marco Govoni's avatar
Marco Govoni committed
1
2
3
#
# Parallel execution knobs
#
Marco Govoni's avatar
Marco Govoni committed
4

Victor Yu's avatar
Victor Yu committed
5
6
export NP=2 # Number of MPI processes
export NI=1 # Number of images
7
export NB=1 # Number of band groups
Victor Yu's avatar
Victor Yu committed
8
export NT=1 # Number of OpenMP threads
Marco Govoni's avatar
Marco Govoni committed
9
10

#
Victor Yu's avatar
Victor Yu committed
11
# Commands needed by the scripts
Marco Govoni's avatar
Marco Govoni committed
12
13
#

Victor Yu's avatar
Victor Yu committed
14
15
# Directory where the executables (*.x) are located
export BINDIR=../../../bin
Marco Govoni's avatar
Marco Govoni committed
16

Victor Yu's avatar
Victor Yu committed
17
18
19
20
21
# How to run West parallel executables with MPI
export PARA_PREFIX=mpirun -np ${NP}

# How to run QE parallel executables with MPI
export PARA_PREFIX_QE=mpirun -np 2
Marco Govoni's avatar
Marco Govoni committed
22
23

# How to download files
Marco Govoni's avatar
Marco Govoni committed
24
export WGET=wget -N -q
Marco Govoni's avatar
Marco Govoni committed
25
26

###### DO NOT TOUCH BELOW ######
Marco Govoni's avatar
Marco Govoni committed
27

Victor Yu's avatar
Victor Yu committed
28
export NIMAGE=${NI}
29
export NBAND=${NB}
Victor Yu's avatar
Victor Yu committed
30
export OMP_NUM_THREADS=${NT}
Marco Govoni's avatar
Marco Govoni committed
31