This commit is contained in:
tomswinburne
2021-06-29 10:51:10 +02:00
parent 84d94d9da0
commit 49e8fead3a
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ class lammps(object):
lib_ext = ".dll"
else:
lib_ext = ".so"
if not self.lib:
if name:
libpath = join(modpath,"liblammps_%s" % name + lib_ext)

View File

@ -28,7 +28,7 @@ SHLIBFLAGS = -shared -rdynamic
# LAMMPS ifdef settings
# see possible settings in Section 3.5 of the manual
LMP_INC = -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 # -DLAMMPS_CXX98
LMP_INC = -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 # -DLAMMPS_CXX98
# MPI library
# see discussion in Section 3.4 of the manual