Changeset 20599


Ignore:
Timestamp:
05/10/16 15:30:50 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: better script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/petsc/install-3.5-greenplanet.sh

    r19058 r20599  
    2121 --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    2222 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
    23  --with-blas-lapack-dir="/opt/intel/mkl/10.2.4.032/" \
    24  --with-mpi-dir="/sopt/mpi/openmpi-1.5.4_psm/intel/" \
     23 --with-blas-lapack-dir="/sopt/Intel/composer_xe_2015.0.090/mkl/" \
     24 --with-mpi-dir="/sopt/mpi/openmpi-1.8.3/intel_15.0.0/bin/" \
    2525 --known-mpi-shared-libraries=1 \
    2626 --with-debugging=0 \
     
    3333 --download-parmetis=1 \
    3434 --download-scalapack=1 \
    35  --download-mumps=1 \
    36  --COPTFLAGS="-lmpi -O3" \
    37  --FOPTFLAGS="-lmpi -O3" \
    38  --CXXOPTFLAGS="-lmpi -O3"
     35 --download-mumps=1
    3936
    4037#prepare script to reconfigure petsc
    4138cat > script.queue << EOF
    42 #PBS -S /bin/bash
    43 #PBS -l nodes=1:ppn=1
    44 #PBS -q c6145
    45 #PBS -l walltime=10
     39#!/bin/bash
     40#SBATCH -p c6145
     41#SBATCH -N 1 -n 1
     42#SBATCH --mem-per-cpu=1gb
     43#SBATCH --time=10
     44#SBATCH --job-name=test
     45
     46module load compiler/intel/15.0.0
     47module load mpi/openmpi/1.8.3/intel_15.0.0
    4648
    4749cd $(echo $ISSM_DIR)/externalpackages/petsc/src/
     
    5153#print instructions
    5254echo "== Now: cd src/ "
    53 echo "== qsub script.queue "
     55echo "== sbatch script.queue "
    5456echo "== Then run reconfigure script generated by PETSc and follow instructions"
Note: See TracChangeset for help on using the changeset viewer.