source: src/Fragmentation/Automation/Makefile.am@ af9b9ff

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since af9b9ff was af9b9ff, checked in by Frederik Heber <heber@…>, 12 years ago

Controller now also uses boost::program_options to parse command line options.

  • also we now cleanly check whether each command has its required arguments before making any connections to the server. Hence, nothing can be lost.
  • TESTFIX: Changed regression tests due to changed controller calling signature.
  • TESTFIX: regression test Fragmenation/Automation mpqc-jobs uses removeall instead of giving kill.
  • Property mode set to 100644
File size: 6.4 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4INCLUDES = -I$(top_srcdir)/LinearAlgebra/src -I$(top_srcdir)/src
5
6MOSTLYCLEANFILES =
7bin_PROGRAMS =
8TESTS =
9check_PROGRAMS =
10noinst_PROGRAMS =
11noinst_LTLIBRARIES =
12
13# PLEASE adhere to the alphabetical ordering in this Makefile!
14# Also indentation by a single tab
15
16FRAGMENTJOBSSOURCE = \
17 FragmentQueue.cpp \
18 JobId.cpp \
19 Jobs/FragmentJob.cpp \
20 Jobs/MPQCCommandJob.cpp \
21 Jobs/MPQCCommandJob_MPQCData.cpp \
22 Jobs/SystemCommandJob.cpp \
23 Results/FragmentResult.cpp
24
25FRAGMENTJOBSHEADER = \
26 FragmentQueue.hpp \
27 JobId.hpp \
28 Jobs/FragmentJob.hpp \
29 Jobs/MPQCCommandJob.hpp \
30 Jobs/MPQCCommandJob_MPQCData.hpp \
31 Jobs/SystemCommandJob.hpp \
32 Results/FragmentResult.hpp
33
34noinst_LTLIBRARIES += libMolecuilderFragmentJobs.la
35libMolecuilderFragmentJobs_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
36nobase_libMolecuilderFragmentJobs_la_include_HEADERS = $(FRAGMENTJOBSHEADER)
37libMolecuilderFragmentJobs_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
38libMolecuilderFragmentJobs_la_LDFLAGS = $(AM_LDFLAGS)
39libMolecuilderFragmentJobs_la_SOURCES = $(FRAGMENTJOBSSOURCE)
40libMolecuilderFragmentJobs_la_LIBADD = \
41 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
42 $(BOOST_IOSTREAMS_LDFLAGS) $(BOOST_IOSTREAMS_LIBS)
43
44FRAGMENTATIONOPERATIONSSOURCE = \
45 Operations/AsyncOperation.cpp \
46 Operations/OperationQueue.cpp \
47 Operations/SyncOperation.cpp \
48 Operations/Controllers/CheckResultsOperation.cpp \
49 Operations/Controllers/GetNextJobIdOperation.cpp \
50 Operations/Controllers/ReceiveResultsOperation.cpp \
51 Operations/Controllers/RemoveAllWorkerOperation.cpp \
52 Operations/Controllers/SendJobsOperation.cpp \
53 Operations/Controllers/ShutdownOperation.cpp \
54 Operations/Servers/SendJobToWorkerOperation.cpp \
55 Operations/Servers/ShutdownWorkerOperation.cpp \
56 Operations/Workers/EnrollInPoolOperation.cpp \
57 Operations/Workers/ObtainJobOperation.cpp \
58 Operations/Workers/RemoveFromPoolOperation.cpp \
59 Operations/Workers/SubmitResultOperation.cpp
60
61FRAGMENTATIONOPERATIONSHEADER = \
62 ControllerChoices.hpp \
63 Operations/AsyncOperation.hpp \
64 Operations/Operation.hpp \
65 Operations/OperationQueue.hpp \
66 Operations/SyncOperation.hpp \
67 Operations/Controllers/CheckResultsOperation.hpp \
68 Operations/Controllers/GetNextJobIdOperation.hpp \
69 Operations/Controllers/ReceiveResultsOperation.hpp \
70 Operations/Controllers/RemoveAllWorkerOperation.hpp \
71 Operations/Controllers/SendJobsOperation.hpp \
72 Operations/Controllers/ShutdownOperation.hpp \
73 Operations/Servers/SendJobToWorkerOperation.hpp \
74 Operations/Servers/ShutdownWorkerOperation.hpp \
75 Operations/Workers/EnrollInPoolOperation.hpp \
76 Operations/Workers/ObtainJobOperation.hpp \
77 Operations/Workers/RemoveFromPoolOperation.hpp \
78 Operations/Workers/SubmitResultOperation.hpp \
79 WorkerChoices.hpp
80
81noinst_LTLIBRARIES += libMolecuilderFragmentationOperations.la
82libMolecuilderFragmentationOperations_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
83nobase_libMolecuilderFragmentationOperations_la_include_HEADERS = $(FRAGMENTATIONOPERATIONSHEADER)
84libMolecuilderFragmentationOperations_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(BOOST_ASIO_DEBUG)
85libMolecuilderFragmentationOperations_la_SOURCES = $(FRAGMENTATIONOPERATIONSSOURCE)
86
87FRAGMENTATIONAUTOMATIONHELPERSOURCE = \
88 atexit.cpp \
89 GlobalJobId.cpp \
90 Listener.cpp \
91 WorkerAddress.cpp
92
93FRAGMENTATIONAUTOMATIONHELPERHEADER = \
94 atexit.hpp \
95 GlobalJobId.hpp \
96 Listener.hpp \
97 WorkerAddress.hpp
98
99noinst_LTLIBRARIES += libMolecuilderFragmentationAutomationHelper.la
100libMolecuilderFragmentationAutomationHelper_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
101nobase_libMolecuilderFragmentationAutomationHelper_la_include_HEADERS = $(FRAGMENTATIONAUTOMATIONHELPERHEADER)
102libMolecuilderFragmentationAutomationHelper_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
103libMolecuilderFragmentationAutomationHelper_la_SOURCES = $(FRAGMENTATIONAUTOMATIONHELPERSOURCE)
104
105include unittests/Makefile.am
106
107AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
108AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
109
110bin_PROGRAMS += Controller PoolWorker Server
111
112CONTROLLERSOURCE = \
113 FragmentController.cpp \
114 Operations/OperationRegistry.cpp
115
116CONTROLLERHEADER = \
117 Connection.hpp \
118 FragmentController.hpp \
119 Operations/OperationRegistry.hpp
120
121POOLWORKERSOURCE = \
122 Pool/PoolWorker.cpp
123
124POOLWORKERHEADER = \
125 Connection.hpp \
126 Pool/PoolWorker.hpp
127
128SERVERSOURCE = \
129 FragmentScheduler.cpp \
130 Pool/WorkerPool.cpp
131
132SERVERHEADER = \
133 Connection.hpp \
134 ControllerChoices.hpp \
135 FragmentScheduler.hpp \
136 Pool/WorkerPool.hpp
137
138Controller_SOURCES = $(CONTROLLERSOURCE) $(CONTROLLERHEADER) controller.cpp
139Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
140Controller_CXXFLAGS = $(AM_CPPFLAGS)
141Controller_LDADD = \
142 libMolecuilderFragmentationAutomationHelper.la \
143 libMolecuilderFragmentationOperations.la \
144 libMolecuilderFragmentJobs.la \
145 $(top_builddir)/src/libMolecuilderFragmentation.la \
146 $(top_builddir)/src/libMolecuilderHelpers.la \
147 $(BOOST_ASIO_LIBS) \
148 $(BOOST_SERIALIZATION_LIBS) \
149 $(BOOST_PROGRAM_OPTIONS_LIBS) \
150 $(BOOST_THREAD_LIBS) \
151 $(BOOST_SYSTEM_LIBS) \
152 ${CodePatterns_LIBS}
153
154PoolWorker_SOURCES = $(POOLWORKERSOURCE) $(POOLWORKERHEADER) poolworker.cpp
155PoolWorker_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
156PoolWorker_CXXFLAGS = $(AM_CPPFLAGS) $(BOOST_ASIO_DEBUG)
157PoolWorker_LDADD = \
158 libMolecuilderFragmentationAutomationHelper.la \
159 libMolecuilderFragmentationOperations.la \
160 libMolecuilderFragmentJobs.la \
161 $(BOOST_ASIO_LIBS) \
162 $(BOOST_SERIALIZATION_LIBS) \
163 $(BOOST_PROGRAM_OPTIONS_LIBS) \
164 $(BOOST_THREAD_LIBS) \
165 $(BOOST_SYSTEM_LIBS) \
166 ${CodePatterns_LIBS}
167
168Server_SOURCES = $(SERVERSOURCE) $(SERVERHEADER) Server.cpp
169Server_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
170Server_CXXFLAGS = $(AM_CPPFLAGS)
171Server_LDADD = \
172 libMolecuilderFragmentationAutomationHelper.la \
173 libMolecuilderFragmentationOperations.la \
174 libMolecuilderFragmentJobs.la \
175 $(BOOST_ASIO_LIBS) \
176 $(BOOST_SERIALIZATION_LIBS) \
177 $(BOOST_PROGRAM_OPTIONS_LIBS) \
178 $(BOOST_THREAD_LIBS) \
179 $(BOOST_SYSTEM_LIBS) \
180 ${CodePatterns_LIBS}
181
Note: See TracBrowser for help on using the repository browser.