Hello
I am trying to install fftw3.3.3 on an HPC system. The system has openmpi installed ( though we can choose between a variety of mpi distributions). However, while ./configure step of fftw, there is an error. The relevant section of the output is:
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ocamlbuild... no
checking for mpicc... mpicc
checking for MPI_Init... no
checking for MPI_Init in -lmpi... no
checking for MPI_Init in -lmpich... no
configure: error: could not find mpi library for --enable-mpi
The command i used was:
./configure --enable-float --enable-shared --enable-mpi --enable-threads --enable-sse2
I also installed mpich2 in my home folder and provided its path through MPICC variable (shown below) but i got the same error as above.
./configure --enable-sse2 --enable-mpi --enable-threads --enable-float MPICC=/home/aacharya/mpich-install/bin
Kindly help as i'm stuck with this.