I've run into a problem running a relatively large simulation that has several different subdirectories for files. Mod files are in their own directory, and cell templates are in another directory. When I try to run the simulation, I get the error "NEURON: xxx is not a MECHANISM"
I've attached a scaled down example that reproduces the error. If I run nrnivmodl in the top level directory, everything works fine. However, if I move the resulting x86_64 directory into a subdirectory in the same folder, I get this error:
NEURON: hh3 is not a MECHANISM
in interneuron.hoc near line 2935
insert hh3
^
xopen("interneuron.hoc")
execute1("{xopen("in...")
load_file("interneuron.hoc")
Segmentation fault (core dumped)
Is there some way to tell netpyne to look in that subdirectory for the mechanism files? Or some other way to globally specify where neuron/netpyne can find mechanism files? I tried using h.nrn_load_dll(...path...), but wasn't able to get that to work.
Thanks,
Andrew