Changeset 20604


Ignore:
Timestamp:
05/11/16 11:52:04 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed petsc 3.7 with new compilers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/petsc/install-3.7-greenplanet.sh

    r20600 r20604  
    44#WARNING: make sure you have the right mpi
    55
    6 #Some cleanup
    7 rm -rf install petsc-3.7.0 src
    8 mkdir install src
    9 
    10 #Download from ISSM server
    11 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.7.0.tar.gz' 'petsc-3.7.0.tar.gz'
    12 
    13 #Untar and move petsc to install directory
    14 tar -zxvf  petsc-3.7.0.tar.gz
    15 mv petsc-3.7.0/* src/
    16 rm -rf petsc-3.7.0
     6##Some cleanup
     7#rm -rf install petsc-3.7.0 src
     8#mkdir install src
     9#
     10##Download from ISSM server
     11#$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.7.0.tar.gz' 'petsc-3.7.0.tar.gz'
     12#
     13##Untar and move petsc to install directory
     14#tar -zxvf  petsc-3.7.0.tar.gz
     15#mv petsc-3.7.0/* src/
     16#rm -rf petsc-3.7.0
    1717
    1818#configure
     
    2121 --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    2222 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
    23  --with-blas-lapack-dir="/sopt/Intel/composer_xe_2015.0.090/mkl/" \
    24  --with-mpi-dir="/sopt/mpi/openmpi-1.8.3/intel_15.0.0/bin/" \
     23 --with-blas-lapack-dir="/sopt/Intel/compilers_and_libraries_2016.2.181/linux/mkl/" \
     24 --with-mpi-dir="/sopt/mpi/openmpi-1.10.2/intel_16.0.2/" \
    2525 --known-mpi-shared-libraries=1 \
    2626 --with-debugging=0 \
     
    4444#SBATCH --job-name=test
    4545
    46 module load compiler/intel/15.0.0
    47 module load mpi/openmpi/1.8.3/intel_15.0.0
     46module load compiler/intel/16.0.2
     47module load mpi/openmpi/1.10.2/intel_16.0.2
    4848
    4949cd $(echo $ISSM_DIR)/externalpackages/petsc/src/
Note: See TracChangeset for help on using the changeset viewer.