Reputation: 155
I am converting my parallel double precision fortran code that involves calls to FFTW3 and BLAS-LAPACK packages to parallel quadruple precision.
I have installed FFTW3 for quadruple precision as follows:
./configure --enable-quad-precision
described in: http://fftw.org/fftw3_doc/Installation-on-Unix.html#Installation-on-Unix
A sample serial code that calls these libraries works without any issues. I have linked to lquadmath here which tells me that the serial compiler gfortran has that library.
However, to install FFTW3 with parallel libraries requires another tag
./configure --enable-mpi --enable-quad-precision
When I try this there is an error:
configure: error: quad precision is not supported in MPI
Following is my install script for mpich-3.2.1:
./configure --enable-f90 F77=gfortran FC=gfortran CC=gcc
make
make install
I have tried a mpigather and mpiscatter test using REAL16 datatype (https://www.mpi-forum.org/docs/mpi-2.1/mpi21-report-bw/node330.htm) to scatter multiples of pi and it worked alright.
However, FFTW3 does not recognize this.. How do I proceed? Thankyou for your time.
Upvotes: 1
Views: 277