git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7237 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-11-28 22:42:51 +00:00
parent c032f772ac
commit 5a158918de
3 changed files with 6 additions and 6 deletions

View File

@ -33,8 +33,8 @@ class lammps:
except: except:
try: try:
self.lib = CDLL("_lammps_serial.so") self.lib = CDLL("_lammps_serial.so")
except: #except:
raise StandardError,"Could not load LAMMPS dynamic library" # raise OSError,"Could not load LAMMPS dynamic library"
# create an instance of LAMMPS # create an instance of LAMMPS
# don't know how to pass an MPI communicator from PyPar # don't know how to pass an MPI communicator from PyPar

View File

@ -1,7 +1,7 @@
#!/usr/local/bin/python #!/usr/local/bin/python
""" """
setup.py file for LAMMPS with system MPI library setup.py file for LAMMPS with system MPICH library
""" """
from distutils.core import setup, Extension from distutils.core import setup, Extension
@ -21,7 +21,7 @@ lammps_library = Extension("_lammps",
# src files for LAMMPS # src files for LAMMPS
include_dirs = ["../src"], include_dirs = ["../src"],
# additional libs for MPICH on Linux # additional libs for MPICH on Linux
libraries = ["mpich","rt"], libraries = ["mpich","mpl","pthread"],
# where to find the MPICH lib on Linux # where to find the MPICH lib on Linux
library_dirs = ["/usr/local/lib"], library_dirs = ["/usr/local/lib"],
# additional libs for MPI on Mac # additional libs for MPI on Mac
@ -29,7 +29,7 @@ lammps_library = Extension("_lammps",
) )
setup(name = "lammps", setup(name = "lammps",
version = "26Oct10", version = "28Nov11",
author = "Steve Plimpton", author = "Steve Plimpton",
author_email = "sjplimp@sandia.gov", author_email = "sjplimp@sandia.gov",
url = "http://lammps.sandia.gov", url = "http://lammps.sandia.gov",

View File

@ -24,7 +24,7 @@ lammps_library = Extension("_lammps_serial",
) )
setup(name = "lammps_serial", setup(name = "lammps_serial",
version = "26Oct10", version = "28Nov11",
author = "Steve Plimpton", author = "Steve Plimpton",
author_email = "sjplimp@sandia.gov", author_email = "sjplimp@sandia.gov",
url = "http://lammps.sandia.gov", url = "http://lammps.sandia.gov",