Frequently Asked Questions
From NEST
Contents |
[edit]
Installation
- If I compile NEST with MPI support, I get errors about
SEEK_SET,SEEK_CURandSEEK_ENDbeing defined
This is a known issue in some MPI implementations. A solution is to add --with-debug="-DMPICH_IGNORE_CXX_SEEK" to the configure command line. More details about this problem can be found here - Configure warns that Makefile.in seems to ignore the --datarootdir setting and the installation fails because of permission errors
This problem is due to a change in autoconf 2.60, where the prefix directory for the NEST documentation can end up being empty during the installation. This leads to wrong installation paths for some components of NEST. If you have the GNU autotools installed, you can run./bootstrap.shin the source directory followed by./configure. If you don't have the autotools, appending--datadir=PREFIX/share/nestwith the same PREFIX as in the--prefixoption should help. - I get 'Error: /ArgumentType in validate' when compiling an extension module
This is a known bug that has been fixed. Ask your local NEST dealer for a new pre-release. You need at least nest-1.9-7320. - I get 'collect2: ld returned 1 exit status, ld: -rpath can only be used when targeting Mac OS X 10.5 or later
Please try to set the environment variable MACOSX_DEPLOYMENT_TARGET to 10.5 (export MACOSX_DEPLOYMENT_TARGET=10.5)
[edit]
PyNEST
- Ipython crashes with a strange error message as soon as I import
nest
If ipython crashes onimport nestcomplaining about aNon-aligned pointer being freed, you probably compiled NEST with a different version of g++ than python. Take a look at the information ipython prints when it starts up. That should tell you which compiler was used. Then re-build NEST with the same compiler version. - I get a segmentation fault wher I use SciPy in the same script together with PyNEST. We recently observed that if PyNEST is used with some versions of SciPy, a segmentation fault is caused. The exact reason for this is not identified yet. However, to circumvent the problem, you can import SciPy before PyNEST.
[edit]
Neuron models
- I cannot see any of the conductance based models. Where are they? Some neuron model need the GNU Scientific Library (GSL) to work. The conductance based models are among those. If your NEST installation does not have these models, you probably have no GSL or GSL development packages installed. To solve this problem, install the GSL and its development headers. Then reconfigure and recompile NEST.
[edit]
Connections
- How can I create connections to multicompartment neurons using ConvergentConnect, DivergentConnect, RandomConvergentConnect, RandomDivergentConnect and topological connection functions? You need to create a synapse type with the proper
receptor_typeas in this example, which connects all 100 neurons innto the first neuron inn:syns = nest.GetDefaults('iaf_cond_alpha_mc')['receptor_types'] nest.CopyModel('static_synapse', 'exc_dist_syn', {'receptor_type': syns['distal_exc']}) n = nest.Create('iaf_cond_alpha_mc', 100) nest.ConvergentConnect(n, n[:1], model='exc_dist_syn') nest.Simulate(10)
