Code: Select all
./configure --prefix=`pwd` --with-mpi MPICXX=/usr/bin/mpic++ MPICC=/usr/bin/mpicc
Code: Select all
mkdir .libs
/usr/bin/mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src/oc -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -I../../src/nrnpython -I../../src/oc -g -O2 -MT nrnmpi.lo -MD -MP -MF .deps/nrnmpi.Tpo -c nrnmpi.c -fPIC -DPIC -o .libs/nrnmpi.o
if /bin/sh ../../libtool --mode=compile --tag=CC /usr/bin/mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src/oc -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -I../../src/nrnpython -I../../src/oc -g -O2 -MT bbsmpipack.lo -MD -MP -MF ".deps/bbsmpipack.Tpo" -c -o bbsmpipack.lo bbsmpipack.c; \
then mv -f ".deps/bbsmpipack.Tpo" ".deps/bbsmpipack.Plo"; else rm -f ".deps/bbsmpipack.Tpo"; exit 1; fi
/usr/bin/mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src/oc -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -I../../src/nrnpython -I../../src/oc -g -O2 -MT bbsmpipack.lo -MD -MP -MF .deps/bbsmpipack.Tpo -c bbsmpipack.c -fPIC -DPIC -o .libs/bbsmpipack.o
bbsmpipack.c: In function 'unpack':
bbsmpipack.c:39: warning: comparison between pointer and integer
bbsmpipack.c:42: warning: comparison between pointer and integer
bbsmpipack.c: In function 'pack':
bbsmpipack.c:187: warning: assignment makes integer from pointer without a cast
bbsmpipack.c: In function 'nrnmpi_pkstr':
bbsmpipack.c:213: warning: incompatible implicit declaration of built-in function 'strlen'
if /bin/sh ../../libtool --mode=compile --tag=CC /usr/bin/mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src/oc -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -I../../src/nrnpython -I../../src/oc -g -O2 -MT mpispike.lo -MD -MP -MF ".deps/mpispike.Tpo" -c -o mpispike.lo mpispike.c; \
then mv -f ".deps/mpispike.Tpo" ".deps/mpispike.Plo"; else rm -f ".deps/mpispike.Tpo"; exit 1; fi
/usr/bin/mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src/oc -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -I../../src/nrnpython -I../../src/oc -g -O2 -MT mpispike.lo -MD -MP -MF .deps/mpispike.Tpo -c mpispike.c -fPIC -DPIC -o .libs/mpispike.o
mpispike.c: In function 'nrnmpi_int_sum_reduce':
mpispike.c:269: warning: passing argument 6 of 'MPI_Allreduce' makes pointer from integer without a cast
mpispike.c: In function 'nrnmpi_assert_opstep':
mpispike.c:279: warning: passing argument 5 of 'MPI_Bcast' makes pointer from integer without a cast
mpispike.c: In function 'nrnmpi_dbl_allmin':
mpispike.c:290: warning: passing argument 6 of 'MPI_Allreduce' makes pointer from integer without a cast
mpispike.c: In function 'nrnmpi_postrecv_doubles':
mpispike.c:305: warning: passing argument 7 of 'MPI_Irecv' from incompatible pointer type
mpispike.c: In function 'nrnmpi_wait':
mpispike.c:310: warning: passing argument 1 of 'MPI_Wait' from incompatible pointer type
mpispike.c: In function 'nrnmpi_dbl_allreduce':
mpispike.c:321: error: incompatible types in assignment
mpispike.c:323: error: incompatible types in assignment
mpispike.c:325: error: incompatible types in assignment
mpispike.c:327: error: incompatible type for argument 5 of mpispike.c:327: error: incompatible type for argument 5 of 'MPI_Allreduce'
/usr/bin/mpicc: No such file or directory
make[3]: *** [mpispike.lo] Error 1
make[3]: Leaving directory `/ad/eng/users/p/a/paladin/research/neuron/nrn/src/nrnmpi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ad/eng/users/p/a/paladin/research/neuron/nrn/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ad/eng/users/p/a/paladin/research/neuron/nrn'
make: *** [all] Error 2
-bash-3.00$ ls -l /usr/bin/mpicc
-rwxr-xr-x 1 root root 36936 Aug 8 2005 /usr/bin/mpicc