Open paugier opened 2 years ago
Have you tried building FFTW yourself?
The following worked for me:
./configure --enable-gnu --enable-fftw --enable-openmpi --with-fftw=$HOME/fftw-3.3.10-install FC=mpif90 CC=mpicc LDFLAGS=-L/lib/x86_64-linux-gnu LIBS=-lm --prefix=$HOME/p3dfft-install
This is using commit https://github.com/sdsc/p3dfft/commit/b9d9528bf72eb84cdb0544f1a74e1769ae2efa0b - head of the repository at present.
Building FFTW
wget http://fftw.org/fftw-3.3.10.tar.gz
tar -xf fftw-3.3.10.tar.gz
cd fftw-3.3.10/
./configure --prefix=$HOME/fftw-3.3.10-install
make -j2
make install
./configure --prefix=$HOME/fftw-3.3.10-install --enable-shared
make -j2
make install
cd ..
Thanks @bkmgit. It works for me with your configure command (even without building fftw).
It would be nice to have the install procedure for Ubuntu/Debian systems written somewhere.
I don't know if we could be possible to install without libtool
, autoconf
, automake
?
@paugier Great. For many projects, configure script is part of releases, but not part of the Git sources, though possibly the configure script and dependencies used to generate it could be updated to resolve https://github.com/sdsc/p3dfft/issues/13
One can update the documentation at:
I try to build p3dfft on Ubuntu 20.04.
On Debian based systems, the fftw libs are in /usr/lib/x86_64-linux-gnu so it does not to just use
--with-fftw=/usr
.I copied the headers and the libraries in a special directory to please p3dfft:
Then, this configure command seems to work fine:
However, the make command fails:
So I tried to run:
Finally,
make
starts to compile something but finally, I getFrom this point, I don't know what to do... Help would be greatly appreciated to compile p3dfft on Ubuntu 20.04.