when using nrnpython with MPI support (--with-paranrn), I get an ImportError when doing
Code: Select all
from neuron import h
Traceback (most recent call last):
[...]
ImportError: neuron.hoc module not found.
Are you perhaps importing neuron in
the nrnpython source directory?
Please move out of this directory and try again,
or remove nrnpython from your import path.
>>>
Code: Select all
ImportError: '/home/micha/sims/nrn/nrn/x86_64/lib/libsundials.so.0: undefined symbol: ompi_mpi_op_min'
Code: Select all
>>> from mpi4py import MPI
>>> from neuron import h
>>>
Taken together, this means that as long as I use an MPI-enabled nrnpython I have to initialize MPI also if I don't want to use it. Is there a way around this?
Cheers,
Michael