Makefile 761 Bytes
Newer Older
Marco Govoni's avatar
Marco Govoni committed
1
2
3
4
# Makefile

include ../maketest.inc

5
default: title description all
Marco Govoni's avatar
Marco Govoni committed
6

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

Victor Yu's avatar
Victor Yu committed
9
prepare_inputs:
Marco Govoni's avatar
Marco Govoni committed
10
	bash prepare_inputs.sh
Marco Govoni's avatar
Marco Govoni committed
11

Victor Yu's avatar
Victor Yu committed
12
13
14
15
16
17
run: pw wstat wfreq

pw:
	${PARA_PREFIX_QE} ${BINDIR}/pw.x -i pw.in > pw.out 2> pw.err

wstat: pw
18
	${PARA_PREFIX} ${BINDIR}/wstat.x -nimage ${NIMAGE} -nband ${NBAND} -i wstat.in > wstat.out 2> wstat.err
Victor Yu's avatar
Victor Yu committed
19
20
21

wfreq: wstat
	${PARA_PREFIX} ${BINDIR}/wfreq.x -nimage ${NIMAGE} -i wfreq.in > wfreq.out 2> wfreq.err
Marco Govoni's avatar
Marco Govoni committed
22
23

clean:
Victor Yu's avatar
Victor Yu committed
24
	- /bin/rm -rf *out *err *in *xml *upf *tab *restart *save *wfc* CRASH > /dev/null 2>&1
Marco Govoni's avatar
Marco Govoni committed
25
26
27
28
29
30
31

title:
	@echo "               "
	@echo "###############"
	@echo "### test002 ###"
	@echo "###############"
	@echo "               "
32
33
34
35
36

description:
	@echo " "
	@echo "CH4 molecule gamma_only test n_read_from_file"
	@echo " "