Changeset 903


Ignore:
Timestamp:
Mar 13, 2013, 12:55:47 PM (12 years ago)
Author:
aslmd
Message:

LMDZ.GENERIC. Corrected a small bug in bilinearbig. Added support for ciclad in makegcm_ifort. Raised the value for capcal in case soil turned off.

Location:
trunk/LMDZ.GENERIC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/README

    r889 r903  
    912912  mass loss of tracer in the dynamics)
    913913 
    914 
     914== 13/03/2013 == AS + EM
     915- corrected a bug in bilinearbig (found with debug mode)
     916  not harmful but possible -1 index at first call
  • trunk/LMDZ.GENERIC/libf/phystd/bilinearbig.F90

    r878 r903  
    2222      y=y_in
    2323
    24 
    2524   !! AS: important to optimize here because the array is quite large
    2625   !! ... and actually calculations only need to be done once
    27    !! --> Case 1 : we have not calculated yet
     26   !! IF ind=-9999 we have not calculated yet
    2827   if ( ind == -9999) then
    2928      !1st check we're within the wavenumber range
    3029      if ((x.lt.x_arr(2)).or.(x.gt.x_arr(nX-2))) then
    31          f=0.0D+0
    3230         ind=-1
    3331      else
     
    4139        end do
    4240      endif
    43    !! --> case 2 : we already saw we are out of wavenumber range
    44    else if ( ind == -1) then
     41   endif
     42
     43   !! Either we already saw we are out of wavenumber range
     44   !! ... and we just have to set f=0 and exit
     45   if ( ind == -1) then
    4546      f=0.0D+0
    4647      return
    47    !! --> case 3 : we already determined a -- so we just proceed
     48   !! Or we already determined ind -- so we just proceed
    4849   else
    4950      x1=x_arr(ind)
  • trunk/LMDZ.GENERIC/libf/phystd/physiq.F90

    r880 r903  
    519519         else
    520520            print*,'WARNING! Thermal conduction in the soil turned off'
    521             capcal(:)=1.e6
     521            capcal(:)=1.e16 !1.e6
    522522            fluxgrd(:)=0.
    523523            if(noradsurf)then
  • trunk/LMDZ.GENERIC/makegcm_ifort

    r889 r903  
    3131    setenv NCDFLIB /usr/local/lib
    3232    setenv NCDFINC /usr/local/include
     33else if ( `hostname` == ciclad1.ipsl.jussieu.fr ) then
     34    echo "CICLAD cluster"
     35    setenv NCDFLIB /opt/netcdf/ifort/lib
     36    setenv NCDFINC /opt/netcdf/ifort/include
    3337else
    3438   # NetCDF, on LMD farm:
Note: See TracChangeset for help on using the changeset viewer.