Changeset 20604
- Timestamp:
- 05/11/16 11:52:04 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/petsc/install-3.7-greenplanet.sh
r20600 r20604 4 4 #WARNING: make sure you have the right mpi 5 5 6 # Some cleanup7 rm -rf install petsc-3.7.0 src8 mkdir install src9 10 # Download from ISSM server11 $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 directory14 tar -zxvf petsc-3.7.0.tar.gz15 mv petsc-3.7.0/* src/16 rm -rf petsc-3.7.06 ##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 17 17 18 18 #configure … … 21 21 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 22 22 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 23 --with-blas-lapack-dir="/sopt/Intel/comp oser_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/" \ 25 25 --known-mpi-shared-libraries=1 \ 26 26 --with-debugging=0 \ … … 44 44 #SBATCH --job-name=test 45 45 46 module load compiler/intel/1 5.0.047 module load mpi/openmpi/1. 8.3/intel_15.0.046 module load compiler/intel/16.0.2 47 module load mpi/openmpi/1.10.2/intel_16.0.2 48 48 49 49 cd $(echo $ISSM_DIR)/externalpackages/petsc/src/
Note:
See TracChangeset
for help on using the changeset viewer.