Changeset d2a0f6d


Ignore:
Timestamp:
Nov 13, 2012, 10:23:13 AM (12 years ago)
Author:
Frederik Heber <heber@…>
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:
e9cfc4
Parents:
286a967
git-author:
Frederik Heber <heber@…> (07/13/12 14:16:26)
git-committer:
Frederik Heber <heber@…> (11/13/12 10:23:13)
Message:

VMGJob can now be conditionally compiled in via --with-vmg.

  • requires vmg library from scafacos project which is can be brought in via a modified .pc file.
  • AC_ARG_ENABLE checks for vmg, PKG_CHECK_MODULE for VMG.
  • added AM_CONDITIONAL CONDVMG for this purpose.
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r286a967 rd2a0f6d  
    198198AM_CONDITIONAL([CONDJOBMARKET], [test x"$enable_jobmarket" = x"yes"])
    199199
     200# VMG library
     201AC_MSG_CHECKING(whether to compile in long-range support via VMG)
     202AC_ARG_ENABLE(
     203  [vmg],
     204  [AS_HELP_STRING([--enable-vmg], [turn on long-range potential calculation via VMG [default=no]])],
     205  [enable_vmg=$enableval],
     206  enable_vmg="no")
     207AC_MSG_RESULT($enable_vmg)
     208AS_IF([test x"$enable_vmg" != x"no"],[
     209  PKG_CHECK_MODULES(VMG, VMG >= 0.1)
     210  AC_SUBST(VMG_CFLAGS)
     211  AC_SUBST(VMG_LIBS)
     212])
     213AM_CONDITIONAL([CONDVMG], [test x"$enable_vmg" = x"yes"])
     214
     215
    200216# Checks for header files.
    201217AC_HEADER_STDC
  • src/Jobs/Makefile.am

    r286a967 rd2a0f6d  
    66        Jobs/MPQCData.cpp \
    77        Jobs/MPQCJob.cpp
     8if CONDVMG
     9JOBSSOURCE += Jobs/VMGJob.cpp
     10endif
    811
    912JOBSHEADER = \
     
    1417        Jobs/MPQCData_printKeyNames.hpp \
    1518        Jobs/MPQCJob.hpp
     19if CONDVMG
     20JOBSSOURCE += Jobs/VMGJob.hpp
     21endif
    1622
    1723lib_LTLIBRARIES += libMolecuilderJobs.la
    1824libMolecuilderJobs_la_includedir = $(includedir)/MoleCuilder/
    1925nobase_libMolecuilderJobs_la_include_HEADERS = $(JOBSHEADER)
    20 libMolecuilderJobs_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS}
     26libMolecuilderJobs_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS)
    2127libMolecuilderJobs_la_LDFLAGS = $(AM_LDFLAGS) \
    2228  $(BOOST_SERIALIZATION_LDFLAGS) \
     
    2531libMolecuilderJobs_la_SOURCES = $(JOBSSOURCE)
    2632libMolecuilderJobs_la_LIBADD = \
     33        $(VMG_LIBS) \
    2734        $(JobMarket_LIBS) \
    2835  $(BOOST_SERIALIZATION_LIBS) \
Note: See TracChangeset for help on using the changeset viewer.