Search found 54 matches

by roybens
Fri Jun 15, 2018 4:23 pm
Forum: Other questions
Topic: Getting the full topology (segments level) from hoc
Replies: 18
Views: 11690

Re: Getting the full topology (segments level) from hoc

Hi again, I am back in trying to apply this method on a more complicated model - one of the BBP pyramidal neurons https://bbp.epfl.ch/nmc-portal/downloads. For some reason when applying this method to Mainen's model (1996) it works well but when applying to BBP it does not work at all and it is like...
by roybens
Sat Mar 11, 2017 5:38 pm
Forum: UNIX/Linux
Topic: Running neuron with MPI using debian package
Replies: 1
Views: 18193

Running neuron with MPI using debian package

Hi, I am trying to use neuron on a cluster without shared libraries we used the debian package as shifter image and NEURON is runnig well. The problem is when i am trying to use MPI i get only one process. I am trying to use the simple example from the parallelcontext documentation i get nprocs=1 My...
by roybens
Sat Mar 11, 2017 5:33 pm
Forum: UNIX/Linux
Topic: configuring on supercomputer/cluster without shared libs
Replies: 2
Views: 18822

Re: configuring on supercomputer/cluster without shared libs

Thanks!
We eventually used a shifter image using the debian package at http://www.neuron.yale.edu/ftp/neuron/v ... x86_64.deb
by roybens
Thu Jan 05, 2017 11:57 am
Forum: UNIX/Linux
Topic: configuring on supercomputer/cluster without shared libs
Replies: 2
Views: 18822

configuring on supercomputer/cluster without shared libs

Hi, I am trying to build neuron with mpi on supercomputer where we cannot use shared libraries. So building NEURON itself goes smoothly when i use the following configure: ./configure --prefix=`pwd` --with-paranrn --without-iv --enable-shared=no CC=cc CXX=CC But then when i want to add mod file and ...
by roybens
Fri Sep 30, 2016 5:44 pm
Forum: MSWin
Topic: Trying to print _rhs using gdb
Replies: 5
Views: 20762

Re: Trying to print _rhs using gdb

Ha! it worked Thanks!!
by roybens
Fri Sep 30, 2016 3:43 pm
Forum: MSWin
Topic: Trying to print _rhs using gdb
Replies: 5
Views: 20762

Re: Trying to print _rhs using gdb

So i should have mentioned it in the first post, I am using bash on windows - which is a ubuntu linux shell on windows 10 (pretty new feature for win) And i go to '~/neuron/nrn/x86_64/bin$' and run gdb nrniv from there. When trying to set a breakpoint at nrn_rhs i cannot typing (gdb) break nrn (then...
by roybens
Thu Sep 29, 2016 8:21 pm
Forum: MSWin
Topic: Trying to print _rhs using gdb
Replies: 5
Views: 20762

Trying to print _rhs using gdb

Hi, I am trying to print rhs for each time step of my simulation using gdb. I tried to configure with CXXFLAGS='-g' and CFLAGS='-g'. but when executing gdb nrniv i get the symbols load but i cannot access files in the oc folder. I am trying to step through nrn_rhs proc at treeset.c Is there anything...
by roybens
Tue May 24, 2016 5:07 pm
Forum: MSWin
Topic: 'nrniv -python' Not Working
Replies: 1
Views: 19731

'nrniv -python' Not Working

I installed Neuron 7.4 from the binary package from Windows and set up my PYTHONPATH and NEURONHOME so everything points to the correct directories. When I run python 2.7 and import neuron, the import works and I can load files and access information from neuron.h. However, when I try to run 'nrniv ...
by roybens
Tue Jan 06, 2015 11:49 am
Forum: NEURON + Python
Topic: Importing neuron module into Python
Replies: 26
Views: 19732

Re: Importing neuron module into Python

I think I got it, good call on anaconda. So I tried what you suggested by moving the /anaconda/bin to the end of my PATH so I could run default Python, but this still left the hanging prompt. So I decided to uninstall anaconda (which apparently is as simple as rm -rf /anaconda according to its site)...
by roybens
Mon Jan 05, 2015 10:13 pm
Forum: NEURON + Python
Topic: Importing neuron module into Python
Replies: 26
Views: 19732

Re: Importing neuron module into Python

Okay, I have another clue. I uninstalled then reinstalled NEURON from the source code, then set the environmental variables as you mentioned, and I was able to get everything working again. However, once I exited the terminal and tried to open it up again, I got the same issue with the interpreter h...
by roybens
Sun Jan 04, 2015 10:40 pm
Forum: NEURON + Python
Topic: Importing neuron module into Python
Replies: 26
Views: 19732

Re: Importing neuron module into Python

Hi Michael, Unfortunately this fix does not seem to work anymore, after restarting my computer. Even though I had incorporated the command I mentioned earlier into my .bashrc file before restarting.... export DYLD_LIBRARY_PATH=/anaconda/lib/ ... when I attempted to replicate what I did in my previou...
by roybens
Wed Dec 24, 2014 8:21 am
Forum: NEURON + Python
Topic: Importing neuron module into Python
Replies: 26
Views: 19732

Re: Importing neuron module into Python

Hi Michael, Yes I am using Yosemite. I think I found a temporary solution! When I do a "find . -name libreadline.6.2\*" from the root directory I now find it (I assume it's because of the dmg install I recently did): ./anaconda/lib/libreadline.6.2.dylib ./anaconda/pkgs/readline-6.2-2/lib/l...
by roybens
Sat Dec 20, 2014 9:49 am
Forum: NEURON + Python
Topic: Importing neuron module into Python
Replies: 26
Views: 19732

Re: Importing neuron module into Python

2) otool shows no mention of libreadline in regard to nrniv and launching 'nrniv -python' works fine and you can successfully 'import neuron'. Yes, this appears to be true... strange. Last login: Fri Dec 19 21:36:38 on ttys000 kjb:~ ken$ nrniv -python NEURON -- VERSION 7.4 (1198:03358d02fbc4) 03358...
by roybens
Fri Dec 19, 2014 3:12 pm
Forum: NEURON + Python
Topic: Importing neuron module into Python
Replies: 26
Views: 19732

Re: Importing neuron module into Python

Michael, Commenting out that line did not solve the problem. The result of the grep command is as follows: # Generated by configure. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. configured by ../nrn/configure, generated by GNU Autoconf 2.6...
by roybens
Wed Dec 17, 2014 5:17 pm
Forum: NEURON + Python
Topic: Importing neuron module into Python
Replies: 26
Views: 19732

Re: Importing neuron module into Python

Michael: I didn't see anything relating to "libreadline.6.2.dylib" this time... kjb:~ ken$ otool -L `which nrniv` /Applications/NEURON-7.3/nrn/x86_64/bin/nrniv: /Applications/NEURON-7.3/nrn/x86_64/lib/libnrnoc.0.dylib (compatibility version 1.0.0, current version 1.0.0) /Applications/NEURO...