Last change
on this file since 3753 was
3745,
checked in by idelkadi, 4 years ago
|
Repository under svn of a first version of Multiatlas diagnostics for LMDZ. This version is adapted to be able to run a LMDZ multiatlas on an individual account on the ciclad machine of the IPSL. In this version, the parts to be modified are identified so as to subsequently adapt it to other machines.
Update atlas scripts
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | #set -v |
---|
4 | # Definition des coleurs d'affichage |
---|
5 | noir='\e[0;30m' gris='\e[1;30m' rougefonce='\e[0;31m' rose='\e[1;31m' vertfonce='\e[0;32m' vertclair='\e[1;32m' orange='\e[0;33m' jaune='\e[1;33m' bleufonce='\e[0;34m' bleuclair='\e[1;34m' violetfonce='\e[0;35m' violetclair='\e[1;35m' cyanfonce='\e[0;36m' cyanclair='\e[1;36m' grisclair='\e[0;37m' blanc='\e[1;37m' neutre='\e[0;m' |
---|
6 | |
---|
7 | |
---|
8 | login=`whoami` |
---|
9 | |
---|
10 | comp=$1 |
---|
11 | |
---|
12 | hostname=`hostname` |
---|
13 | if [ ${hostname:0:5} = cicla ] ; then |
---|
14 | DODSDIR=/modfs/ipslfs/dods |
---|
15 | HTML=https://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/$login/lmdz/MultiSimu/$comp |
---|
16 | fi |
---|
17 | if [ ${hostname:0:5} = camel ] ; then |
---|
18 | DODSDIR=/modfs/ipslfs/dods |
---|
19 | fi |
---|
20 | if [ ${hostname:0:5} = irene ] ; then |
---|
21 | DODSDIR= |
---|
22 | fi |
---|
23 | if [ ${hostname:0:5} = jean- ] ; then |
---|
24 | DODSDIR= |
---|
25 | fi |
---|
26 | |
---|
27 | echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" |
---|
28 | echo -e "${bleufonce}YOUR MULTIATLAS IS AVAILABLE ON THE PAGE: : " |
---|
29 | rm -f tmp_web.txt |
---|
30 | cat << eod >> tmp_web.txt |
---|
31 | $HTML/ACCUEIL.html |
---|
32 | eod |
---|
33 | cat tmp_web.txt |
---|
34 | echo -e "${noir}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" |
---|
Note: See
TracBrowser
for help on using the repository browser.