- Timestamp:
- Mar 2, 2017, 10:26:58 PM (9 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.0, Candidate_v1.6.1, Candidate_v1.7.0, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_ChronosMutex, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, GeometryObjects, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, PartialCharges_OrthogonalSummation, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, Ubuntu_1604_changes, stable
- Children:
- 1cde364
- Parents:
- d8a1ff
- git-author:
- Frederik Heber <heber@…> (03/02/17 13:53:14)
- git-committer:
- Frederik Heber <heber@…> (03/02/17 22:26:58)
- Location:
- tests
- Files:
-
- 22 edited
-
Calculations/testsuite-calculations-jobmarket-1_2-dimethoxyethane.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-1_2-dimethylbenzene.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-2-methylcyclohexanone.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-N_N-dimethylacetamide.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-anthracene.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-benzene.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-cholesterol.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-coronene.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-cycloheptane.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-dimethyl_bromomalonate.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-glucose.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-heptan.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-isoleucine.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-mpqc.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-naphthalene.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-neohexane.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-phenanthrene.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-proline.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-putrescine.at (modified) (3 diffs)
-
Calculations/testsuite-calculations-jobmarket-tartaric_acid.at (modified) (3 diffs)
-
Examples/PartialChargeFitting/testsuite-examples-partialchargefitting-h2o.at (modified) (1 diff)
-
Examples/Simple/testsuite-examples-simple-h2o.at (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/Calculations/testsuite-calculations-jobmarket-1_2-dimethoxyethane.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=1_2-dimethoxyethane … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-1_2-dimethylbenzene.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=1_2-dimethylbenzene … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-2-methylcyclohexanone.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=2-methylcyclohexanone … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-N_N-dimethylacetamide.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=N_N-dimethylacetamide … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-anthracene.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=anthracene … … 61 61 --analyse-fragment-results \ 62 62 --fragment-prefix $FILENAME], 63 0, [stdout], [stderr], [kill $ server_pid $worker_pid])64 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])63 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 64 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 65 65 66 66 # send removeall to server such that all workers shutdown 67 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])67 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 68 69 69 # shutdown controller socket 70 70 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 71 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 72 72 73 73 # check that worker is truly down 74 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])74 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 75 75 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 76 76 -
tests/Calculations/testsuite-calculations-jobmarket-benzene.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=benzene … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-cholesterol.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=cholesterol … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-coronene.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=coronene … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-cycloheptane.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=cycloheptane … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-dimethyl_bromomalonate.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=dimethyl_bromomalonate … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-glucose.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=glucose … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-heptan.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=heptan … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-isoleucine.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=isoleucine … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-mpqc.at
rd8a1ff r4e0e08 26 26 27 27 # start service in background 28 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &28 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 29 29 server_pid=$! 30 30 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 32 32 33 33 # enlist a worker to work on jobs 34 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &34 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 35 35 worker_pid=$! 36 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])36 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 37 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 38 39 39 file=input.in … … 46 46 ignore, 47 47 ignore) 48 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])48 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 49 49 50 50 # send removeall to server such that all workers shutdown 51 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])51 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 52 52 53 53 # shutdown controller socket 54 54 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 55 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])55 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 56 56 57 57 # check that worker is truly down 58 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])58 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 59 59 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 60 60 -
tests/Calculations/testsuite-calculations-jobmarket-naphthalene.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=naphthalene … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-neohexane.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=neohexane … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-phenanthrene.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=phenanthrene … … 60 60 --analyse-fragment-results \ 61 61 --fragment-prefix $FILENAME], 62 0, [stdout], [stderr], [kill $ server_pid $worker_pid])63 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])62 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 63 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 64 64 65 65 # send removeall to server such that all workers shutdown 66 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])66 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 67 67 68 68 # shutdown controller socket 69 69 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 70 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])70 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 71 71 72 72 # check that worker is truly down 73 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])73 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 74 74 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 75 75 -
tests/Calculations/testsuite-calculations-jobmarket-proline.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=proline … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-putrescine.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=putrescine … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Calculations/testsuite-calculations-jobmarket-tartaric_acid.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) … … 33 33 34 34 # enlist a worker to work on jobs 35 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &35 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 36 36 worker_pid=$! 37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])37 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 38 AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 39 39 40 40 MOL=tartaric_acid … … 58 58 --analyse-fragment-results \ 59 59 --fragment-prefix $FILENAME], 60 0, [stdout], [stderr], [kill $ server_pid $worker_pid])61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $ server_pid $worker_pid])60 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 61 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}' >energy_stdout], 0, [stdout], [stderr], [kill $worker_pid $server_pid]) 62 62 63 63 # send removeall to server such that all workers shutdown 64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])64 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 65 65 66 66 # shutdown controller socket 67 67 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])68 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 69 69 70 70 # check that worker is truly down 71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])71 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 72 72 AT_CHECK([kill $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 73 73 -
tests/Examples/PartialChargeFitting/testsuite-examples-partialchargefitting-h2o.at
rd8a1ff r4e0e08 34 34 ../../molecuilder_mpqc +v 5 ++signal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &/ 35 35 worker_pid=$! 36 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])36 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 37 37 38 38 # prepare session script 39 AT_CHECK([sed -e "s#ABS_TOP_SRCDIR#${abs_top_srcdir}#" -e "s#CONTROLLERPORT#${CONTROLLERPORT}#" ${abs_top_srcdir}/tests/Examples/PartialChargeFitting/pre/session.py >session.py], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])39 AT_CHECK([sed -e "s#ABS_TOP_SRCDIR#${abs_top_srcdir}#" -e "s#CONTROLLERPORT#${CONTROLLERPORT}#" ${abs_top_srcdir}/tests/Examples/PartialChargeFitting/pre/session.py >session.py], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 40 40 41 41 # use molecuilder to add jobs, wait for their completion and obtain results 42 AT_CHECK([../../molecuilder --load-session session.py], 0, [stdout], [ignore], [kill $server_pid $worker_pid]) 43 AT_CHECK([diff water.particles ${abs_top_srcdir}/tests/Examples/PartialChargeFitting/post/water.particles], 0, [ignore], [ignore], [kill $server_pid $worker_pid]) 42 AT_CHECK([../../molecuilder --load-session session.py], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 44 43 45 # removeall to remove workers, then shutdown for server itself 46 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [stdout], [ignore], [kill $server_pid $worker_pid]) 47 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid]) 44 # send removeall to server such that all workers shutdown 45 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 46 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 47 AT_CHECK([kill -s 0 $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 48 48 49 # check that server is truely down 50 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $server_pid $worker_pid]) 51 AT_CHECK([kill $server_pid $worker_pid], 1, [ignore], [ignore]) 49 # check results 50 AT_CHECK([diff water.particles ${abs_top_srcdir}/tests/Examples/PartialChargeFitting/post/water.particles], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 51 52 # shutdown for server 53 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 54 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 55 AT_CHECK([kill -s 0 $server_pid], 1, [ignore], [ignore]) 52 56 53 57 AT_CLEANUP -
tests/Examples/Simple/testsuite-examples-simple-h2o.at
rd8a1ff r4e0e08 27 27 28 28 # start service in background 29 ${AUTOTEST_PATH}/molecuilder_server -- signal 2 --workerport $WORKERPORT --controllerport $CONTROLLERPORT &29 ${AUTOTEST_PATH}/molecuilder_server --workerport $WORKERPORT --controllerport $CONTROLLERPORT & 30 30 server_pid=$! 31 31 AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid]) 32 32 33 33 # enlist a worker to work on jobs 34 ../../molecuilder_mpqc +v 5 ++s ignal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &34 ../../molecuilder_mpqc +v 5 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT & 35 35 worker_pid=$! 36 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])36 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 37 37 38 38 # use molecuilder to add jobs, wait for their completion and obtain results … … 46 46 --server-address 127.0.0.1 \ 47 47 --server-port $CONTROLLERPORT \ 48 --DoLongrange 0], 0, [stdout], [ignore], [kill $ server_pid $worker_pid])49 AT_CHECK([fgrep "There are 1 fragments" stdout], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])50 AT_CHECK([fgrep "Energy: -75.6976" stdout], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])51 AT_CHECK([egrep 'Forces: .-4.64797e-16,1.53012e-17,0.0915748.; .-0.0764258,4.19204e-18,-0.0457874.; .0.0764258,-1.94932e-17,-0.0457874.' stdout], 0, [ignore], [ignore], [kill $ server_pid $worker_pid])48 --DoLongrange 0], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 49 AT_CHECK([fgrep "There are 1 fragments" stdout], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 50 AT_CHECK([fgrep "Energy: -75.6976" stdout], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 51 AT_CHECK([egrep 'Forces: .-4.64797e-16,1.53012e-17,0.0915748.; .-0.0764258,4.19204e-18,-0.0457874.; .0.0764258,-1.94932e-17,-0.0457874.' stdout], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 52 52 53 # removeall to remove workers, then shutdown for server itself 54 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [stdout], [ignore], [kill $server_pid $worker_pid]) 55 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid]) 53 # send removeall to server such that all workers shutdown 54 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 55 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 56 AT_CHECK([kill -s 0 $worker_pid], 1, [ignore], [ignore], [kill $server_pid]) 56 57 57 # check that server is truely down 58 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $server_pid $worker_pid]) 59 AT_CHECK([kill $server_pid $worker_pid], 1, [ignore], [ignore]) 58 # shutdown for server 59 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $worker_pid $server_pid]) 60 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 61 AT_CHECK([kill -s 0 $server_pid], 1, [ignore], [ignore]) 60 62 61 63 AT_CLEANUP
Note:
See TracChangeset
for help on using the changeset viewer.
