Skip to content

Instantly share code, notes, and snippets.

@elehcim
Created August 24, 2017 10:36
Show Gist options
  • Save elehcim/d6cf49e1ade5b3dd013ce280f8625be2 to your computer and use it in GitHub Desktop.
Save elehcim/d6cf49e1ade5b3dd013ce280f8625be2 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo -v
wget http://www.fftw.org/fftw-2.1.5.tar.gz
tar -xzf fftw-2.1.5.tar.gz
cd fftw-2.1.5
# single precision
./configure --enable-mpi --enable-type-prefix --enable-float && make -j4
sudo make install
make clean
# double precision
./configure --enable-mpi --enable-type-prefix && make -j4
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment