Makefile 827 Bytes
Newer Older
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
# Makefile

include ../maketest.inc

default: title description all

all: prepare_inputs run 

prepare_inputs: 
	bash prepare_inputs.sh

run: pw wstat wfreq westpp

pw:
	${PARA_PREFIX} ${BINDIR}/pw.x -i pw.in > pw.out
	tail -5 pw.out
wstat:
	${PARA_PREFIX} ${BINDIR}/wstat.x -nimage ${NIMAGE} -i wstat.in > wstat.out
	tail -5 wstat.out
wfreq:
	${PARA_PREFIX} ${BINDIR}/wfreq.x -nimage ${NIMAGE} -i wfreq.in > wfreq.out
	tail -5 wfreq.out
westpp:
	${PARA_PREFIX} ${BINDIR}/westpp.x -nimage ${NIMAGE} -i westpp.in > westpp.out
	tail -5 westpp.out

clean:
	- /bin/rm -rf *out *in *upf *tab *restart *save >& /dev/null

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

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