Index: /trunk/LMDZ.GENERIC/README
===================================================================
--- /trunk/LMDZ.GENERIC/README	(revision 904)
+++ /trunk/LMDZ.GENERIC/README	(revision 905)
@@ -915,2 +915,9 @@
 - corrected a bug in bilinearbig (found with debug mode)
   not harmful but possible -1 index at first call
+
+== 18/03/2013 == EM
+- removed the "-static" ifort compilation option (problematic onGnome cluster)
+  and added some additional debug options
+- fixed bug in newstart about initialization of albedo and thermal inertia.
+
+
Index: /trunk/LMDZ.GENERIC/libf/dyn3d/newstart.F
===================================================================
--- /trunk/LMDZ.GENERIC/libf/dyn3d/newstart.F	(revision 904)
+++ /trunk/LMDZ.GENERIC/libf/dyn3d/newstart.F	(revision 905)
@@ -328,5 +328,5 @@
      .        cloudfrac,totalfrac,hice)
 
-        ! copy albedo and soil thermal inertia
+        ! copy albedo and soil thermal inertia on (local) physics grid
         do i=1,ngridmx
           albfi(i) = albedodat(i)
@@ -335,8 +335,13 @@
 	  enddo
         ! build a surfithfi(:) using 1st layer of ithfi(:), which might
-        ! be neede later on if reinitializing soil thermal inertia
+        ! be needed later on if reinitializing soil thermal inertia
           surfithfi(i)=ithfi(i,1)
         enddo
-
+        ! also copy albedo and soil thermal inertia on (local) dynamics grid
+        ! so that options below can manipulate either (but must then ensure
+        ! to correctly recast things on physics grid)
+        call gr_fi_dyn(1,ngridmx,iip1,jjp1,albfi,alb)
+        call gr_fi_dyn(nsoilmx,ngridmx,iip1,jjp1,ithfi,ith)
+        call gr_fi_dyn(1,ngridmx,iip1,jjp1,surfithfi,surfith)
       
       endif
Index: /trunk/LMDZ.GENERIC/makegcm_ifort
===================================================================
--- /trunk/LMDZ.GENERIC/makegcm_ifort	(revision 904)
+++ /trunk/LMDZ.GENERIC/makegcm_ifort	(revision 905)
@@ -188,7 +188,7 @@
 else if $LINUX then
    #NB: on gnome -O3 ==> NaNs ...
-   set optim=" -O2 -fp-model precise -ip -mkl=sequential -align all -static "
-   set optim90=" -O2 -fp-model precise -ip -mkl=sequential -align all -static "
-   set optimtru90=" -O2 -fp-model precise -ip -mkl=sequential -align all -static "
+   set optim=" -O2 -fp-model precise -ip -mkl=sequential -align all "
+   set optim90=" -O2 -fp-model precise -ip -mkl=sequential -align all "
+   set optimtru90=" -O2 -fp-model precise -ip -mkl=sequential -align all "
    if ( `hostname` == ciclad1.ipsl.jussieu.fr ) then
        echo "YOU ARE ON CICLAD CLUSTER"
@@ -390,7 +390,7 @@
            set optim90="$optim90"" -G1 "
         else if $LINUX then
-	   set optim=" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"
-           set optim90=" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"
-           set optimtru90=" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"
+	   set optim=" -g -fpe-all=0 -no-ftz -traceback -ftrapuv -fp-stack-check -check all -debug"
+           set optim90=" -g -fpe-all=0 -no-ftz -traceback -ftrapuv -fp-stack-check -check all -debug"
+           set optimtru90=" -g -fpe-all=0 -no-ftz -traceback -ftrapuv -fp-stack-check -check all -debug"
         else 
            echo "pas d option debug predefinie pour cette machine"
