Ignore:
Timestamp:
Dec 20, 2013, 4:04:56 PM (11 years ago)
Author:
emillour
Message:

Mars GCM:
Series of changes to enable running in parallel (using LMDZ.COMMON dynamics);
Current LMDZ.MARS can still notheless be compiled and run in serial mode
"as previously".
Summary of main changes:

  • Main programs (newstart, start2archive, xvik) that used to be in dyn3d have been moved to phymars.
  • dyn3d/control.h is now module control_mod.F90
  • rearanged input/outputs routines everywhere to handle serial/MPI cases. physdem.F => phyredem.F90 , phyetat0.F => phyetat0.F90 ; all read/write routines for startfi files are gathered in module iostart.F90
  • added parallelism related routines init_phys_lmdz.F90, comgeomphy.F90, dimphy.F90, iniphysiq.F90, mod_grid_phy_lmdz.F90, mod_phys_lmdz_mpi_data.F90, mod_phys_lmdz_mpi_transfert.F90, mod_phys_lmdz_omp_data.F90, mod_phys_lmdz_omp_transfert.F90, mod_phys_lmdz_para.F90, mod_phys_lmdz_transfert_para.F90 in phymars and mod_const_mpi.F90 in dyn3d (for compliance with parallel case)
  • created generic routines 'planetwide_maxval' and 'planetwide_minval', in module "planetwide_mod", that enable obtaining the min and max of a field over the whole planet.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/dyn3d/dynetat0.F

    r1036 r1130  
    33     
    44      use netcdf
    5       use infotrac, only: tnom
     5      use infotrac, only: tname
     6      use control_mod, only: timestart
    67     
    78      IMPLICIT NONE
     
    3940#include "logic.h"
    4041!#include "advtrac.h"
    41 #include "control.h"
     42!#include "control.h"
    4243
    4344c   Arguments:
     
    381382!           WRITE(str3(2:3),'(i2.2)') iq
    382383!           ierr =  NF_INQ_VARID (nid, str3, nvarid)
    383 ! NB: tracers are now read in using their name ('tnom' from infotrac)
    384 !           write(*,*) "  loading tracer:",trim(tnom(iq))
    385            ierr=nf90_inq_varid(nid,tnom(iq),nvarid)
     384! NB: tracers are now read in using their name ('tname' from infotrac)
     385!           write(*,*) "  loading tracer:",trim(tname(iq))
     386           ierr=nf90_inq_varid(nid,tname(iq),nvarid)
    386387           IF (ierr .NE. nf90_noerr) THEN
    387388!              PRINT*, "dynetat0: Le champ <"//str3//"> est absent"
    388               PRINT*, "dynetat0: Le champ <"//trim(tnom(iq))//
     389              PRINT*, "dynetat0: Le champ <"//trim(tname(iq))//
    389390     &                "> est absent"
    390391              PRINT*, "          Il est donc initialise a zero"
     
    396397             IF (ierr .NE. nf90_noerr) THEN
    397398!                 PRINT*, "dynetat0: Lecture echouee pour "//str3
    398                PRINT*, "dynetat0: Lecture echouee pour "//trim(tnom(iq))
     399               PRINT*,"dynetat0: Lecture echouee pour "//trim(tname(iq))
    399400               CALL abort
    400401             ENDIF
Note: See TracChangeset for help on using the changeset viewer.