Changeset 13794


Ignore:
Timestamp:
10/22/12 13:58:23 (12 years ago)
Author:
Eric.Larour
Message:

CHG: petsc 3.3 pleaides

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/petsc/install-3.3-pleiades.sh

    r13791 r13794  
    11#!/bin/bash
    2 set -eu
    32#Step 0: download
    43#Step 1: install and write script
    5 STEP=0
     4STEP=1
    65
    76if [ $STEP -eq 0 ]; then
     
    3231                --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
    3332                --with-debugging=0 \
    34                 --with-shared-libraries=0 \
     33                --with-shared-libraries=1 \
    3534                --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
    3635                --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 \
    3937                --download-mumps=yes \
    4038                --download-blacs=yes  \
     
    4543                --download-trilinos=yes \
    4644                --download-euclid=yes \
    47                 --download-pastix=yes \
    48                 --download-ptscotch=yes \
    49                 --download-spooles=yes \
    5045                --download-spai=yes \
    5146                --download-superlu=yes \
    5247                --download-hypre=yes \
    5348                --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"
    6254                cat > script.queue << EOF
    6355#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
    6657#PBS -l walltime=200
    6758#PBS -W group_list=s1010
    6859#PBS -m e
    6960. /usr/share/modules/init/bash
    70 module load comp-intel/11.1.046
    71 module load mpi-sgi/mpt.2.04  #DEFINES MPI_Type_create_indexed_block
     61module load comp-intel/2012.0.032
     62module load mpi-sgi/mpt.2.06a67 
    7263module load math/intel_mkl_64_10.0.011
    7364export PATH="$PATH:."
     
    7566mpiexec -np 1 ./conftest-linux-gnu-ia64-intel.py
    7667EOF
    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"
    7871fi
Note: See TracChangeset for help on using the changeset viewer.