When trying to import compiled mechanisms into a NEURON model in the Python environment I get this error.
Code: Select all
loading membrane mechanisms from x86_64/.libs/libnrnmech.so
dlopen failed -
x86_64/.libs/libnrnmech.so: undefined symbol: nrnmpi_myid
This error does not appear when starting NEURON with nrniv or nrngui. However, I still come across the following error when attempting to load from my model file.
Code: Select all
NEURON: syntax error
in reduced_model.hoc near line 49
insert ih
^
xopen("reduced_mo...")
execute1("{xopen("re...")
load_file("reduced_mo...")
This happens in Python and NEURON. I think it has to do with the failure to load indicated by the initial error message in both cases. I know others have brought up the undefined symbol: nrnmpi_myid error before but none of the answers given so far seemed relevant.