Changeset 2951


Ignore:
Timestamp:
Apr 27, 2023, 4:37:46 PM (19 months ago)
Author:
emillour
Message:

Mars PCM:
Fix OpenMP bug on inertiesoil, unnecessary loop and a line
too long for fixed fortran format.
Minor fix for picky gfortran compiler in testphys1d (no .eq. for logicals!)
EM

Location:
trunk/LMDZ.MARS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2947 r2951  
    40144014written in the startfile).
    40154015Introduce the possibility to prescribe subsurface ice in the 1D model
     4016
     4017== 27/04/2023 == EM
     4018Fix OpenMP bug on inertiesoil, unnecessary loop and a line
     4019too long for fixed fortran format.
     4020Minor fix for picky gfortran compiler in testphys1d (no .eq. for logicals!)
  • trunk/LMDZ.MARS/libf/phymars/comsoil_h.F90

    r2942 r2951  
    1515       !                 soil_settings.F)
    1616
    17 !$OMP THREADPRIVATE(layer,mlayer,inertiedat,volcapa)
     17!$OMP THREADPRIVATE(layer,mlayer,inertiedat,inertiesoil,volcapa)
    1818
    1919  ! variables (FC: built in firstcall in soil.F)
  • trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F

    r2948 r2951  
    992992      write_prof=.false.
    993993      call getin("write_prof",write_prof)
    994       IF (write_prof.eq..true.) then
     994      IF (write_prof) then
    995995              DO iq = 1, nq
    996996                call writeprofile(nlayer,q(:,iq),noms(iq),iq)
  • trunk/LMDZ.MARS/libf/phymars/soil_settings.F

    r2942 r2951  
    320320      if (.not.ok) then
    321321        write(*,*)'soil_settings: Field <inertiesoil> not found!'
    322         write(*,*)' => Building <inertiesoil> from surface values <inertiedat>'
    323         do iloop=1,nsoil
    324       do islope=1,nslope
     322        write(*,*)' => Building <inertiesoil> from surface values'//
     323     & ' <inertiedat>'
     324        do islope=1,nslope
    325325                inertiesoil(:,:,islope)=inertiedat(:,:)
    326        enddo
    327         enddo
     326        enddo
    328327      else ! <inertiesoil> found
    329328       if (interpol) then ! put values in oldtsoil
Note: See TracChangeset for help on using the changeset viewer.