source:
issm/oecreview/Archive/13393-13976/ISSM-13792-13793.diff@
14312
Last change on this file since 14312 was 13980, checked in by , 12 years ago | |
---|---|
File size: 2.8 KB |
-
../trunk-jpl/externalpackages/petsc/install-dev-pleiades.sh
1 1 #!/bin/bash 2 set -eu3 2 #Step 0: download 4 3 #Step 1: install and write script 5 STEP= 04 STEP=1 6 5 7 6 if [ $STEP -eq 0 ]; then 8 7 # Adapted from petsc 3.2. … … 23 22 # Note: using metis from externalpackages did not work... 24 23 # for now downloading new metis 25 24 # -then rename metis in externalpackages to metis2 25 # 26 # --download-prometheus=yes \ 27 #--download-superlu=http://crd.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz \ 28 # --download-plapack=yes \ 29 26 30 if [ $STEP -eq 1 ]; then 27 31 28 mkdir install29 30 32 #configure 31 33 cd src 32 34 ./config/configure.py \ … … 35 37 --PETSC_ARCH="$ISSM_ARCH" \ 36 38 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 37 39 --with-debugging=0 \ 38 --with-shared-libraries= 0\40 --with-shared-libraries=1 \ 39 41 --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \ 40 42 --known-mpi-shared-libraries=1 \ 41 --with-mpi-lib=/nasa/sgi/mpt/2.04/lib/libmpi.so \ 42 --with-mpi-include=/nasa/sgi/mpt/2.04/include \ 43 --with-mpi=1 \ 43 44 --download-mumps=yes \ 44 --download-plapack=yes \45 45 --download-scalapack=yes \ 46 46 --download-blacs=yes \ 47 47 --download-blas=yes \ … … 50 50 --download-metis=yes \ 51 51 --download-trilinos=yes \ 52 52 --download-euclid=yes \ 53 --download-pastix=yes \54 --download-ptscotch=yes \55 --download-spooles=yes \56 53 --download-spai=yes \ 57 --download-superlu= yes\54 --download-superlu=http://crd.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz \ 58 55 --download-hypre=yes \ 59 --download-prometheus=yes \ 60 --FFLAGS=-I/usr/include \ 61 --with-cxx=icpc \ 62 --with-cc=icc \ 63 --with-fc=ifort \ 64 --COPTFLAGS=" -O3 -xS" \ 65 --FOPTFLAGS=" -O3 -xS" \ 66 --CXXOPTFLAGS=" -O3 -xS" \ 67 --with-pic=1 56 --with-cxx=/nasa/sgi/mpt/2.06a67/bin/mpicxx \ 57 --with-fc=/nasa/sgi/mpt/2.06a67/bin/mpif90 \ 58 --COPTFLAGS="-lmpi -O3" \ 59 --FOPTFLAGS="-lmpi -O3" \ 60 --CXXOPTFLAGS="-lmpi -O3" 68 61 cat > script.queue << EOF 69 62 #PBS -S /bin/bash 70 #PBS -q debug 71 #PBS -l select=1:ncpus=1:model=har 63 #PBS -l select=1:ncpus=1:model=wes 72 64 #PBS -l walltime=200 73 65 #PBS -W group_list=s1010 74 66 #PBS -m e 75 67 . /usr/share/modules/init/bash 76 module load comp-intel/ 11.1.04677 module load mpi-sgi/mpt.2.0 4 #DEFINES MPI_Type_create_indexed_block68 module load comp-intel/2012.0.032 69 module load mpi-sgi/mpt.2.06a67 78 70 module load math/intel_mkl_64_10.0.011 79 71 export PATH="$PATH:." 80 72 export MPI_GROUP_MAX=64 81 73 mpiexec -np 1 ./conftest-linux-gnu-ia64-intel.py 82 74 EOF 83 echo "== Follow PETSc's instructions" 75 echo "== Now: cd src/ " 76 echo "== qsub -q devel script.queue " 77 echo "== Then run reconfigure script generated by PETSc and follow instructions" 84 78 fi
Note:
See TracBrowser
for help on using the repository browser.