Changeset 13100
- Timestamp:
- 08/20/12 17:24:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/petsc/install-dev-pleiades.sh
r12609 r13100 1 1 #!/bin/bash 2 2 #Step 0: download 3 #Step 1: install before plapack crasehs 4 #Step 2: After Plapack implodes 3 #Step 1: install and write script 5 4 STEP=0 6 5 … … 19 18 # cd config/BuildSystem 20 19 # hg pull -u 21 22 20 23 21 # configure script … … 56 54 --download-spooles=yes \ 57 55 --download-spai=yes \ 58 --download-superlu=http://crd.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz \ 56 --download-superlu=yes \ 57 --download-hypre=yes \ 58 --download-prometheus=yes \ 59 59 --FFLAGS=-I/usr/include \ 60 --with-cxx=icpc \ 60 61 --with-cc=icc \ 61 62 --with-fc=ifort \ … … 64 65 --CXXOPTFLAGS=" -O3 -xS" \ 65 66 --with-pic=1 66 echo "== Fix Plapack compilation manually (http://issm.jpl.nasa.gov/documentation/faq/petsc32/) ==" 67 echo "== Then run STEP=2 ==" 68 fi 69 if [ $STEP -eq 2 ]; then 70 cd src 71 ./config/configure.py \ 72 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 73 --with-batch=1 \ 74 --PETSC_ARCH="$ISSM_ARCH" \ 75 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 76 --with-debugging=0 \ 77 --with-shared-libraries=0 \ 78 --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \ 79 --with-mpi-lib=/nasa/sgi/mpt/2.04/lib/libmpi.so \ 80 --with-mpi-include=/nasa/sgi/mpt/2.04/include \ 81 --known-mpi-shared-libraries=1 \ 82 --download-mumps=yes \ 83 --download-scalapack=yes \ 84 --download-blacs=yes \ 85 --download-blas=yes \ 86 --with-f-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/src/$ISSM_ARCH \ 87 --download-parmetis=yes \ 88 --download-metis=yes \ 89 --with-cxx=icpc \ 90 --download-hypre=yes \ 91 --download-trilinos=yes \ 92 --download-prometheus=yes \ 93 --download-euclid=yes \ 94 --download-pastix=yes \ 95 --download-ptscotch=yes \ 96 --download-spooles=yes \ 97 --download-superlu=http://crd.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz \ 98 --with-spai-dir=$ISSM_DIR/externalpackages/petsc/src/$ISSM_ARCH \ 99 --with-plapack-dir=$ISSM_DIR/externalpackages/petsc/src/$ISSM_ARCH \ 100 --FFLAGS=-I/usr/include \ 101 --with-cc=icc \ 102 --with-fc=ifort \ 103 --COPTFLAGS=" -O3 -xS" \ 104 --FOPTFLAGS=" -O3 -xS" \ 105 --CXXOPTFLAGS=" -O3 -xS" \ 106 --with-pic=1 107 cat > script.queue << EOF 67 cat > script.queue << EOF 108 68 #PBS -S /bin/bash 109 69 #PBS -q debug
Note:
See TracChangeset
for help on using the changeset viewer.