1 |
|
---|
2 | #-------------------------------#
|
---|
3 | # 1: ISSM general configuration #
|
---|
4 | #-------------------------------#
|
---|
5 |
|
---|
6 | #ISSM CONFIGURATION
|
---|
7 | ISSM_CONFIG='--prefix=$ISSM_DIR \
|
---|
8 | --with-matlab-dir=$MATLAB_DIR \
|
---|
9 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
10 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
---|
11 | --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lpmpich -lmpich -lmpl" \
|
---|
12 | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
13 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
|
---|
14 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
15 | --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
16 | --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
|
---|
17 | --with-chaco-dir="$ISSM_DIR/externalpackages/chaco/install" \
|
---|
18 | --with-numthreads=8 \
|
---|
19 | --enable-debugging \
|
---|
20 | --enable-development'
|
---|
21 |
|
---|
22 | #MATLAB path
|
---|
23 | MATLAB_PATH="/Applications/MATLAB_R2015b.app/"
|
---|
24 |
|
---|
25 | #PYTHON and MATLAB testing
|
---|
26 | MATLAB_TEST=1
|
---|
27 | PYTHON_TEST=0
|
---|
28 |
|
---|
29 | #execution path used for parallel runs
|
---|
30 | EXECUTION_PATH=$ISSM_DIR/execution
|
---|
31 |
|
---|
32 | #repo:
|
---|
33 | REPOSITORY="https://issm.ess.uci.edu/svn/issm/issm/trunk-jpl"
|
---|
34 | SVN='/usr/local/bin/svn'
|
---|
35 | SVNVERSION='/usr/local/bin/svnversion'
|
---|
36 |
|
---|
37 | #-----------------------------------#
|
---|
38 | # 3: External packages installation #
|
---|
39 | #-----------------------------------#
|
---|
40 |
|
---|
41 | #ISSM_EXTERNALPACKAGES can have 3 values:
|
---|
42 | # - "install" install all external packages listed below
|
---|
43 | # - "copy" copy existing directories (EXTERNALPACKAGESDIR)
|
---|
44 | # - "none" leave external packages as is
|
---|
45 | # ->skip to section 4
|
---|
46 | ISSM_EXTERNALPACKAGES="install"
|
---|
47 | EXTERNALPACKAGESDIR=$ISSM_DIR/externalpackages
|
---|
48 |
|
---|
49 | #List of external pakages to be installed and their installation scripts
|
---|
50 | EXTERNALPACKAGES="autotools install.sh
|
---|
51 | matlab install.sh
|
---|
52 | mpich install-3.0-macosx64.sh
|
---|
53 | cmake install.sh
|
---|
54 | chaco install-macosx64.sh
|
---|
55 | m1qn3 install.sh
|
---|
56 | petsc install-3.5-macosx64.sh
|
---|
57 | triangle install-macosx64.sh
|
---|
58 | shell2junit install.sh "
|
---|
59 |
|
---|
60 | #---------------------#
|
---|
61 | # 4: ISSM Compilation #
|
---|
62 | #---------------------#
|
---|
63 |
|
---|
64 | #ISSM_COMPILATION can have 2 values:
|
---|
65 | # - "yes" compile ISSM
|
---|
66 | # - "no" do not compile ISSM
|
---|
67 | ISSM_COMPILATION="yes"
|
---|
68 |
|
---|
69 | #------------------------#
|
---|
70 | # 5: Nightly run options #
|
---|
71 | #------------------------#
|
---|
72 |
|
---|
73 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
74 | #safer as some packages are very sensitive to parallel compilation)
|
---|
75 | NUMCPUS_INSTALL=4
|
---|
76 |
|
---|
77 | #number of cpus used in the nightly runs.
|
---|
78 | NUMCPUS_RUN=2
|
---|
79 |
|
---|
80 | #Nightly run options. The matlab routine runme.m will be called
|
---|
81 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
82 | #by Matlab and runme.m
|
---|
83 | #ex: "'id',[101 102 103]"
|
---|
84 | ## bamg mesh FS
|
---|
85 | PYTHON_NROPTIONS=""
|
---|
86 | MATLAB_NROPTIONS="'exclude',[119,243,514,701,702,435]"
|
---|