1 | ### parsing mpqc
|
---|
2 |
|
---|
3 | AT_SETUP([Parser - loading empty mpqc file])
|
---|
4 | AT_KEYWORDS([parser,mpqc,emptyfile])
|
---|
5 |
|
---|
6 | file=empty.in
|
---|
7 | AT_CHECK([/bin/cp ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/empty.in $file], 0, [ignore], [ignore])
|
---|
8 | AT_CHECK([chmod u+w $file], 0)
|
---|
9 | AT_CHECK([../../molecuilder -i $file -o mpqc], 0, [ignore], [ignore])
|
---|
10 |
|
---|
11 | AT_CLEANUP
|
---|
12 |
|
---|
13 |
|
---|
14 | AT_SETUP([Parser - loading mpqc file])
|
---|
15 | AT_KEYWORDS([parser,mpqc])
|
---|
16 |
|
---|
17 | file=testCLHF.in
|
---|
18 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testCLHF.in $file], 0, [ignore], [ignore])
|
---|
19 | AT_CHECK([chmod u+w $file], 0)
|
---|
20 | AT_CHECK([../../molecuilder -i $file] -o mpqc, 0, [ignore], [ignore])
|
---|
21 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testCLHF.in], 0, [ignore], [ignore])
|
---|
22 |
|
---|
23 | file=testCLKS.in
|
---|
24 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testCLKS.in $file], 0, [ignore], [ignore])
|
---|
25 | AT_CHECK([chmod u+w $file], 0)
|
---|
26 | AT_CHECK([../../molecuilder -i $file] -o mpqc, 0, [ignore], [ignore])
|
---|
27 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testCLKS.in], 0, [ignore], [ignore])
|
---|
28 |
|
---|
29 | file=testMBPT2.in
|
---|
30 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testMBPT2.in $file], 0, [ignore], [ignore])
|
---|
31 | AT_CHECK([chmod u+w $file], 0)
|
---|
32 | AT_CHECK([../../molecuilder -i $file] -o mpqc, 0, [ignore], [ignore])
|
---|
33 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testMBPT2.in], 0, [ignore], [ignore])
|
---|
34 |
|
---|
35 | file=testMBPT2_R12.in
|
---|
36 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/testMBPT2_R12.in $file], 0, [ignore], [ignore])
|
---|
37 | AT_CHECK([chmod u+w $file], 0)
|
---|
38 | AT_CHECK([../../molecuilder -i $file] -o mpqc, 0, [ignore], [ignore])
|
---|
39 | AT_CHECK([diff -I '%.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/testMBPT2_R12.in], 0, [ignore], [ignore])
|
---|
40 |
|
---|
41 | AT_CLEANUP
|
---|
42 |
|
---|
43 |
|
---|
44 | AT_SETUP([Parser - storing mpqc from loaded xyz file])
|
---|
45 | AT_KEYWORDS([parser,mpqc,xyz])
|
---|
46 |
|
---|
47 | AT_CHECK([../../molecuilder -i test.xyz -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/test.xyz], 0, [ignore], [ignore])
|
---|
48 | AT_CHECK([file=test.in; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/test.in], 0, [ignore], [ignore])
|
---|
49 |
|
---|
50 | AT_CLEANUP
|
---|
51 |
|
---|
52 |
|
---|
53 | AT_SETUP([Parser - saving mpqc (from parsed xyz) file])
|
---|
54 | AT_KEYWORDS([parser,mpqc,xyz])
|
---|
55 |
|
---|
56 | AT_CHECK([../../molecuilder -i test.xyz -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/test.xyz --output store.in], 0, [ignore], [ignore])
|
---|
57 | AT_CHECK([diff store.in ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/test.in], 0, [ignore], [ignore])
|
---|
58 |
|
---|
59 | AT_CLEANUP
|
---|