Ignore:
Timestamp:
Jan 5, 2026, 5:00:27 PM (3 weeks ago)
Author:
emillour
Message:

Generic PCM:
Enable using XIOS with rcm1d. This implies compiling with MPI (makelmdz_fcm ...
-parallel mpi -io xios ... rcm1d) and having adequate xml files at hand.
While at it cleaned up turbdiff_mod.F90 to use write_output() instead of
calls to writediagfi() and updated reference field_def_physics.xml
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/writediagfi.F

    r3928 r3995  
    334334        if (dim.eq.3) then
    335335
     336          IF (klon_glo>1) THEN ! General case
    336337#ifdef CPP_PARA
    337338          ! Gather field on a "global" (without redundant longitude) array
     
    349350!         Passage variable physique -->  variable dynamique
    350351!         recast (copy) variable from physics grid to dynamics grid
    351           IF (klon_glo>1) THEN ! General case
    352352           DO l=1,nbp_lev
    353353             DO i=1,nbp_lon+1
     
    363363             ENDDO
    364364           ENDDO
     365#endif
    365366          ELSE ! 1D model case
    366367           dx3_1d(1,1:nbp_lev)=px(1,1:nbp_lev)
    367368          ENDIF
    368 #endif
    369369!         Ecriture du champs
    370370
     
    438438        else if (dim.eq.2) then
    439439
     440          IF (klon_glo>1) THEN ! General case
    440441#ifdef CPP_PARA
    441442          ! Gather field on a "global" (without redundant longitude) array
     
    455456!         Passage variable physique -->  physique dynamique
    456457!         recast (copy) variable from physics grid to dynamics grid
    457           IF (klon_glo>1) THEN ! General case
    458458             DO i=1,nbp_lon+1
    459459                dx2(i,1)=px(1,1)
     
    467467                dx2(nbp_lon+1,j)=dx2(1,j)
    468468             ENDDO
     469#endif
    469470          ELSE ! 1D model case
    470471            dx2_1d=px(1,1)
    471472          ENDIF
    472 #endif
    473473
    474474          if (is_master) then
Note: See TracChangeset for help on using the changeset viewer.