Changeset 13794
- Timestamp:
- 10/22/12 13:58:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/petsc/install-3.3-pleiades.sh
r13791 r13794 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 … … 32 31 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 33 32 --with-debugging=0 \ 34 --with-shared-libraries= 0\33 --with-shared-libraries=1 \ 35 34 --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \ 36 35 --known-mpi-shared-libraries=1 \ 37 --with-mpi-lib=/nasa/sgi/mpt/2.04/lib/libmpi.so \ 38 --with-mpi-include=/nasa/sgi/mpt/2.04/include \ 36 --with-mpi=1 \ 39 37 --download-mumps=yes \ 40 38 --download-blacs=yes \ … … 45 43 --download-trilinos=yes \ 46 44 --download-euclid=yes \ 47 --download-pastix=yes \48 --download-ptscotch=yes \49 --download-spooles=yes \50 45 --download-spai=yes \ 51 46 --download-superlu=yes \ 52 47 --download-hypre=yes \ 53 48 --download-prometheus=yes \ 54 --FFLAGS=-I/usr/include \ 55 --with-cxx=icpc \ 56 --with-cc=icc \ 57 --with-fc=ifort \ 58 --COPTFLAGS=" -O3 -xS" \ 59 --FOPTFLAGS=" -O3 -xS" \ 60 --CXXOPTFLAGS=" -O3 -xS" \ 61 --with-pic=1 49 --with-cxx=/nasa/sgi/mpt/2.06a67/bin/mpicxx \ 50 --with-fc=/nasa/sgi/mpt/2.06a67/bin/mpif90 \ 51 --COPTFLAGS="-lmpi -O3" \ 52 --FOPTFLAGS="-lmpi -O3" \ 53 --CXXOPTFLAGS="-lmpi -O3" 62 54 cat > script.queue << EOF 63 55 #PBS -S /bin/bash 64 #PBS -q debug 65 #PBS -l select=1:ncpus=1:model=har 56 #PBS -l select=1:ncpus=1:model=wes 66 57 #PBS -l walltime=200 67 58 #PBS -W group_list=s1010 68 59 #PBS -m e 69 60 . /usr/share/modules/init/bash 70 module load comp-intel/ 11.1.04671 module load mpi-sgi/mpt.2.0 4 #DEFINES MPI_Type_create_indexed_block61 module load comp-intel/2012.0.032 62 module load mpi-sgi/mpt.2.06a67 72 63 module load math/intel_mkl_64_10.0.011 73 64 export PATH="$PATH:." … … 75 66 mpiexec -np 1 ./conftest-linux-gnu-ia64-intel.py 76 67 EOF 77 echo "== Follow PETSc's instructions" 68 echo "== Now: cd src/ " 69 echo "== qsub -q devel script.queue " 70 echo "== Then run reconfigure script generated by PETSc and follow instructions" 78 71 fi
Note:
See TracChangeset
for help on using the changeset viewer.