Changeset 905


Ignore:
Timestamp:
Mar 18, 2013, 11:58:34 AM (12 years ago)
Author:
emillour
Message:

Generic GCM:

  • removed the "-static" ifort compilation option (problematic on Gnome cluster) and added some additional debug options
  • fixed bug in newstart about initialization of albedo and thermal inertia.

EM

Location:
trunk/LMDZ.GENERIC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/README

    r903 r905  
    915915- corrected a bug in bilinearbig (found with debug mode)
    916916  not harmful but possible -1 index at first call
     917
     918== 18/03/2013 == EM
     919- removed the "-static" ifort compilation option (problematic onGnome cluster)
     920  and added some additional debug options
     921- fixed bug in newstart about initialization of albedo and thermal inertia.
     922
     923
  • trunk/LMDZ.GENERIC/libf/dyn3d/newstart.F

    r837 r905  
    328328     .        cloudfrac,totalfrac,hice)
    329329
    330         ! copy albedo and soil thermal inertia
     330        ! copy albedo and soil thermal inertia on (local) physics grid
    331331        do i=1,ngridmx
    332332          albfi(i) = albedodat(i)
     
    335335          enddo
    336336        ! build a surfithfi(:) using 1st layer of ithfi(:), which might
    337         ! be neede later on if reinitializing soil thermal inertia
     337        ! be needed later on if reinitializing soil thermal inertia
    338338          surfithfi(i)=ithfi(i,1)
    339339        enddo
    340 
     340        ! also copy albedo and soil thermal inertia on (local) dynamics grid
     341        ! so that options below can manipulate either (but must then ensure
     342        ! to correctly recast things on physics grid)
     343        call gr_fi_dyn(1,ngridmx,iip1,jjp1,albfi,alb)
     344        call gr_fi_dyn(nsoilmx,ngridmx,iip1,jjp1,ithfi,ith)
     345        call gr_fi_dyn(1,ngridmx,iip1,jjp1,surfithfi,surfith)
    341346     
    342347      endif
  • trunk/LMDZ.GENERIC/makegcm_ifort

    r903 r905  
    188188else if $LINUX then
    189189   #NB: on gnome -O3 ==> NaNs ...
    190    set optim=" -O2 -fp-model precise -ip -mkl=sequential -align all -static "
    191    set optim90=" -O2 -fp-model precise -ip -mkl=sequential -align all -static "
    192    set optimtru90=" -O2 -fp-model precise -ip -mkl=sequential -align all -static "
     190   set optim=" -O2 -fp-model precise -ip -mkl=sequential -align all "
     191   set optim90=" -O2 -fp-model precise -ip -mkl=sequential -align all "
     192   set optimtru90=" -O2 -fp-model precise -ip -mkl=sequential -align all "
    193193   if ( `hostname` == ciclad1.ipsl.jussieu.fr ) then
    194194       echo "YOU ARE ON CICLAD CLUSTER"
     
    390390           set optim90="$optim90"" -G1 "
    391391        else if $LINUX then
    392            set optim=" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"
    393            set optim90=" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"
    394            set optimtru90=" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"
     392           set optim=" -g -fpe-all=0 -no-ftz -traceback -ftrapuv -fp-stack-check -check all -debug"
     393           set optim90=" -g -fpe-all=0 -no-ftz -traceback -ftrapuv -fp-stack-check -check all -debug"
     394           set optimtru90=" -g -fpe-all=0 -no-ftz -traceback -ftrapuv -fp-stack-check -check all -debug"
    395395        else
    396396           echo "pas d option debug predefinie pour cette machine"
Note: See TracChangeset for help on using the changeset viewer.