help installing on WSL
Posted: Fri May 22, 2020 12:11 pm
Hi,
I'm trying to install NEURON on Windows subsystem for linux in order to use the brain modelling toolkit (BMTK). I have previously used NEURON on Windows successfully.
I am pretty new to linux and I installed Ubuntu on Windows subsystem for linux. I installed anaconda and BMTK. I am trying to compile NEURON as suggested on the BMTK website as they advise precompiled versions might cause errors if used with anaconda. When following the instructions to compile NEURON (https://www.neuron.yale.edu/neuron/down ... pile_linux), I get the following errors during make -j and make install -j commands during the NEURON setup (setting up InterViews seems to work fine)
make -j:
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:780: nrniv] Error 1
make[3]: Leaving directory '/home/jpduf/nrn/src/nrniv'
make[2]: *** [Makefile:519: all-recursive] Error 1
make[2]: Leaving directory '/home/jpduf/nrn/src'
make[1]: *** [Makefile:656: all-recursive] Error 1
make[1]: Leaving directory '/home/jpduf/nrn'
make: *** [Makefile:514: all] Error 2
install -j:
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:780: nrniv] Error 1
make[2]: Leaving directory '/home/jpduf/nrn/src/nrniv'
make[1]: *** [Makefile:519: install-recursive] Error 1
make[1]: Leaving directory '/home/jpduf/nrn/src'
make: *** [Makefile:656: install-recursive] Error 1
If I then try to run the setup.py command I get this:
(py38) jpduf@DESKTOP-PUSH6CU:~/nrn/src/nrnpython$ sudo python3 setup.py install
running install
running build
running build_py
error: package directory '/usr/local/nrn/share/nrn/lib/python/neuron' does not exist
I am not sure how to proceed. Any help would be greatly appreciated and of course I am ready to provide more information if requested.
Thanks again,
Jean-Philippe
I'm trying to install NEURON on Windows subsystem for linux in order to use the brain modelling toolkit (BMTK). I have previously used NEURON on Windows successfully.
I am pretty new to linux and I installed Ubuntu on Windows subsystem for linux. I installed anaconda and BMTK. I am trying to compile NEURON as suggested on the BMTK website as they advise precompiled versions might cause errors if used with anaconda. When following the instructions to compile NEURON (https://www.neuron.yale.edu/neuron/down ... pile_linux), I get the following errors during make -j and make install -j commands during the NEURON setup (setting up InterViews seems to work fine)
make -j:
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:780: nrniv] Error 1
make[3]: Leaving directory '/home/jpduf/nrn/src/nrniv'
make[2]: *** [Makefile:519: all-recursive] Error 1
make[2]: Leaving directory '/home/jpduf/nrn/src'
make[1]: *** [Makefile:656: all-recursive] Error 1
make[1]: Leaving directory '/home/jpduf/nrn'
make: *** [Makefile:514: all] Error 2
install -j:
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:780: nrniv] Error 1
make[2]: Leaving directory '/home/jpduf/nrn/src/nrniv'
make[1]: *** [Makefile:519: install-recursive] Error 1
make[1]: Leaving directory '/home/jpduf/nrn/src'
make: *** [Makefile:656: install-recursive] Error 1
If I then try to run the setup.py command I get this:
(py38) jpduf@DESKTOP-PUSH6CU:~/nrn/src/nrnpython$ sudo python3 setup.py install
running install
running build
running build_py
error: package directory '/usr/local/nrn/share/nrn/lib/python/neuron' does not exist
I am not sure how to proceed. Any help would be greatly appreciated and of course I am ready to provide more information if requested.
Thanks again,
Jean-Philippe