Makefile 848 Bytes
Newer Older
1
2
3
4
5
6
# Makefile

include ../maketest.inc

default: title description all

Victor Yu's avatar
Victor Yu committed
7
all: prepare_inputs run
8

Victor Yu's avatar
Victor Yu committed
9
prepare_inputs:
10
11
12
13
14
	bash prepare_inputs.sh

run: pw wstat wfreq westpp

pw:
Victor Yu's avatar
Victor Yu committed
15
16
17
18
19
20
21
22
23
24
	${PARA_PREFIX_QE} ${BINDIR}/pw.x -i pw.in > pw.out 2> pw.err

wstat: pw
	${PARA_PREFIX} ${BINDIR}/wstat.x -nimage ${NIMAGE} -i wstat.in > wstat.out 2> wstat.err

wfreq: wstat
	${PARA_PREFIX} ${BINDIR}/wfreq.x -nimage ${NIMAGE} -i wfreq.in > wfreq.out 2> wfreq.err

westpp: wfreq
	${PARA_PREFIX} ${BINDIR}/westpp.x -nimage ${NIMAGE} -i westpp.in > westpp.out 2> westpp.err
25
26

clean:
Victor Yu's avatar
Victor Yu committed
27
	- /bin/rm -rf *out *err *in *xml *upf *tab *restart *save *wfc* CRASH > /dev/null 2>&1
28
29
30
31
32
33
34
35
36
37
38
39

title:
	@echo "               "
	@echo "###############"
	@echo "### test005 ###"
	@echo "###############"
	@echo "               "

description:
	@echo " "
	@echo "SiH4 molecule gamma_only + westpp"
	@echo " "