2
# Makefile for SIESTA tests
6
# make --- Run all tests
7
# make tests=fe_broyden --- Run a single test
8
# make batch --- Dispatch to batch system
10
# (needs extra configuration)
12
# By default, the version of SIESTA used is the one in Src.
15
# make SIESTA=/some/path/to/siesta-program ....
18
# See also test.mk for details, and the scripts in Scripts for
19
# examples of other options for batch processing.
25
tests= h2o mgco3 md_npr si2x1h zmatrix born var_cell
29
@for i in ${tests} ; do \
30
(cd $$i ; make completed) ; \
34
@for i in ${tests} ; do \
35
(cd $$i ; make xmlcheck) ; \
39
@for i in ${tests} ; do \
40
(qsub $(HOME)/bin/sge_run.sh "make tests=$$i") ; \
43
@for i in ${tests} ; do \
44
(cd $$i ; make clean) ; \
47
# Global comparisons with other Tests directories
50
@for i in ${tests} ;do \
51
echo "---------$$i start" ; \
52
diff $$i/$$i.out ${REFERENCE}/$$i/$$i.out ; \
53
echo "****---------$$i done" ; \
54
done | grep -v " timer: " | grep -v " elaps: " | grep -v " of run"
56
compare-xml: # Needs more work
57
for i in ${tests} ;do \
58
echo "---------$$i start of xml comparison" ; \
59
$(XML-TESTER) $$i/$$i.xml ${REFERENCE}/$$i/$$i.xml ; \
60
echo "****---------$$i xml comparison done" ; done