Package Details: neuron 7.7.2-1

Git Clone URL: (read-only, click to copy)
Package Base: neuron
Description: A flexible and powerful simulator of neurons and networks NEURON is a simulation environment for developing and exercising models of neurons and networks of neurons.
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: atymorek
Last Packager: atymorek
Votes: 10
Popularity: 0.000003
First Submitted: 2010-09-12 23:29 (UTC)
Last Updated: 2020-01-19 11:59 (UTC)

Latest Comments

kaslusimoes commented on 2018-10-03 19:10 (UTC) (edited on 2018-10-04 18:31 (UTC) by kaslusimoes)

Hi, I'm having a problem trying to build this package. Can anyone help me?

It seems to be some issue with Python/NumPy but I have no idea how to fix it..

My attempt:

bmgxc9 commented on 2017-11-09 05:01 (UTC)

The package has been updated and should now be functional, I completed a successful build. Working on Interview now. @denisal @DGalt

denisalevi commented on 2016-11-22 12:17 (UTC)

I get the same error as @DGalt with linux 4.8.8-2. Any solution?

DGalt commented on 2016-06-10 04:23 (UTC) (edited on 2016-06-10 05:34 (UTC) by DGalt)

getting "Error: A failure occurred in build()". Initially thought it was due to it not being able to find Interviews, so ran makepkg after editing PKGBUILD to include --without-iv, but still fails (although with slightly different message). Initial attempt: Second attempt: What's weird is Interviews is installed in /usr (I see the InterViews folder in /usr/include). I just went ahead and installed neuron on my arch install on my laptop and it went fine - not sure why it's not working on my other machine. My other machine is more up-to-date, though - 4.6.2-1 vs 4.4.5-1 Edit: after updating my laptop to 4.6.2-1 and trying to re-install neuron I get the same series of errors that are shown in the "Second attempt" pastebin

rouzbeh commented on 2016-01-05 11:57 (UTC)

That's a tough one. I don't see how it can be due to packaging. I'm looking into it :)

brk0_0 commented on 2016-01-04 22:10 (UTC)

When I open nrngui and click Tools -> Model View, the program crashes. The problem is: the file /usr/lib/python/neuron/ should be called simply Is this an upstream bug?

rouzbeh commented on 2015-11-30 17:58 (UTC)

I am going to push an upadte for neuron 7.4 shortly.

rouzbeh commented on 2015-11-30 17:50 (UTC)

Try commenting out the line patch -p1 < $srcdir/patch.diff in the PKGBUILD file.

itsok-dontworry commented on 2015-11-30 17:33 (UTC) (edited on 2015-11-30 17:33 (UTC) by itsok-dontworry)

I'm having troubles installing the package with python2 (python3 works just fine). I've replaced "python" with "python2". The error I'm getting is [code] nrnpython.cpp:169:32: error: invalid conversion from 'char* (*)(FILE*, FILE*, const char*) {aka char* (*)(_IO_FILE*, _IO_FILE*, const char*)}' to 'char* (*)(FILE*, FILE*, char*) {aka char* (*)(_IO_FILE*, _IO_FILE*, char*)}' [-fpermissive] PyOS_ReadlineFunctionPointer = nrnpython_getline; Makefile:562: recipe for target 'nrnpython.lo' failed I have no idea what I am doing really and I'm quite clueless where to start looking for the problem. I have numpy, scipy (for python2) and mpich2. Any hints much appreciated.

achilleas.k commented on 2014-09-09 14:02 (UTC)

Great. Thanks again rouzbeh.

rouzbeh commented on 2014-09-09 10:26 (UTC)

Alright folks, some changes: 1. Turns out removing .la files results in nrnivmodl not working anymore. For now we have to keep them. 2. There is now a patch to make neuron compile with Python 3. The new version of the PKGBUILD applies the patch and compiles neuron for the latest version of Python. If you want to have it work with Python 2.x simply replace all instance of "python" with "python2" in the PKGBUILD.

achilleas.k commented on 2014-08-19 03:55 (UTC)

Great! Thanks for getting it to install with python.

rouzbeh commented on 2014-07-24 14:00 (UTC)

New version to correct the md5. While at it, I also had another attempt at getting the python library to install. There is an error compiling for python 3, so for now we have to use python 2. But at least it works.

achilleas.k commented on 2014-07-10 14:56 (UTC)

The md5sum appears to be wrong. Also, I'd like to be able to install with python support as well as install the python module, so I can "import neuron" in a python session and work from there. I know that in order to do this, one must ./configure with "--with-nrnpython=/path/to/python/binary". If I add it to the PKGBUILD, I get an error during the package() phase "/usr/bin/ld: cannot find -lnrnpython". I assume this has to do with the fakeroot environment but I'm not very familiar with how fakeroots are set up for things like this, so I can't get it to build the package. Installing the python module is straightforward after that, of course, since it just requires running the (i.e., the two lines that are commented out). So, is it possible to get this package to install with py support, or should I just build and make from source to get this?

rouzbeh commented on 2014-04-04 14:10 (UTC)

Updated to add options=('libtool'). Thanks achilleas.k

achilleas.k commented on 2014-04-04 01:11 (UTC)

I need to add options=('libtool') otherwise I get errors when compiling with nrnivmodl.

rouzbeh commented on 2013-11-23 10:46 (UTC)

Thanks xgdgsc!

xgdgsc commented on 2013-11-23 07:01 (UTC)

The md5sum of the package has changed.

rouzbeh commented on 2013-05-01 09:49 (UTC)

Thanks belevtsoff1

commented on 2013-04-30 10:50 (UTC)

Looks like they have fixed the problem and the patch is not needed anymore. The md5sum of the package has changed and the patch fails to apply now. I have successfully compiled and installed the package by changing md5 and commenting out the patch line in the PKGBUID Cheers

rouzbeh commented on 2013-01-16 13:41 (UTC)

Thanks alkemir. I haev implemented all your suggested changes. Although I am a bit baffled by the type problem. I will try to figure out what has changed.

commented on 2013-01-14 07:22 (UTC)

Final comment: To install the python bindings, you ened to go into src/nrnpython and run sudo python2 install. Best regards

commented on 2013-01-14 07:06 (UTC)

Hi again! There is a typo in the configure option --with-paranrn, there is a n missing: --with-pararn. It will not configure correctly with this option unless you have MPI packages installed. I dont know how this should be handled.

commented on 2013-01-14 06:24 (UTC)

Currently neuron fails to compile complaining about int32_t and u_int32_t not being defined in /src/gnu/RNG.h . I added the definitions and it compiled. Can you please look into the issue? I am not familiar enough with software to understand the real nature of the problem and thefore the right way to fix it. #ifndef int32_t #if defined(HAVE_SYS_TYPES_H) #include <sys/types.h> #endif #if defined(HAVE_INTTYPES_H) #include <inttypes.h> #endif #endif #endif //Here is what I added: typedef int int32_t; typedef unsigned int u_int32_t; typedef int32_t _G_int32_t; typedef u_int32_t _G_uint32_t;

rouzbeh commented on 2012-05-11 14:29 (UTC)

Adopted and updated. They have updated interviews without changing the version number.

mschu commented on 2011-09-11 09:22 (UTC)

Thanks for your message. Unfortunately, your fix doesn't work for me and I don't have the time to fix it properly. I'm orphaning the package for now, you're welcome to adopt it.

macin commented on 2011-09-09 18:09 (UTC)

Hi! I get this message, when I attempt to use nrnivmodl: link: cannot find the library `/usr/lib/' or unhandled argument `/usr/lib/' Actually, without option '!libtool' in the pkgbuild of neuron and interviews, it seems everything works well.