Page 1 of 1

mpicc: command not found using nrnivmodl

Posted: Sat Dec 08, 2007 8:49 pm
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!

Posted: Sun Dec 09, 2007 12:15 pm
by ted
What does
which mpicc
say?

Posted: Sun Dec 09, 2007 12:19 pm
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

Posted: Sun Dec 09, 2007 1:59 pm
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"