Ignore:
Timestamp:
03/04/20 16:38:00 (5 years ago)
Author:
jdquinn
Message:

CHG: Updated configuration for Mac to use PETSc 3.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/petsc/install-3.12-linux-static.sh

    r24632 r24637  
    77VER="3.12.3"
    88
    9 ## Environment
    10 #
    11 
    129# Download source
    1310$ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz"
    1411
    1512# Unpack source
    16 tar -zxvf  petsc-${VER}.tar.gz
     13tar -zxvf petsc-${VER}.tar.gz
    1714
    1815# Cleanup
     
    4037        --CXXFLAGS="-fPIC" \
    4138        --FFLAGS="-fPIC" \
    42         --COPTFLAGS="-O3" \
    43         --CXXOPTFLAGS="-O3" \
    44         --FOPTFLAGS="-O3" \
     39        --COPTFLAGS="-O2" \
     40        --CXXOPTFLAGS="-O2" \
     41        --FOPTFLAGS="-O2" \
    4542        --with-debugging=0 \
    4643        --with-valgrind=0 \
    4744        --with-x=0 \
    4845        --with-ssl=0 \
    49         --download-f2cblaslapack=1 \
     46        --download-fblaslapack=1 \
    5047        --download-mpich=1 \
    5148        --download-metis=1 \
     
    5552
    5653# Compile and install
    57 if [ $# -eq 0 ]; then
    58         make
    59         make install
    60 else
    61         make -j $1
    62         make -j $1 install
    63 fi
     54make
     55make install
Note: See TracChangeset for help on using the changeset viewer.