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:
try:
self.lib = CDLL("_lammps_serial.so")
except:
raise StandardError,"Could not load LAMMPS dynamic library"
#except:
# raise OSError,"Could not load LAMMPS dynamic library"
# create an instance of LAMMPS
# don't know how to pass an MPI communicator from PyPar

View File

@ -1,7 +1,7 @@
#!/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
@ -21,7 +21,7 @@ lammps_library = Extension("_lammps",
# src files for LAMMPS
include_dirs = ["../src"],
# additional libs for MPICH on Linux
libraries = ["mpich","rt"],
libraries = ["mpich","mpl","pthread"],
# where to find the MPICH lib on Linux
library_dirs = ["/usr/local/lib"],
# additional libs for MPI on Mac
@ -29,7 +29,7 @@ lammps_library = Extension("_lammps",
)
setup(name = "lammps",
version = "26Oct10",
version = "28Nov11",
author = "Steve Plimpton",
author_email = "sjplimp@sandia.gov",
url = "http://lammps.sandia.gov",

View File

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