Changeset 13793


Ignore:
Timestamp:
10/22/12 13:54:12 (12 years ago)
Author:
habbalf
Message:

Updating petsc script for pleiades

File:
1 edited

Legend:

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

    r13246 r13793  
    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
     
    2423# for now downloading new metis
    2524#   -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
    2630if [ $STEP -eq 1 ]; then
    27 
    28         mkdir install
    2931
    3032        #configure
     
    3638                --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
    3739                --with-debugging=0 \
    38                 --with-shared-libraries=0 \
     40                --with-shared-libraries=1 \
    3941                --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
    4042                --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 \
    4344                --download-mumps=yes \
    44                 --download-plapack=yes \
    4545                --download-scalapack=yes \
    4646                --download-blacs=yes  \
     
    5151                --download-trilinos=yes \
    5252                --download-euclid=yes \
    53                 --download-pastix=yes \
    54                 --download-ptscotch=yes \
    55                 --download-spooles=yes \
    5653                --download-spai=yes \
    57                 --download-superlu=yes \
     54                --download-superlu=http://crd.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz \
    5855                --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"
    6861                cat > script.queue << EOF
    6962#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
    7264#PBS -l walltime=200
    7365#PBS -W group_list=s1010
    7466#PBS -m e
    7567. /usr/share/modules/init/bash
    76 module load comp-intel/11.1.046
    77 module load mpi-sgi/mpt.2.04  #DEFINES MPI_Type_create_indexed_block
     68module load comp-intel/2012.0.032
     69module load mpi-sgi/mpt.2.06a67 
    7870module load math/intel_mkl_64_10.0.011
    7971export PATH="$PATH:."
     
    8173mpiexec -np 1 ./conftest-linux-gnu-ia64-intel.py
    8274EOF
    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"
    8478fi
Note: See TracChangeset for help on using the changeset viewer.