This commit is contained in:
Axel Kohlmeyer
2021-05-09 20:24:22 -04:00
parent 69a92a3e00
commit 92fe1373a5

View File

@ -307,7 +307,8 @@ class lammps(object):
# tested to work with mpi4py versions 2 and 3 # tested to work with mpi4py versions 2 and 3
self.has_mpi4py = mpi4py_version.split('.')[0] in ['2','3'] self.has_mpi4py = mpi4py_version.split('.')[0] in ['2','3']
except: except:
self.has_mpi4py = None # ignore failing import
pass
# if no ptr provided, create an instance of LAMMPS # if no ptr provided, 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