Errors with nrnivmodl on a local install of neuron

Anything that doesn't fit elsewhere.
Post Reply
countfizix
Posts: 5
Joined: Wed Feb 08, 2017 6:22 pm

Errors with nrnivmodl on a local install of neuron

Post by countfizix »

I recently installed neuron 7.7 on a cluster with a local install and get this error when attempting to compile mod files with default parameters such as PI and FARADAY.

error: _nrnunit_use_legacy_ undeclared (first use in this function)
#define PI _nrnunit_PI[_nrnunit_use_legacy_]

I do not get this error on other machines with the same version of neuron

Is this related to a choice in configuration or is there a global environment variable (NEURON_HOME?) that needs to be set for nrnivmodl to find key libraries?

For reference, my configuration was

./configure --prefix=$HOME/neuron --with-nrnpython=$HOME/.localpython/bin/python2.7 --without-x --with-mpi --with-paranrn --enable-pysetup=install
countfizix
Posts: 5
Joined: Wed Feb 08, 2017 6:22 pm

Re: Errors with nrnivmodl on a local install of neuron

Post by countfizix »

I was able to resolve it by setting NEURONHOME=$HOME/neuron/share, deleting the x86_64 folder, then recompiling
Post Reply