#reddish.sandia.gov
#PGI 6.0 cross for Red Storm:
source /opt/modules/default/init/bash;
module load PrgEnv-pgi-xc;
../configure --cache-file=config.cache --host=i686-intel-linux \
--with-gnumake \
--enable-nox-epetra \
--enable-aztecoo-azlu \
--enable-aztecoo \
--enable-amesos \
--enable-epetra \
--enable-epetraext \
--enable-ifpack \
--enable-intrepid \
--enable-loca \
--enable-nox \
--enable-new_package \
--without-ml_superlu \
--enable-ml \
--without-ml_zoltan \
--without-ml_parmetis3x \
--enable-teuchos \
--enable-triutils \
--enable-anasazi \
--enable-epetraext-transform \
--disable-default-packages \
--disable-ml_enrich \
--disable-dependency-tracking \
--with-blas="-L/home/jmwille/TPL/lapackblas/3.0/lib/opt_storm -llapack -L/home/jmwille/TPL/lapackblas/3.0/lib/opt_storm -lblas" \
--with-lapack="-L/home/jmwille/TPL/lapackblas/3.0/lib/opt_storm -llapack -L/home/jmwille/TPL/lapackblas/3.0/lib/opt_storm -lblas" \
--with-incdirs="-I/home/jmwille/TPL/superlu/1.1/include" \
--with-ldflags="-L/home/jmwille/TPL/y12m/1.0/lib/opt_storm -ly12m -L/home/jmwille/TPL/superlu/1.1/lib/opt_storm -lsuperlu" \
--with-libs="-L/dev/null" --enable-mpi --with-mpi-incdir="" \
--with-mpi-libdir="" --with-mpi-libs="" \
CC="cc -tp k8-64 -fast" \
CXX="CC -tp k8-64 -fast" \
F77="ftn -tp k8-64 -fast" \
CPPFLAGS="-DMPICH_SKIP_MPICXX -DNDEBUG -I/home/jmwille/TPL/superlu/1.1/include" \
CFLAGS="" CXXFLAGS="" FFLAGS="" LDFLAGS=" " \
FLIBS="-lpgf90 -lpgf90_rpm1 -lpgf902 -lpgf90rtl -lpgftnrtl" \
        --with-ar="ar rcv" \
--enable-claps \
--enable-didasko \
--enable-kokkos \
--enable-komplex \
--enable-pliris \
--enable-thyra \
--enable-teuchos-complex \
--enable-belos \
--enable-sacado \
--enable-sacado-alltests \
--with-cppunit-prefix=/home/etphipp/cppunit-1.10.2/build_redstorm/install \
--with-adolc=/home/etphipp/adolc-1.10.1/build_redstorm/install \
--enable-stratimikos \
--enable-meros \
--enable-rtop \
--enable-rythmos \
--enable-moocho \
--enable-tpetra \
--enable-trilinoscouplings \
--enable-moertel \
--enable-galeri \
--enable-isorropia

