Hello,
I'm trying to modify the math/fftw3 port to enable building the MPI versions of the libraries with MPICH (the current port already has an option to build with OpenMPI). I modified the port by adding this section to the Makefile:
I test the build using:
sudo poudriere testport -j 114amd64 -p default -o math/fftw3
The test fails and the log says:
So, MPI is shown as being on. But then the configure script output shows MPI being turned on then off:
I can't figure out where '--disble-mpi' is coming from. I can build fftw3 outside the ports system and it finds and uses MPICH, so I don't think the problem is inherent to fftw3.
I would appreciate any help in debugging this.
Thanks,
sprock
I'm trying to modify the math/fftw3 port to enable building the MPI versions of the libraries with MPICH (the current port already has an option to build with OpenMPI). I modified the port by adding this section to the Makefile:
Code:
MPI_DESC= Build MPICH parallel libraries
MPI_LIB_DEPENDS= libmpi.so:net/mpich
MPI_CONFIGURE_ENABLE= mpi
MPI_CONFIGURE_ENV= MPICC=${LOCALBASE}/bin/mpicc \
MPIRUN=${LOCALBASE}/bin/mpirun
I test the build using:
sudo poudriere testport -j 114amd64 -p default -o math/fftw3
The test fails and the log says:
Code:
--Begin OPTIONS List---
===> The following configuration options are available for fftw3-3.3.8_7:
G77_WRAPPERS=off: Alter Fortran wrappers for use with g77
MPI=on: Build MPICH parallel libraries
OPENMP=on: Build OpenMP multithreaded libraries
OPENMPI=off: Build OpenMPI parallel libraries
OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
SIMD=on: Use CPU-specific optimizations
===> Use 'make config' to modify these settings
---End OPTIONS List---
So, MPI is shown as being on. But then the configure script output shows MPI being turned on then off:
Code:
--CONFIGURE_ARGS--
--enable-shared --enable-threads --disable-fortran --enable-mpi --enable-openmp --disable-mpi --enable-sse2 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
I can't figure out where '--disble-mpi' is coming from. I can build fftw3 outside the ports system and it finds and uses MPICH, so I don't think the problem is inherent to fftw3.
I would appreciate any help in debugging this.
Thanks,
sprock