[24307] | 1 | Index: ../trunk-jpl/m4/issm_options.m4
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/m4/issm_options.m4 (revision 23610)
|
---|
| 4 | +++ ../trunk-jpl/m4/issm_options.m4 (revision 23611)
|
---|
| 5 | @@ -226,6 +226,11 @@
|
---|
| 6 | elif test $VENDOR = intel-lonestar; then
|
---|
| 7 | export CC=icc
|
---|
| 8 | export CXX=icpc
|
---|
| 9 | + elif test $VENDOR = intel-aurora; then
|
---|
| 10 | + export CC=icc
|
---|
| 11 | + export CXX=icpc
|
---|
| 12 | + export CXXFLAGS=" -O3 -D_INTEL_LINUX_ -DMPICH_IGNORE_CXX_SEEK"
|
---|
| 13 | + export CFLAGS=" -O3 -D_INTEL_LINUX_ -DMPICH_IGNORE_CXX_SEEK"
|
---|
| 14 | elif test $VENDOR = intel-discover; then
|
---|
| 15 | export CC=icc
|
---|
| 16 | export CXX=icpc
|
---|
| 17 | Index: ../trunk-jpl/externalpackages/petsc/install-3.6-aurora.sh
|
---|
| 18 | ===================================================================
|
---|
| 19 | --- ../trunk-jpl/externalpackages/petsc/install-3.6-aurora.sh (nonexistent)
|
---|
| 20 | +++ ../trunk-jpl/externalpackages/petsc/install-3.6-aurora.sh (revision 23611)
|
---|
| 21 | @@ -0,0 +1,58 @@
|
---|
| 22 | +#!/bin/bash
|
---|
| 23 | +set -eu
|
---|
| 24 | +
|
---|
| 25 | +#Some cleanup
|
---|
| 26 | +rm -rf install petsc-3.6.3 src
|
---|
| 27 | +mkdir install src
|
---|
| 28 | +
|
---|
| 29 | +#Download from ISSM server
|
---|
| 30 | +$ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/petsc-lite-3.6.3.tar.gz' 'petsc-3.6.3.tar.gz'
|
---|
| 31 | +
|
---|
| 32 | +#Untar and move petsc to install directory
|
---|
| 33 | +tar -zxvf petsc-3.6.3.tar.gz
|
---|
| 34 | +mv petsc-3.6.3/* src/
|
---|
| 35 | +rm -rf petsc-3.6.3
|
---|
| 36 | +
|
---|
| 37 | +#--with-cc=icc --with-cxx=icpc --with-fc=ifort --with-f77=ifort \
|
---|
| 38 | +
|
---|
| 39 | +#configure
|
---|
| 40 | +cd src
|
---|
| 41 | +./config/configure.py \
|
---|
| 42 | + --prefix="$ISSM_DIR/externalpackages/petsc/install" \
|
---|
| 43 | + --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
|
---|
| 44 | + --with-blas-lapack-dir="/opt/intel/composer_xe_2013.5.192/mkl/lib/intel64/" \
|
---|
| 45 | + --with-mpi-dir="/opt/intel/impi/4.1.3/intel64/" \
|
---|
| 46 | + --known-mpi-shared-libraries=1 \
|
---|
| 47 | + --with-debugging=0 \
|
---|
| 48 | + --with-valgrind=0 \
|
---|
| 49 | + --with-x=0 \
|
---|
| 50 | + --with-ssl=0 \
|
---|
| 51 | + --with-batch=1 \
|
---|
| 52 | + --with-shared-libraries=1 \
|
---|
| 53 | + --download-metis=1 \
|
---|
| 54 | + --download-parmetis=1 \
|
---|
| 55 | + --download-mumps=1 \
|
---|
| 56 | + --download-scalapack=1
|
---|
| 57 | +
|
---|
| 58 | +#prepare script to reconfigure petsc
|
---|
| 59 | +cat > script.queue << EOF
|
---|
| 60 | +#PBS -S /bin/bash
|
---|
| 61 | +#PBS -l select=1:ncpus=1:mpiprocs=1
|
---|
| 62 | +#PBS -l walltime=1:00:00
|
---|
| 63 | +#PBS -m e
|
---|
| 64 | +
|
---|
| 65 | +export RUN_DIR=$ISSM_DIR/externalpackages/petsc/src/
|
---|
| 66 | +
|
---|
| 67 | +source /usr/share/Modules/init/bash
|
---|
| 68 | +module load intel/cluster-toolkit-2013.5.192
|
---|
| 69 | +
|
---|
| 70 | +export PATH="$PATH:.:/opt/intel/impi/4.1.3/intel64/"
|
---|
| 71 | +export MPI_GROUP_MAX=64
|
---|
| 72 | +cd $RUN_DIR
|
---|
| 73 | +mpirun -np 1 ./conftest-arch-linux2-c-opt
|
---|
| 74 | +EOF
|
---|
| 75 | +
|
---|
| 76 | +#print instructions
|
---|
| 77 | +echo "== Now: cd src/ "
|
---|
| 78 | +echo "== qsub -q debugq script.queue "
|
---|
| 79 | +echo "== Then run reconfigure script generated by PETSc and follow instructions"
|
---|
| 80 |
|
---|
| 81 | Property changes on: ../trunk-jpl/externalpackages/petsc/install-3.6-aurora.sh
|
---|
| 82 | ___________________________________________________________________
|
---|
| 83 | Added: svn:executable
|
---|
| 84 | ## -0,0 +1 ##
|
---|
| 85 | +*
|
---|
| 86 | \ No newline at end of property
|
---|