1*1eb45567SCameron Smithc_serial_test(linkProcsDir-sync 2*1eb45567SCameron Smith ln -snf ${CDIR}/2-procs_case-SyncIO-1 ${CDIR}/2-procs_case) 3*1eb45567SCameron Smithif(HAS_VALGRIND) 4*1eb45567SCameron Smith c_serial_test(resetNumStartValgrind-sync 5*1eb45567SCameron Smith cp ${CDIR}/numstart.dat ${CDIR}/2-procs_case/numstart.dat) 6*1eb45567SCameron Smith c_parallel_test(valgrind-sync 2 ${CDIR} 7*1eb45567SCameron Smith valgrind --leak-check=yes --log-file=cSyncValgrind.%p 8*1eb45567SCameron Smith ${PHASTA_BINARY_DIR}/bin/phastaC.exe) 9*1eb45567SCameron Smithendif(HAS_VALGRIND) 10*1eb45567SCameron Smithc_serial_test(resetNumStart-sync 11*1eb45567SCameron Smith cp ${CDIR}/numstart.dat ${CDIR}/2-procs_case/numstart.dat) 12*1eb45567SCameron Smithc_parallel_test( sync 2 ${CDIR} ${PHASTA_BINARY_DIR}/bin/phastaC.exe) 13*1eb45567SCameron Smithset(compareArgs 14*1eb45567SCameron Smith ${CDIR}/2-procs_case-SyncIO-1/ 15*1eb45567SCameron Smith ${CDIR}/2-procs_case-SyncIO-1_ref/ 16*1eb45567SCameron Smith 1 1e-6) 17*1eb45567SCameron Smithc_parallel_test(compare-sync 2 ${CDIR} 18*1eb45567SCameron Smith ${PHASTA_BINARY_DIR}/bin/checkphasta ${compareArgs}) 19*1eb45567SCameron Smithc_parallel_test(restart-sync 2 ${CDIR} ${PHASTA_BINARY_DIR}/bin/phastaC.exe) 20*1eb45567SCameron Smithc_parallel_test(compareRestart-sync 2 ${CDIR} 21*1eb45567SCameron Smith ${PHASTA_BINARY_DIR}/bin/checkphasta ${compareArgs}) 22*1eb45567SCameron Smith 23*1eb45567SCameron Smithc_serial_test(linkProcsDir-posix 24*1eb45567SCameron Smith ln -snf ${CDIR}/2-procs_case-Posix ${CDIR}/2-procs_case) 25*1eb45567SCameron Smithif(HAS_VALGRIND) 26*1eb45567SCameron Smith c_serial_test(resetNumStartValgrind-posix 27*1eb45567SCameron Smith cp ${CDIR}/numstart.dat ${CDIR}/2-procs_case/numstart.dat) 28*1eb45567SCameron Smith c_parallel_test(compressibleValgrind-posix 2 ${CDIR} 29*1eb45567SCameron Smith valgrind --leak-check=yes --log-file=cPosixValgrind.%p 30*1eb45567SCameron Smith ${PHASTA_BINARY_DIR}/bin/phastaC.exe) 31*1eb45567SCameron Smithendif(HAS_VALGRIND) 32*1eb45567SCameron Smithc_serial_test(resetNumStart-posix 33*1eb45567SCameron Smith cp ${CDIR}/numstart.dat ${CDIR}/2-procs_case/numstart.dat) 34*1eb45567SCameron Smithc_parallel_test(posix 2 ${CDIR} ${PHASTA_BINARY_DIR}/bin/phastaC.exe) 35*1eb45567SCameron Smithset(compareArgs 36*1eb45567SCameron Smith ${CDIR}/2-procs_case-Posix/ 37*1eb45567SCameron Smith ${CDIR}/2-procs_case-Posix_ref/ 38*1eb45567SCameron Smith 0 1e-6) 39*1eb45567SCameron Smithc_parallel_test(compare-posix 2 ${CDIR} 40*1eb45567SCameron Smith ${PHASTA_BINARY_DIR}/bin/checkphasta ${compareArgs}) 41*1eb45567SCameron Smithc_parallel_test(restart-posix 2 ${CDIR} ${PHASTA_BINARY_DIR}/bin/phastaC.exe) 42*1eb45567SCameron Smithc_parallel_test(compareRestart-posix 2 ${CDIR} 43*1eb45567SCameron Smith ${PHASTA_BINARY_DIR}/bin/checkphasta ${compareArgs}) 44*1eb45567SCameron Smithc_serial_test(unlinkProcsDir-compressible rm ${CDIR}/2-procs_case) 45