revert
This commit is contained in:
@ -123,16 +123,13 @@ class lammps(object):
|
|||||||
lib_ext = ".dll"
|
lib_ext = ".dll"
|
||||||
modpath = winpath
|
modpath = winpath
|
||||||
else:
|
else:
|
||||||
"""
|
|
||||||
import platform
|
import platform
|
||||||
if platform.system() == "Darwin": # this flags an error on MacOSX
|
if platform.system() == "Darwin":
|
||||||
lib_ext = ".dylib"
|
lib_ext = ".dylib"
|
||||||
elif platform.system() == "Windows":
|
elif platform.system() == "Windows":
|
||||||
lib_ext = ".dll"
|
lib_ext = ".dll"
|
||||||
else:
|
else:
|
||||||
lib_ext = ".so"
|
lib_ext = ".so"
|
||||||
"""
|
|
||||||
lib_ext = ".so"
|
|
||||||
|
|
||||||
if not self.lib:
|
if not self.lib:
|
||||||
if name:
|
if name:
|
||||||
|
|||||||
@ -7,12 +7,12 @@ SHELL = /bin/sh
|
|||||||
# specify flags and libraries needed for your compiler
|
# specify flags and libraries needed for your compiler
|
||||||
|
|
||||||
CC = mpicxx
|
CC = mpicxx
|
||||||
CCFLAGS = -g -O3 -std=c++11
|
CCFLAGS = -g -O3
|
||||||
SHFLAGS = -fPIC
|
SHFLAGS = -fPIC
|
||||||
DEPFLAGS = -M
|
DEPFLAGS = -M
|
||||||
|
|
||||||
LINK = mpicxx
|
LINK = mpicxx
|
||||||
LINKFLAGS = -g -O3 -std=c++11
|
LINKFLAGS = -g -O3
|
||||||
LIB =
|
LIB =
|
||||||
SIZE = size
|
SIZE = size
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ SHLIBFLAGS = -shared -rdynamic
|
|||||||
# LAMMPS ifdef settings
|
# LAMMPS ifdef settings
|
||||||
# see possible settings in Section 3.5 of the manual
|
# see possible settings in Section 3.5 of the manual
|
||||||
|
|
||||||
LMP_INC = -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -DLAMMPS_EXCEPTIONS
|
LMP_INC = -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 # -DLAMMPS_CXX98
|
||||||
|
|
||||||
# MPI library
|
# MPI library
|
||||||
# see discussion in Section 3.4 of the manual
|
# see discussion in Section 3.4 of the manual
|
||||||
|
|||||||
Reference in New Issue
Block a user