unable to execute 'mpicc': No such file or directory
Posted: Thu Oct 27, 2016 6:16 pm
I am trying to install NEURON on CentOS 7. I need it to have parallel capabilities and work with Python, so I am following these steps:
I have managed to make it all the way to the very last step, but when I issue the command sudo make install, I get the following error:
unable to execute ‘mpicc’: No such file or directory
error: command ‘mpicc’ failed with exit status 1
I am confused by this, as I have installed openmpi, and the command which mpicc returns /usr/lib64/openmpi/bin/mpicc.
This is my first time attempting to install NEURON on my own personal Linux machine, and NEURON is basically the first thing I've installed on it, so am I possibly missing some libraries? Or maybe I did not install openmpi correctly?
Code: Select all
1. Clone InterViews and NEURON sources into the current directory:
hg clone http://www.neuron.yale.edu/hg/neuron/iv
hg clone http://www.neuron.yale.edu/hg/neuron/nrn
2. Install InterViews:
cd iv
./build.sh
./configure
make
sudo make install
3. Install NEURON:
cd ../nrn
./build.sh
./configure --with-iv --with-nrnpython --with-paranrn
make
sudo make install
unable to execute ‘mpicc’: No such file or directory
error: command ‘mpicc’ failed with exit status 1
I am confused by this, as I have installed openmpi, and the command which mpicc returns /usr/lib64/openmpi/bin/mpicc.
This is my first time attempting to install NEURON on my own personal Linux machine, and NEURON is basically the first thing I've installed on it, so am I possibly missing some libraries? Or maybe I did not install openmpi correctly?