Skip to content

Instantly share code, notes, and snippets.

@hiracchi
Created March 13, 2015 04:02
Show Gist options
  • Save hiracchi/4ab14a7907df1f25aaaf to your computer and use it in GitHub Desktop.
Save hiracchi/4ab14a7907df1f25aaaf to your computer and use it in GitHub Desktop.
build script for ProteinDF on FX10
#!/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