Changeset 13793
- Timestamp:
- 10/22/12 13:54:12 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/externalpackages/petsc/install-dev-pleiades.sh ¶
r13246 r13793 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 … … 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 28 mkdir install29 31 30 32 #configure … … 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 \ … … 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:." … … 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 TracChangeset
for help on using the changeset viewer.