source: issm/trunk-jpl/jenkins/macosx_pine-island@ 20168

Last change on this file since 20168 was 20168, checked in by glperez, 9 years ago

CHG: Changed the Dakota install script.

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