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

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 fe95b7 was 41c1b7, checked in by Frederik Heber <heber@…>, 13 years ago

HUGE: Added PoolWorker, removed (Fragment)Worker, and rewrote parts of FragmentScheduler.

ToDo:

  • FragmentQueue needs a callback function when new jobs have been added.
  • WorkerPool needs a callback function when a worker is idle.
  • WorkerListener_t then does not need a callback anymore, just access to the pool who has then the callback.
  • so far PoolWorker quits after first job (and is also removed by Server).
  • Property mode set to 100644
File size: 5.7 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
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
44FRAGMENTATIONCOMMANDSSOURCE = \
45 Controller/Commands/CheckResultsOperation.cpp \
46 Controller/Commands/EnrollInPoolOperation.cpp \
47 Controller/Commands/GetNextJobIdOperation.cpp \
48 Controller/Commands/ObtainJobOperation.cpp \
49 Controller/Commands/Operation.cpp \
50 Controller/Commands/ReceiveJobsOperation.cpp \
51 Controller/Commands/SendJobToWorkerOperation.cpp \
52 Controller/Commands/SendResultsOperation.cpp \
53 Controller/Commands/ShutdownOperation.cpp \
54 Controller/Commands/SubmitResultOperation.cpp
55
56FRAGMENTATIONCOMMANDSHEADER = \
57 ControllerChoices.hpp \
58 Controller/Commands/CheckResultsOperation.hpp \
59 Controller/Commands/EnrollInPoolOperation.hpp \
60 Controller/Commands/GetNextJobIdOperation.hpp \
61 Controller/Commands/ObtainJobOperation.hpp \
62 Controller/Commands/Operation.hpp \
63 Controller/Commands/ReceiveJobsOperation.hpp \
64 Controller/Commands/SendJobToWorkerOperation.hpp \
65 Controller/Commands/SendResultsOperation.hpp \
66 Controller/Commands/ShutdownOperation.hpp \
67 Controller/Commands/SubmitResultOperation.hpp
68
69noinst_LTLIBRARIES += libMolecuilderFragmentationCommands.la
70libMolecuilderFragmentationCommands_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
71nobase_libMolecuilderFragmentationCommands_la_include_HEADERS = $(FRAGMENTATIONCOMMANDSHEADER)
72libMolecuilderFragmentationCommands_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(BOOST_ASIO_DEBUG)
73libMolecuilderFragmentationCommands_la_SOURCES = $(FRAGMENTATIONCOMMANDSSOURCE)
74
75FRAGMENTATIONAUTOMATIONHELPERSOURCE = \
76 atexit.cpp \
77 GlobalJobId.cpp \
78 Listener.cpp \
79 WorkerAddress.cpp
80
81FRAGMENTATIONAUTOMATIONHELPERHEADER = \
82 atexit.hpp \
83 GlobalJobId.hpp \
84 Listener.hpp \
85 WorkerAddress.hpp
86
87noinst_LTLIBRARIES += libMolecuilderFragmentationAutomationHelper.la
88libMolecuilderFragmentationAutomationHelper_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
89nobase_libMolecuilderFragmentationAutomationHelper_la_include_HEADERS = $(FRAGMENTATIONAUTOMATIONHELPERHEADER)
90libMolecuilderFragmentationAutomationHelper_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
91libMolecuilderFragmentationAutomationHelper_la_SOURCES = $(FRAGMENTATIONAUTOMATIONHELPERSOURCE)
92
93include unittests/Makefile.am
94
95AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
96AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
97
98bin_PROGRAMS += Controller PoolWorker Server
99
100CONTROLLERSOURCE = \
101 Controller/CommandRegistry.cpp \
102 Controller/FragmentController.cpp
103
104CONTROLLERHEADER = \
105 Connection.hpp \
106 Controller/CommandRegistry.hpp \
107 Controller/FragmentController.hpp
108
109POOLWORKERSOURCE = \
110 Pool/PoolWorker.cpp
111
112POOLWORKERHEADER = \
113 Connection.hpp \
114 Pool/PoolWorker.hpp
115
116SERVERSOURCE = \
117 FragmentScheduler.cpp \
118 Pool/WorkerPool.cpp
119
120SERVERHEADER = \
121 Connection.hpp \
122 ControllerChoices.hpp \
123 FragmentScheduler.hpp \
124 Pool/WorkerPool.hpp
125
126Controller_SOURCES = $(CONTROLLERSOURCE) $(CONTROLLERHEADER) controller.cpp
127Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
128Controller_CXXFLAGS = $(AM_CPPFLAGS)
129Controller_LDADD = \
130 libMolecuilderFragmentationAutomationHelper.la \
131 libMolecuilderFragmentationCommands.la \
132 libMolecuilderFragmentJobs.la \
133 $(BOOST_ASIO_LIBS) \
134 $(BOOST_SERIALIZATION_LIBS) \
135 $(BOOST_THREAD_LIBS) \
136 $(BOOST_SYSTEM_LIBS) \
137 ${CodePatterns_LIBS}
138
139PoolWorker_SOURCES = $(POOLWORKERSOURCE) $(POOLWORKERHEADER) poolworker.cpp
140PoolWorker_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
141PoolWorker_CXXFLAGS = $(AM_CPPFLAGS) $(BOOST_ASIO_DEBUG)
142PoolWorker_LDADD = \
143 libMolecuilderFragmentationAutomationHelper.la \
144 libMolecuilderFragmentationCommands.la \
145 libMolecuilderFragmentJobs.la \
146 $(BOOST_ASIO_LIBS) \
147 $(BOOST_SERIALIZATION_LIBS) \
148 $(BOOST_THREAD_LIBS) \
149 $(BOOST_SYSTEM_LIBS) \
150 ${CodePatterns_LIBS}
151
152Server_SOURCES = $(SERVERSOURCE) $(SERVERHEADER) Server.cpp
153Server_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
154Server_CXXFLAGS = $(AM_CPPFLAGS)
155Server_LDADD = \
156 libMolecuilderFragmentationAutomationHelper.la \
157 libMolecuilderFragmentationCommands.la \
158 libMolecuilderFragmentJobs.la \
159 $(BOOST_ASIO_LIBS) \
160 $(BOOST_SERIALIZATION_LIBS) \
161 $(BOOST_THREAD_LIBS) \
162 $(BOOST_SYSTEM_LIBS) \
163 ${CodePatterns_LIBS}
164
Note: See TracBrowser for help on using the repository browser.