cnr-ibf-pa / hbp-bsp-issues

Ticketing system for developers/testers and power users of the Brain Simulation Platform of the Human Brain Project
4 stars 0 forks source link

hoc shared library not found #494

Closed alex4200 closed 4 years ago

alex4200 commented 4 years ago

Expected behavior

Use cases run successfully for the following use cases:

Actual Behavior (please include screenshot if possible)

neuron import error:

ExceptionTraceback (most recent call last)

in () ----> 1 simulator = ephys.simulators.NrnSimulator() /opt/conda/envs/python2/lib/python2.7/site-packages/bluepyopt/ephys/simulators.pyc in __init__(self, dt, cvode_active, cvode_minstep, random123_globalindex) 30 self.banner_disabled = False 31 ---> 32 self.neuron.h.load_file('stdrun.hoc') 33 34 self.dt = dt if dt is not None else self.neuron.h.dt /opt/conda/envs/python2/lib/python2.7/site-packages/bluepyopt/ephys/simulators.pyc in neuron(self) 86 87 if self.disable_banner and not self.banner_disabled: ---> 88 NrnSimulator._nrn_disable_banner() 89 self.banner_disabled = True 90 /opt/conda/envs/python2/lib/python2.7/site-packages/bluepyopt/ephys/simulators.pyc in _nrn_disable_banner() 72 raise Exception( 73 'hoc shared library not found in %s' % ---> 74 nrnpy_path) 75 76 hoc_so = hoc_so_list[0] Exception: hoc shared library not found in /home/jovyan/.local/nrn/lib/python/neuron ### Steps to reproduce the problem Run with fresh container. ### Optional infrastructural data (user, platform, browser, environment, ...) User 'alextestuser003'.
alex4200 commented 4 years ago

Unable to replicate issue again with reset container.