Changeset 14329
- Timestamp:
- 02/07/13 16:15:33 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/petsc/install-3.3-walgreen.sh
r13818 r14329 1 1 #!/bin/bash 2 2 3 # #Some cleanup4 #rm -rf install petsc-3.3-p2 src5 #mkdir install src6 # 7 # #Download from ISSM server8 #$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p2.tar.gz' 'petsc-3.3-p2.tar.gz'9 # 10 # #Untar and move petsc to install directory11 #tar -zxvf petsc-3.3-p2.tar.gz12 #mv petsc-3.3-p2/* src/13 #rm -rf petsc-3.3-p23 #Some cleanup 4 rm -rf install petsc-3.3-p2 src 5 mkdir install src 6 7 #Download from ISSM server 8 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p2.tar.gz' 'petsc-3.3-p2.tar.gz' 9 10 #Untar and move petsc to install directory 11 tar -zxvf petsc-3.3-p2.tar.gz 12 mv petsc-3.3-p2/* src/ 13 rm -rf petsc-3.3-p2 14 14 15 15 #configure … … 18 18 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 19 19 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 20 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install \ 20 21 --with-debugging=0 \ 21 22 --with-shared-libraries=1 \ 22 23 --with-blas-lapack-dir=/opt/intel/mkl/10.0.1.014/ \ 23 --known-mpi-shared-libraries=1 \24 --with-mpi=1 \25 24 --download-mumps=yes \ 26 25 --download-blacs=yes \ 27 26 --download-blas=yes \ 28 27 --download-f-blas-lapack=yes \ 28 --download-scalapack=yes \ 29 29 --download-parmetis=yes \ 30 30 --download-metis=yes \ 31 --download-trilinos=yes \32 --download-euclid=yes \33 --download-spai=yes \34 31 --download-superlu=yes \ 35 --download-hypre=yes \ 36 --download-prometheus=yes \ 37 --with-cc=/opt/mpich/ch-p4/bin/mpicc \ 38 --with-cxx=/opt/mpich/ch-p4/bin/mpicxx \ 39 --with-fc=/opt/mpich/ch-p4/bin/mpif90 \ 40 --COPTFLAGS="-I/opt/mpich/ch-p4/include/ -lmpich -O3" \ 41 --FOPTFLAGS="-I/opt/mpich/ch-p4/include/ -lmpich -O3" \ 42 --CXXOPTFLAGS="-I/opt/mpich/ch-p4/include/ -lmpich -O3" 32 --download-hypre=yes 33 34 #Compile petsc and install it 35 make 36 make install
Note:
See TracChangeset
for help on using the changeset viewer.