Changeset 14de8e1
- Timestamp:
- Dec 14, 2012, 2:29:09 PM (12 years ago)
- Branches:
- 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
- Children:
- 7ace68
- Parents:
- 7ef5b9a
- git-author:
- Frederik Heber <heber@…> (04/13/12 16:41:58)
- git-committer:
- Frederik Heber <heber@…> (12/14/12 14:29:09)
- Location:
- src
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile.am
r7ef5b9a r14de8e1 305 305 306 306 307 molecuilder_CPPFLAGS = $(AM_CPPFLAGS) ${QT_CFLAGS} 308 #molecuilder_CXXFLAGS += -DNO_CACHING 309 molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) 307 molecuilder_CPPFLAGS = $(AM_CPPFLAGS) 308 #molecuilder_CPPFLAGS += -DNO_CACHING 309 molecuilder_LDFLAGS = \ 310 $(AM_LDFLAGS) \ 311 $(BOOST_FILESYSTEM_LDFLAGS) \ 312 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \ 313 $(BOOST_RANDOM_LDFLAGS) \ 314 $(BOOST_SYSTEM_LDFLAGS) \ 315 $(BOOST_THREAD_LDFLAGS) 310 316 molecuilder_SOURCES = \ 311 317 builder.cpp \ … … 313 319 builder_init.hpp \ 314 320 cleanUp.cpp \ 315 cleanUp.hpp 321 cleanUp.hpp \ 322 PythonScripting.hpp 316 323 molecuilder_LDADD = \ 317 324 libMolecuilderUI.la … … 328 335 $(BOOST_SYSTEM_LIBS) \ 329 336 $(BOOST_FILESYSTEM_LIBS) 337 338 if CONDPYTHON 339 molecuilder_SOURCES += \ 340 Actions/Action_impl_python.hpp \ 341 Actions/GlobalListOfActions.hpp 342 molecuilder_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR) 343 molecuilder_LDFLAGS += $(BOOST_PYTHON_LDFLAGS) 344 molecuilder_LDADD += \ 345 $(BOOST_PYTHON_LIBS) \ 346 ${CodePatterns_LIBS} \ 347 -l$(PYTHON_LIB) 348 endif 330 349 331 350 #Stuff for building the GUI using Qt … … 337 356 builder_init.hpp \ 338 357 cleanUp.cpp \ 339 cleanUp.hpp 340 molecuildergui_CXXFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT 341 molecuildergui_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) 358 cleanUp.hpp \ 359 PythonScripting.hpp 360 molecuildergui_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT 361 molecuildergui_LDFLAGS = \ 362 $(AM_LDFLAGS) \ 363 $(BOOST_FILESYSTEM_LDFLAGS) \ 364 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \ 365 $(BOOST_SYSTEM_LDFLAGS) \ 366 $(BOOST_THREAD_LDFLAGS) 342 367 molecuildergui_LDADD = \ 343 368 libMolecuilderQtUI.la \ … … 356 381 $(BOOST_FILESYSTEM_LIBS) \ 357 382 $(GUI_LIBS) 383 384 if CONDPYTHON 385 molecuildergui_SOURCES += \ 386 Actions/Action_impl_python.hpp \ 387 Actions/GlobalListOfActions.hpp 388 molecuildergui_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR) 389 molecuildergui_LDFLAGS += $(BOOST_PYTHON_LDFLAGS) 390 molecuildergui_LDADD += \ 391 $(BOOST_PYTHON_LIBS) \ 392 ${CodePatterns_LIBS} \ 393 -l$(PYTHON_LIB) 394 endif 395 358 396 endif 359 397 360 398 joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp 361 joiner_C XXFLAGS = $(AM_CPPFLAGS)399 joiner_CPPFLAGS = $(AM_CPPFLAGS) 362 400 joiner_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) 363 401 joiner_LDADD = \ … … 370 408 371 409 analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp 372 analyzer_C XXFLAGS = $(AM_CPPFLAGS)410 analyzer_CPPFLAGS = $(AM_CPPFLAGS) 373 411 analyzer_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) 374 412 analyzer_LDADD = \ … … 403 441 Controller_SOURCES = controller.cpp controller_AddOn_MPQCCommandJob.cpp 404 442 Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS} 405 Controller_C XXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)443 Controller_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS) 406 444 Controller_LDADD = \ 407 445 libFragmentationAutomationController.la \ … … 416 454 PoolWorker_SOURCES = poolworker.cpp 417 455 PoolWorker_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS} 418 PoolWorker_C XXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)456 PoolWorker_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS) 419 457 PoolWorker_LDADD = \ 420 458 libMolecuilderJobs.la \ … … 425 463 Server_SOURCES = Server.cpp 426 464 Server_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS} 427 Server_C XXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)465 Server_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS) 428 466 Server_LDADD = \ 429 467 libMolecuilderJobs.la \ … … 434 472 435 473 unity_SOURCES = unity.cpp 436 unity_C XXFLAGS = $(AM_CPPFLAGS)474 unity_CPPFLAGS = $(AM_CPPFLAGS) 437 475 unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) 438 476 unity_LDADD = \ -
src/builder_init.cpp
r7ef5b9a r14de8e1 33 33 #endif 34 34 35 // boost::python uses placement new which is incompatible with MemDebug. 36 #ifdef HAVE_PYTHON 37 #include "PythonScripting.hpp" 38 #endif 39 35 40 #include "CodePatterns/MemDebug.hpp" 36 41 42 #include <boost/filesystem.hpp> 43 #include <fstream> 37 44 #include <iomanip> 38 45 #include <iostream> 46 #include <iterator> 47 #include <string> 39 48 40 49 #include "Actions/ActionHistory.hpp" … … 65 74 66 75 #include <boost/filesystem.hpp> 67 68 76 69 77 /** Print some initial information output the program. … … 122 130 input.close(); 123 131 } 132 133 // if we have python, autoexecute a molecuilder script in current folder 134 #ifdef HAVE_PYTHON 135 const std::string pythonfilename_string("./molecuilder.py"); 136 executePythonScript(pythonfilename_string); 137 #endif 138 124 139 // handle remaining arguments by CommandLineParser 125 140 if (argc>1) {
Note:
See TracChangeset
for help on using the changeset viewer.