#ThisMonthInFluiddyn - Feb 2024 edition
A big one, where many FluidDyn packages starts rolling on wheels ๐ ๐ !
- FluidFFT, your user-friendly parallelized FFT package, is now so easy to install! Try:
pip install fluidfft pyfftw
-
The Pythran extensions comes pre-compiled!
-
FluidFFT v0.4.x has plugins now (one each for different MPI enabled Cython backends: FFTW, P3DFFT, PFFT ...) which requires Cython compilation1. This used to be part of FluidFFT in older versions.
https://fluidfft.readthedocs.io/en/latest/plugins.html
-
FluidSim our CFD package also gets pre-compiled Pythran extensions in wheels!
-
FluidImage the scalable PIV package gets its first release in many years, also gets wheels! Heads up for another minor release soon, with breaking changes:
https://fluidimage.readthedocs.io/en/latest/changes.html#release-notes
- All this was made possible by the new Meson support in Transonic
https://transonic.readthedocs.io/en/latest/packaging.html
and a bit of CI/CD stuff powered by cibuildwheel
# Installation in a ubuntu-based distro MPI+FFTW+fluidfft
sudo apt install openmpi-bin libopenmpi-dev
sudo apt install libfftw3-mpi-dev
python3 -m venv venv
source venv/bin/activate
pip install fluidfft mpi4py
pip install pyfftw # easiest FFTW backend to install
pip install fluidfft-fftw # optional sequential FluidFFT plugins
pip install fluidfft-fftwmpi fluidfft-mpi-with-fftw # optional parallelized FluidFFT plugins
-
These are source distributions (a.k.a. sdists /
*.tar.gz
files). You will need to install an MPI runtime + library and FFTW library to use them. In Ubuntu-based distro, the above instructions should work. ↩