The following is a list of pull requests relevant to LAMMPS in the Colvars repository since 2024-08-06: - 752 New tool poisson_integrator_conv https://github.com/Colvars/colvars/pull/752 (@jhenin) - 733 Custom grids for all biases https://github.com/Colvars/colvars/pull/733 (@giacomofiorin, @jhenin) - 776 Avoid error in acos and asin with fast-math https://github.com/Colvars/colvars/pull/776 (@jhenin) - 773 fix: fix the clang build test failure of OPES https://github.com/Colvars/colvars/pull/773 (@HanatoK) - 768 fix: clamp the input values of asin and acos in case of fast math on aarch64 https://github.com/Colvars/colvars/pull/768 (@HanatoK) - 761 Add debug code for the Jacobi failure https://github.com/Colvars/colvars/pull/761 (@HanatoK) - 759 min_image fix; Saves long runs from crashes; https://github.com/Colvars/colvars/pull/759 (@PolyachenkoYA) - 757 Fix MSVC OpenMP issue https://github.com/Colvars/colvars/pull/757 (@HanatoK) - 755 Fix indentation of 'Init CVC' message in standard output https://github.com/Colvars/colvars/pull/755 (@jhenin) - 750 Optimize and simplify the calculation of dihedral gradients https://github.com/Colvars/colvars/pull/750 (@HanatoK) - 749 Add references to new Colvars paper https://github.com/Colvars/colvars/pull/749 (@jhenin, @giacomofiorin) - 740 Report the specific C++ standard at init time, stop warning about C++97/03 https://github.com/Colvars/colvars/pull/740 (@giacomofiorin) - 731 Improve detection of hard/mathematical boundaries https://github.com/Colvars/colvars/pull/731 (@giacomofiorin) - 729 Optimize the fit gradients https://github.com/Colvars/colvars/pull/729 (@HanatoK, @jhenin) - 728 Fix undefined behavior when getting the current working directory from std::filesystem https://github.com/Colvars/colvars/pull/728 (@giacomofiorin) - 727 Add patchversion scripting command https://github.com/Colvars/colvars/pull/727 (@giacomofiorin) - 724 Fix gradients and metric functions of distanceDir https://github.com/Colvars/colvars/pull/724 (@giacomofiorin) - 715 Add missing rotation in orientation component https://github.com/Colvars/colvars/pull/715 (@giacomofiorin) - 713 fix: try to solve #87 for non-scala components https://github.com/Colvars/colvars/pull/713 (@HanatoK) - 709 Implementation of OPES in Colvars https://github.com/Colvars/colvars/pull/709 (@HanatoK, @giacomofiorin, @jhenin) - 706 BUGFIX for Segmentation fault in colvarbias_meta::calc_energy() with useGrids off https://github.com/Colvars/colvars/pull/706 (@alphataubio) - 570 enable use of CVs defined by PyTorch neural network models https://github.com/Colvars/colvars/pull/570 (@zwpku, @giacomofiorin, @HanatoK, @jhenin) Authors: @alphataubio, @EzryStIago, @giacomofiorin, @HanatoK, @jhenin, @PolyachenkoYA, @zwpku
102 lines
2.5 KiB
Makefile
102 lines
2.5 KiB
Makefile
# Shared -*- makefile -*- for multiple architectures
|
|
|
|
# # Detect settings from PYTHON package (if defined)
|
|
# sinclude ../../src/Makefile.package.settings
|
|
# ifeq ($(python_SYSINC),)
|
|
# COLVARS_PYTHON_INCFLAGS =
|
|
# else
|
|
# COLVARS_PYTHON_INCFLAGS = -DCOLVARS_PYTHON $(python_SYSINC)
|
|
# endif
|
|
|
|
# Detect debug settings
|
|
ifeq ($(COLVARS_DEBUG),)
|
|
COLVARS_DEBUG_INCFLAGS =
|
|
else
|
|
COLVARS_DEBUG_INCFLAGS = -DCOLVARS_DEBUG
|
|
endif
|
|
|
|
COLVARS_INCFLAGS = -DCOLVARS_LAMMPS $(COLVARS_DEBUG_INCFLAGS) $(COLVARS_PYTHON_INCFLAGS) -I../../src
|
|
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .cpp .o
|
|
|
|
|
|
COLVARS_SRCS = \
|
|
colvaratoms.cpp \
|
|
colvarbias_abf.cpp \
|
|
colvarbias_abmd.cpp \
|
|
colvarbias_alb.cpp \
|
|
colvarbias.cpp \
|
|
colvarbias_histogram.cpp \
|
|
colvarbias_histogram_reweight_amd.cpp \
|
|
colvarbias_meta.cpp \
|
|
colvarbias_restraint.cpp \
|
|
colvarbias_opes.cpp \
|
|
colvarcomp_alchlambda.cpp \
|
|
colvarcomp_angles.cpp \
|
|
colvarcomp_apath.cpp \
|
|
colvarcomp_coordnums.cpp \
|
|
colvarcomp.cpp \
|
|
colvarcomp_distances.cpp \
|
|
colvarcomp_gpath.cpp \
|
|
colvarcomp_neuralnetwork.cpp \
|
|
colvarcomp_torchann.cpp \
|
|
colvarcomp_combination.cpp \
|
|
colvarcomp_protein.cpp \
|
|
colvarcomp_rotations.cpp \
|
|
colvarcomp_volmaps.cpp \
|
|
colvar.cpp \
|
|
colvardeps.cpp \
|
|
colvargrid.cpp \
|
|
colvarmodule.cpp \
|
|
colvarparams.cpp \
|
|
colvarparse.cpp \
|
|
colvarproxy.cpp \
|
|
colvarproxy_io.cpp \
|
|
colvarproxy_replicas.cpp \
|
|
colvarproxy_system.cpp \
|
|
colvarproxy_tcl.cpp \
|
|
colvarproxy_volmaps.cpp \
|
|
colvarscript.cpp \
|
|
colvarscript_commands.cpp \
|
|
colvarscript_commands_bias.cpp \
|
|
colvarscript_commands_colvar.cpp \
|
|
colvars_memstream.cpp \
|
|
colvartypes.cpp \
|
|
colvarvalue.cpp \
|
|
colvar_neuralnetworkcompute.cpp
|
|
|
|
# Allow to selectively turn off Lepton
|
|
ifeq ($(COLVARS_LEPTON),no)
|
|
|
|
LEPTON_INCFLAGS =
|
|
|
|
else
|
|
|
|
LEPTON_DIR = ../lepton
|
|
include $(LEPTON_DIR)/Settings.mk
|
|
LEPTON_INCFLAGS = $(LEPTON_INC) $(LEPTON_DEF)
|
|
|
|
endif
|
|
|
|
COLVARS_OBJS = $(COLVARS_SRCS:.cpp=.o)
|
|
|
|
%.o: %.cpp
|
|
$(CXX) $(CXXFLAGS) $(COLVARS_INCFLAGS) $(LEPTON_INCFLAGS) -c -o $@ $<
|
|
|
|
$(COLVARS_LIB): Makefile.deps $(COLVARS_OBJS)
|
|
$(AR) $(ARFLAGS) $(COLVARS_LIB) $(COLVARS_OBJS)
|
|
|
|
|
|
Makefile.deps: $(COLVARS_SRCS)
|
|
@echo > $@
|
|
@for src in $^ ; do \
|
|
obj=`basename $$src .cpp`.o ; \
|
|
$(CXX) $(CXXFLAGS) -MM $(COLVARS_INCFLAGS) $(LEPTON_INCFLAGS) \
|
|
-MT '$$(COLVARS_OBJ_DIR)'$$obj $$src >> $@ ; \
|
|
done
|
|
|
|
include Makefile.deps
|
|
|