source:
issm/oecreview/Archive/23390-24306/ISSM-23610-23611.diff
Last change on this file was 24307, checked in by , 5 years ago | |
---|---|
File size: 2.7 KB |
-
../trunk-jpl/m4/issm_options.m4
226 226 elif test $VENDOR = intel-lonestar; then 227 227 export CC=icc 228 228 export CXX=icpc 229 elif test $VENDOR = intel-aurora; then 230 export CC=icc 231 export CXX=icpc 232 export CXXFLAGS=" -O3 -D_INTEL_LINUX_ -DMPICH_IGNORE_CXX_SEEK" 233 export CFLAGS=" -O3 -D_INTEL_LINUX_ -DMPICH_IGNORE_CXX_SEEK" 229 234 elif test $VENDOR = intel-discover; then 230 235 export CC=icc 231 236 export CXX=icpc -
../trunk-jpl/externalpackages/petsc/install-3.6-aurora.sh
1 #!/bin/bash 2 set -eu 3 4 #Some cleanup 5 rm -rf install petsc-3.6.3 src 6 mkdir install src 7 8 #Download from ISSM server 9 $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' 10 11 #Untar and move petsc to install directory 12 tar -zxvf petsc-3.6.3.tar.gz 13 mv petsc-3.6.3/* src/ 14 rm -rf petsc-3.6.3 15 16 #--with-cc=icc --with-cxx=icpc --with-fc=ifort --with-f77=ifort \ 17 18 #configure 19 cd src 20 ./config/configure.py \ 21 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 22 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 23 --with-blas-lapack-dir="/opt/intel/composer_xe_2013.5.192/mkl/lib/intel64/" \ 24 --with-mpi-dir="/opt/intel/impi/4.1.3/intel64/" \ 25 --known-mpi-shared-libraries=1 \ 26 --with-debugging=0 \ 27 --with-valgrind=0 \ 28 --with-x=0 \ 29 --with-ssl=0 \ 30 --with-batch=1 \ 31 --with-shared-libraries=1 \ 32 --download-metis=1 \ 33 --download-parmetis=1 \ 34 --download-mumps=1 \ 35 --download-scalapack=1 36 37 #prepare script to reconfigure petsc 38 cat > script.queue << EOF 39 #PBS -S /bin/bash 40 #PBS -l select=1:ncpus=1:mpiprocs=1 41 #PBS -l walltime=1:00:00 42 #PBS -m e 43 44 export RUN_DIR=$ISSM_DIR/externalpackages/petsc/src/ 45 46 source /usr/share/Modules/init/bash 47 module load intel/cluster-toolkit-2013.5.192 48 49 export PATH="$PATH:.:/opt/intel/impi/4.1.3/intel64/" 50 export MPI_GROUP_MAX=64 51 cd $RUN_DIR 52 mpirun -np 1 ./conftest-arch-linux2-c-opt 53 EOF 54 55 #print instructions 56 echo "== Now: cd src/ " 57 echo "== qsub -q debugq script.queue " 58 echo "== Then run reconfigure script generated by PETSc and follow instructions"
Note:
See TracBrowser
for help on using the repository browser.