Last change
on this file since 5501 was
5501,
checked in by aclsce, 4 years ago
|
First import of IPSLCM6.5_work_ENSEMBLES working configuration
|
-
Property svn:executable set to
*
|
File size:
1.0 KB
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | ## Initialisation |
---|
4 | ##--------------- |
---|
5 | |
---|
6 | ## Default selection for models |
---|
7 | if [ "$1" = 'all' ]; then |
---|
8 | models='NEMO SI3 TOP' |
---|
9 | elif [ "$1" = '' ]; then |
---|
10 | models='NEMO' |
---|
11 | else |
---|
12 | models=$* |
---|
13 | fi |
---|
14 | |
---|
15 | # Source shared functions |
---|
16 | . tools/shr_func.sh |
---|
17 | |
---|
18 | |
---|
19 | ## Check dependancies |
---|
20 | ##------------------- |
---|
21 | |
---|
22 | ## LaTeX installation, find latexmk should be enough |
---|
23 | [ -z $( which latexmk ) ] && { echo 'latexmk not installed => QUIT'; exit 2; } |
---|
24 | |
---|
25 | ## Pygments package for syntax highlighting of source code (namelists & snippets) |
---|
26 | [ -n "$( ./tools/check_pkg.py pygments )" ] && { echo 'Python pygments is missing => QUIT'; exit 2; } |
---|
27 | |
---|
28 | ## Retrieve figures if not already there |
---|
29 | #if [ ! -d latex/figures ]; then |
---|
30 | # printf "Downloading of shared figures and logos\n\n" |
---|
31 | # svn co http://forge.ipsl.jussieu.fr/nemo/svn/utils/figures latex/figures > /dev/null |
---|
32 | #fi |
---|
33 | |
---|
34 | |
---|
35 | ## Loop on the models |
---|
36 | ##------------------- |
---|
37 | |
---|
38 | for model in $models; do |
---|
39 | echo $model |
---|
40 | # clean $model |
---|
41 | build $model |
---|
42 | printf "\t€ End of building run\n" |
---|
43 | echo |
---|
44 | done |
---|
45 | |
---|
46 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.