- Timestamp:
- 03/04/20 16:38:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/petsc/install-3.12-linux-static.sh
r24632 r24637 7 7 VER="3.12.3" 8 8 9 ## Environment10 #11 12 9 # Download source 13 10 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/petsc-lite-${VER}.tar.gz" "petsc-${VER}.tar.gz" 14 11 15 12 # Unpack source 16 tar -zxvf 13 tar -zxvf petsc-${VER}.tar.gz 17 14 18 15 # Cleanup … … 40 37 --CXXFLAGS="-fPIC" \ 41 38 --FFLAGS="-fPIC" \ 42 --COPTFLAGS="-O 3" \43 --CXXOPTFLAGS="-O 3" \44 --FOPTFLAGS="-O 3" \39 --COPTFLAGS="-O2" \ 40 --CXXOPTFLAGS="-O2" \ 41 --FOPTFLAGS="-O2" \ 45 42 --with-debugging=0 \ 46 43 --with-valgrind=0 \ 47 44 --with-x=0 \ 48 45 --with-ssl=0 \ 49 --download-f 2cblaslapack=1 \46 --download-fblaslapack=1 \ 50 47 --download-mpich=1 \ 51 48 --download-metis=1 \ … … 55 52 56 53 # 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 54 make 55 make install
Note:
See TracChangeset
for help on using the changeset viewer.