source: issm/oecreview/Archive/13393-13976/ISSM-13792-13793.diff

Last change on this file was 13980, checked in by Mathieu Morlighem, 12 years ago

preparing oecreview for 13393-13976'

File size: 2.8 KB
RevLine 
[13980]1Index: ../trunk-jpl/externalpackages/petsc/install-dev-pleiades.sh
2===================================================================
3--- ../trunk-jpl/externalpackages/petsc/install-dev-pleiades.sh (revision 13792)
4+++ ../trunk-jpl/externalpackages/petsc/install-dev-pleiades.sh (revision 13793)
5@@ -1,8 +1,7 @@
6 #!/bin/bash
7-set -eu
8 #Step 0: download
9 #Step 1: install and write script
10-STEP=0
11+STEP=1
12
13 if [ $STEP -eq 0 ]; then
14 # Adapted from petsc 3.2.
15@@ -23,10 +22,13 @@
16 # Note: using metis from externalpackages did not work...
17 # for now downloading new metis
18 # -then rename metis in externalpackages to metis2
19+#
20+# --download-prometheus=yes \
21+#--download-superlu=http://crd.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz \
22+# --download-plapack=yes \
23+
24 if [ $STEP -eq 1 ]; then
25
26- mkdir install
27-
28 #configure
29 cd src
30 ./config/configure.py \
31@@ -35,13 +37,11 @@
32 --PETSC_ARCH="$ISSM_ARCH" \
33 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
34 --with-debugging=0 \
35- --with-shared-libraries=0 \
36+ --with-shared-libraries=1 \
37 --with-blas-lapack-dir=/nasa/intel/mkl/10.0.011/ \
38 --known-mpi-shared-libraries=1 \
39- --with-mpi-lib=/nasa/sgi/mpt/2.04/lib/libmpi.so \
40- --with-mpi-include=/nasa/sgi/mpt/2.04/include \
41+ --with-mpi=1 \
42 --download-mumps=yes \
43- --download-plapack=yes \
44 --download-scalapack=yes \
45 --download-blacs=yes \
46 --download-blas=yes \
47@@ -50,35 +50,29 @@
48 --download-metis=yes \
49 --download-trilinos=yes \
50 --download-euclid=yes \
51- --download-pastix=yes \
52- --download-ptscotch=yes \
53- --download-spooles=yes \
54 --download-spai=yes \
55- --download-superlu=yes \
56+ --download-superlu=http://crd.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz \
57 --download-hypre=yes \
58- --download-prometheus=yes \
59- --FFLAGS=-I/usr/include \
60- --with-cxx=icpc \
61- --with-cc=icc \
62- --with-fc=ifort \
63- --COPTFLAGS=" -O3 -xS" \
64- --FOPTFLAGS=" -O3 -xS" \
65- --CXXOPTFLAGS=" -O3 -xS" \
66- --with-pic=1
67+ --with-cxx=/nasa/sgi/mpt/2.06a67/bin/mpicxx \
68+ --with-fc=/nasa/sgi/mpt/2.06a67/bin/mpif90 \
69+ --COPTFLAGS="-lmpi -O3" \
70+ --FOPTFLAGS="-lmpi -O3" \
71+ --CXXOPTFLAGS="-lmpi -O3"
72 cat > script.queue << EOF
73 #PBS -S /bin/bash
74-#PBS -q debug
75-#PBS -l select=1:ncpus=1:model=har
76+#PBS -l select=1:ncpus=1:model=wes
77 #PBS -l walltime=200
78 #PBS -W group_list=s1010
79 #PBS -m e
80 . /usr/share/modules/init/bash
81-module load comp-intel/11.1.046
82-module load mpi-sgi/mpt.2.04 #DEFINES MPI_Type_create_indexed_block
83+module load comp-intel/2012.0.032
84+module load mpi-sgi/mpt.2.06a67
85 module load math/intel_mkl_64_10.0.011
86 export PATH="$PATH:."
87 export MPI_GROUP_MAX=64
88 mpiexec -np 1 ./conftest-linux-gnu-ia64-intel.py
89 EOF
90- echo "== Follow PETSc's instructions"
91+ echo "== Now: cd src/ "
92+ echo "== qsub -q devel script.queue "
93+ echo "== Then run reconfigure script generated by PETSc and follow instructions"
94 fi
Note: See TracBrowser for help on using the repository browser.