Created
March 13, 2015 04:02
-
-
Save hiracchi/4ab14a7907df1f25aaaf to your computer and use it in GitHub Desktop.
build script for ProteinDF on FX10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export F77=mpifrtpx | |
export CC=mpifccpx | |
export CXX=mpiFCCpx | |
export MPICXX=mpiFCCpx | |
export CFLAGS=" \ | |
-DHAVE_CONFIG_H \ | |
-O3 -Kfast -Kocl -Kpreex -Karray_private -Kregion_extension -Kparallel \ | |
-Kopenmp \ | |
-SSL2BLAMP -SCALAPACK" | |
export CXXFLAGS=$CFLAGS | |
export LIBS=$CFLAGS | |
export FLIBS="-lm" | |
CONFIGURE_OPTS=" \ | |
--host=sparc64-unknown-linux-gnu \ | |
--prefix=$HOME/local/ProteinDF \ | |
--disable-shared \ | |
--enable-parallel \ | |
--with-blas=yes --with-lapack=yes --with-scalapack=yes" | |
./bootstrap.sh | |
./configure $CONFIGURE_OPTS 2>&1 | tee out.configure | |
make -j 4 2>&1 | tee out.make | |
make install 2>&1 | tee out.make_install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment