Search found 8 matches

by peadargrant
Tue Feb 17, 2015 4:55 pm
Forum: NEURON + Python
Topic: Importing neuron module into Python
Replies: 26
Views: 19592

Re: Importing neuron module into Python

Just to add: make sure that there is one, and one only, hoc.so in your default Python import path. I got an error relating to libreadline and it turned out that Python was pulling in a version that I had installed somewhere else on the filesystem and then forgotten about. Removing it solved the prob...
by peadargrant
Tue Dec 17, 2013 6:51 am
Forum: OS X
Topic: Compilation failure on Mavericks
Replies: 13
Views: 14589

Re: Compilation failure on Mavericks

Thanks Michael, I'll give it a shot. My target environment seems to be slightly different to yours, which might explain the problem:

Code: Select all

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.2
Thread model: posix
by peadargrant
Sun Dec 15, 2013 11:55 am
Forum: OS X
Topic: Compilation failure on Mavericks
Replies: 13
Views: 14589

Compilation failure on Mavericks

Interesting issue here, I've compiled with the recommended compiler switches for clang, both with and without extra stuff like MPI and Python. ./configure --prefix=/usr/local --exec-prefix=/usr/local --with-iv=/usr/local --with-pic CC='clang' CXX='clang++' CFLAGS='-O3 -Wno-return-type -Wno-implicit-...
by peadargrant
Sun Aug 11, 2013 1:51 pm
Forum: OS X
Topic: Parallel Neuron 7.3 for Mac installer script
Replies: 0
Views: 7228

Parallel Neuron 7.3 for Mac installer script

Hi everyone. During a recent re-installation of NEURON due to laptop theft (of all things), I decided to record and script the steps needed to install OpenMPI, IV, NEURON, NEURON Python module and HDF5 (not really necessary but used in my own workflows). It might be of some use to people here, so I'...
by peadargrant
Thu Sep 13, 2012 5:40 am
Forum: Other questions
Topic: Programmatically determining version number
Replies: 2
Views: 1908

Re: Programmatically determining version number

Thanks Ted! That's perfect :)
by peadargrant
Wed Sep 12, 2012 11:46 am
Forum: Other questions
Topic: Programmatically determining version number
Replies: 2
Views: 1908

Programmatically determining version number

Does any command in NEURON actually return its version number as either a string or numeric value? In my quest to further improve the reliability (and reproducibility), I have been directly writing LaTeX files with macros such as the network parameters, stimulation etc. Having the version number in ...
by peadargrant
Wed Aug 15, 2012 4:54 pm
Forum: Modeling networks
Topic: STDP in artificial cells
Replies: 6
Views: 5355

Re: STDP in artificial cells

Thanks very much Ted, much appreciated, I did see an example in ModelDB accession number 64261. Essentially what it does is introduce a new Artificial Cell that receives the pre and post-synaptic events (at a cost of two additional NetCon objects I think), which then adjusts the weight in the releva...
by peadargrant
Tue Aug 14, 2012 7:32 am
Forum: Modeling networks
Topic: STDP in artificial cells
Replies: 6
Views: 5355

STDP in artificial cells

Currently I am modelling a population of 100 neurons using IntFire2() cells. I would like to investigate a number of (possible) plastic effects in the network. On another thread, I noticed that the STDP models to date on ModelDB are all set up as point processes for use on biophysical cells. What is...