Index: BOL/Multi_atlas/Utils/atlas0.sh
===================================================================
--- BOL/Multi_atlas/Utils/atlas0.sh	(revision 3885)
+++ BOL/Multi_atlas/Utils/atlas0.sh	(revision 3915)
@@ -136,6 +136,6 @@
    #if [ ! -f "$html"  -o "`wc -l $html | awk ' { print $1 } '`" = "0" ] ; then
    if [ ! -f "$htmlopt"  -o "`wc -l $htmlopt | awk ' { print $1 } '`" = "0" ] ; then
-      echo ECHEC ATLAS : $html inexistant ou vide | tee >>  atlas.sh.log
-      echo ECHEC ATLAS : $html inexistant ou vide
+      echo ECHEC ATLAS : $htmlopt inexistant ou vide | tee >>  atlas.sh.log
+      echo ECHEC ATLAS : $htmlopt inexistant ou vide
    else
       #echo cp -f $html tmp$$.$passage
Index: BOL/Multi_atlas/Utils/multi.sh
===================================================================
--- BOL/Multi_atlas/Utils/multi.sh	(revision 3885)
+++ BOL/Multi_atlas/Utils/multi.sh	(revision 3915)
@@ -14,4 +14,5 @@
 html=1
 atlas=1
+newatlas=1
 atlas_cesmep=0
 get=0
@@ -126,6 +127,13 @@
 echo listrunss= $listrunss
 echo listrune= $listrune 
-ls -lrt $MAIN_SE/ORIG
-#listsimss="" ; for ss in `awk ' {print $1"_"$2 } ' $DEF_FILE`    ; do listsimss="$listsimss $ss" ; done
+echo ================================================================
+echo la commande suivante
+echo ls -lrt $MAIN_SE/ORIG
+echo peut prendre beaucoup de temps lorsque
+echo l acces aux espaces du CCRT et/ou de l IDRIS thredds est lent ou si
+echo les espaces /thredds/tgcc et/ou /thredds/idris ne sont pas montes sur ciclad.
+echo On ne l utilise plus !!!
+echo ================================================================
+###ls -lrt $MAIN_SE/ORIG
 
 ns=0
@@ -150,4 +158,9 @@
 echo SIMULATIONS: $listsims
 
+RUNS=""
+RUNS=`awk ' {print $1"_"$2 } ' $DEF_FILE`
+echo $RUNS
+echo listrunss=$RUNS
+
 echo '########################################################################'
 echo  1/ Rapatriement des simulations manquantes
@@ -204,4 +217,10 @@
 
 if [ $atlas = 1 ] ; then
+if [ $newatlas = 1 ]; then
+sed -e 's/COMPAR/'${comp}'/' ${local}/atlas/make_atlas.sh > ${local}/atlas/make_atlas_${comp}.sh
+$submit -v COMP=${comp},DATAREF=${dataref} ${local}/atlas/make_atlas_${comp}.sh
+
+else
+
 for sim in $listsimss ; do
    il=1
@@ -249,5 +268,7 @@
 #   exit
 fi
-fi
+
+fi #newatlas
+fi #atlas
 
 # atlas_cesmep : cles pour activer les nouveau atlas (C-ESM-EP)
@@ -390,5 +411,6 @@
    ./make_html_libigcm.sh --comp $comp
    cd $local
-   ./html_entete.sh $comp
+   ./html_entete.sh ${comp} ${dataref}
+   ./make_index_html.sh ${comp} ${dataref}
    ./html_tuning.sh  $comp
    ./html_tuning_min.sh  $comp
@@ -414,6 +436,6 @@
    for bias in BIAS MAPS ; do
        for season in YEAR DJF JJA ; do
-        echo ./multi_atlas.sh $comp $bias $season $proj $listrunss  
-        ./multi_atlas.sh $comp $bias $season $proj $listrunss  >> out.com$$
+        echo ./multi_atlas.sh $comp $bias $season $proj $RUNS  
+        ./multi_atlas.sh $comp $bias $season $proj $RUNS  >> out.com$$
        done
    done
