Changeset 3255 for trunk/LMDZ.VENUS/libf


Ignore:
Timestamp:
Mar 6, 2024, 6:28:22 PM (10 months ago)
Author:
emillour
Message:

Venus PCM:
Adapt rcm1d to be able to run with XIOS.
Note that this requires compiling with "-io xios -parallel mpi"
but the model should then be run using a single core, i.e. without mpirun
EM

Location:
trunk/LMDZ.VENUS/libf/phyvenus/dyn1d
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/dyn1d/rcm1d.F

    r3254 r3255  
    1616      USE physiq_mod, ONLY: physiq
    1717      USE logic_mod, ONLY: iflag_trac
     18! For XIOS outputs:
     19      USE mod_const_mpi, ONLY: init_const_mpi
     20      USE parallel_lmdz, ONLY: init_parallel
    1821      IMPLICIT NONE
    1922
     
    2427c       
    2528c Can be compiled with a command like (e.g. for 50 layers)
    26 c  "makelmdz -p venus -d 50 rcm1d"
     29c  "makelmdz_lmdz -p venus -d 50 rcm1d"
     30c If you want XIOS outputs, then you'll need to compile with MPI and xios:
     31c  "makelmdz_lmdz -p venus -parallel mpi -io xios -d 50 rcm1d"
     32c but the model should then be run using a single core, i.e. without mpirun
    2733
    2834c It requires the files "rcm1d.def" "physiq.def"
     
    98104      lunout = 6
    99105
     106#ifdef CPP_XIOS
     107      call init_const_mpi
     108      call init_parallel
     109#endif
     110
    100111      mmol =     (/44., 28.,  2., 18., 16.,   
    101112     &       16., 32., 32., 48.,  1.,   
Note: See TracChangeset for help on using the changeset viewer.