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