mpicc: command not found using nrnivmodl

Anything that doesn't fit elsewhere.
Post Reply
jtmoyer
Posts: 14
Joined: Fri Jun 17, 2005 10:01 am
Location: Philadelphia, PA, USA
Contact:

mpicc: command not found using nrnivmodl

Post by jtmoyer »

Hello-
I have Release 6.1.1 (1894) on my MacBook Pro, and I compiled it with MPI. When I try to compile my mod files by invoking nrnivmodl I get this error:

/Applications/NEURON-6.1/nrn/share/nrn/libtool: line 1: mpicc: command not found
make: *** [fsi_AMPA.lo] Error 1


Any idea what this could be?
Thanks!
ted
Site Admin
Posts: 6299
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted »

What does
which mpicc
say?
jtmoyer
Posts: 14
Joined: Fri Jun 17, 2005 10:01 am
Location: Philadelphia, PA, USA
Contact:

Post by jtmoyer »

orion:~ jtmoyer$ which mpicc
no mpicc in /usr/local/bin /Applications/NEURON-6.1/nrn/i686/bin /usr/local/bin /usr/local/sbin /Applications/NEURON-6.1/nrn/i686/bin /bin /sbin /usr/bin /usr/sbin
jtmoyer
Posts: 14
Joined: Fri Jun 17, 2005 10:01 am
Location: Philadelphia, PA, USA
Contact:

Post by jtmoyer »

The problem was that the mpi directory was not properly added to my path for some reason - i fixed it by adding the directory to my path in the .bash_login file in my home directory. For me, it looked like this:

export PATH="/usr/local/bin:/usr/local/sbin:/Applications/mpi/bin:$PATH"
Post Reply