#!/bin/sh # sit class file # # Christoph Niethammer (C) 2012 # CATEGORY="numlib" PACKAGE="petsc" VERSION="3.3-p5" URL="http://www.mcs.anl.gov/petsc/" INSTALLER="Christoph Niethammer " # Archive A and package name P A=${PACKAGE}-${VERSION}.tar.gz P=${PACKAGE}-${VERSION} case $COMPILER in gnu) ARCH=linux-gnu ;; intel) ARCH=linux-gnu-intel ;; esac BUILDDIR=$SRCDIR # Other interesting configure options: # --enable-mpi-threads # --enable-progress-threads CONFIGURE_OPTS=" --CC=$MPICC --CXX=$MPICXX --FC=$MPIFC \ --with-mpiexec=mpirun \ PETSC_ARCH=$ARCH \ --download-f-blas-lapack=$SRC_POOL/fblaslapack-3.1.1.tar.gz \ --with-scalar-type=complex \ --with-clanguage=cxx \ --with-fortran-kernels=generic \ " src_pretest() { make PETSC_DIR=$SRCDIR PETSC_ARCH=$ARCH test }