Skip to content

Instantly share code, notes, and snippets.

@derekbrokeit
Last active December 9, 2015 23:08
Show Gist options
  • Save derekbrokeit/4341912 to your computer and use it in GitHub Desktop.
Save derekbrokeit/4341912 to your computer and use it in GitHub Desktop.
configure fftw on nec-sx platform ... why do you taunt me?! The diff file is here: https://gist.github.com/4341920 If the machine has a permission error, just move to the "builder" directory and run `make && make install` again ... and again ... and again .. until it finally works
#!/bin/sh
# fix the configure files
patch -p1 config.guess < fix-config-sx9.diff
# make the build directory
mkdir -p builder
cd builder
# configure
../configure --host=sx9-nec-superux CC=sxcc CCAS=sxas CCASFLAGS='-m -F' CXX=sxc++ MPICC=sxmpicc MPIF77=sxmpif77 F77=sxf90 F90=sxf90 FC=sxf90 AR=sxar LD=sxld RANLIB=echo --prefix=$HOME/local/sx CFLAGS='-Cvsafe -size_t64' --enable-mpi --enable-shared=yes
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment