Changeset 13100


Ignore:
Timestamp:
08/20/12 17:24:22 (13 years ago)
Author:
habbalf
Message:

CHG:Removed a step (Lapack install correctly now), Updated SuperLU download location

File:
1 edited

Legend:

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

    r12609 r13100  
    11#!/bin/bash
    22#Step 0: download
    3 #Step 1: install before plapack crasehs
    4 #Step 2: After Plapack implodes
     3#Step 1: install and write script
    54STEP=0
    65
     
    1918#      cd config/BuildSystem
    2019#      hg pull -u
    21 
    2220
    2321# configure script
     
    5654                --download-spooles=yes \
    5755                --download-spai=yes \
    58                 --download-superlu=http://crd.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz \
     56                --download-superlu=yes \
     57                --download-hypre=yes \
     58                --download-prometheus=yes \
    5959                --FFLAGS=-I/usr/include \
     60                --with-cxx=icpc \
    6061                --with-cc=icc \
    6162                --with-fc=ifort \
     
    6465                --CXXOPTFLAGS=" -O3 -xS" \
    6566                --with-pic=1
    66         echo "== Fix Plapack compilation manually (http://issm.jpl.nasa.gov/documentation/faq/petsc32/) =="
    67         echo "== Then run STEP=2 =="
    68 fi
    69 if [ $STEP -eq 2 ]; then
    70         cd src
    71         ./config/configure.py \
    72          --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    73          --with-batch=1  \
    74          --PETSC_ARCH="$ISSM_ARCH" \
    75          --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
    76          --with-debugging=0 \
    77          --with-shared-libraries=0 \
    78          --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
    79          --with-mpi-lib=/nasa/sgi/mpt/2.04/lib/libmpi.so \
    80          --with-mpi-include=/nasa/sgi/mpt/2.04/include  \
    81          --known-mpi-shared-libraries=1 \
    82          --download-mumps=yes \
    83          --download-scalapack=yes \
    84          --download-blacs=yes  \
    85          --download-blas=yes \
    86          --with-f-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/src/$ISSM_ARCH \
    87          --download-parmetis=yes \
    88          --download-metis=yes \
    89          --with-cxx=icpc \
    90          --download-hypre=yes \
    91          --download-trilinos=yes \
    92          --download-prometheus=yes \
    93          --download-euclid=yes \
    94          --download-pastix=yes \
    95          --download-ptscotch=yes \
    96          --download-spooles=yes \
    97          --download-superlu=http://crd.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz \
    98          --with-spai-dir=$ISSM_DIR/externalpackages/petsc/src/$ISSM_ARCH \
    99          --with-plapack-dir=$ISSM_DIR/externalpackages/petsc/src/$ISSM_ARCH \
    100          --FFLAGS=-I/usr/include \
    101          --with-cc=icc \
    102          --with-fc=ifort \
    103          --COPTFLAGS=" -O3 -xS" \
    104          --FOPTFLAGS=" -O3 -xS" \
    105          --CXXOPTFLAGS=" -O3 -xS" \
    106          --with-pic=1
    107          cat > script.queue << EOF
     67                cat > script.queue << EOF
    10868#PBS -S /bin/bash
    10969#PBS -q debug
Note: See TracChangeset for help on using the changeset viewer.