Index: ../trunk-jpl/externalpackages/petsc/install-3.17-pleiades.sh =================================================================== --- ../trunk-jpl/externalpackages/petsc/install-3.17-pleiades.sh (nonexistent) +++ ../trunk-jpl/externalpackages/petsc/install-3.17-pleiades.sh (revision 27192) @@ -0,0 +1,47 @@ +#!/bin/bash +set -eu + +## Constants +VER="3.17.4" + +# Download source +$ISSM_DIR/scripts/DownloadExternalPackage.sh "https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz" + +# Unpack source +tar -zxvf petsc-${VER}.tar.gz + +# Cleanup +rm -rf install src +mkdir install src + +# Move source to 'src' directory +mv petsc-${VER}/* src/ +rm -rf petsc-${VER} + +#options from cat /nasa/petsc/3.14.5_toss3/lib/petsc/conf/petscvariables | grep CONF +cd src +./configure \ + --prefix="${ISSM_DIR}/externalpackages/petsc/install" \ + --PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" \ + --with-blas-lapack-dir="/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl" \ + --with-scalapack-include="/nasa/intel/Compiler/2018.3.222/mkl/include" \ + --with-scalapack-lib="/nasa/intel/Compiler/2018.3.222/mkl/lib/intel64/libmkl_scalapack_lp64.so /nasa/intel/Compiler/2018.3.222/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so" \ + --CFLAGS="-g -O3" \ + --CXXFLAGS="-g -O3" \ + --FFLAGS="-g -O3" \ + --with-make-np=10 \ + --with-batch=1 \ + --with-pic=1 \ + --with-shared-libraries=1 \ + --with-debugging=0 \ + --with-valgrind=0 \ + --with-x=0 \ + --with-ssl=0 \ + --download-make=1 \ + --download-metis=1 \ + --download-parmetis=1 \ + --download-mumps=1 + +# Compile and install +make +make install Property changes on: ../trunk-jpl/externalpackages/petsc/install-3.17-pleiades.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property