Changeset 1222 for LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/gcm.F
- Timestamp:
- Aug 7, 2009, 1:48:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/gcm.F
r1220 r1222 12 12 USE mod_const_mpi, ONLY: init_const_mpi 13 13 USE parallel 14 USE mod_phys_lmdz_para, ONLY : klon_mpi_para_nb15 14 USE infotrac 16 15 USE mod_interface_dyn_phys … … 23 22 #ifdef CPP_EARTH 24 23 USE mod_grid_phy_lmdz 24 USE mod_phys_lmdz_para, ONLY : klon_mpi_para_nb 25 25 USE mod_phys_lmdz_omp_data, ONLY: klon_omp 26 26 USE dimphy … … 191 191 endif ! of if (planet_type.eq."earth") 192 192 CALL set_bands 193 #ifdef CPP_EARTH 194 ! Ehouarn: For now only Earth physics is parallel 193 195 CALL Init_interface_dyn_phys 196 #endif 194 197 CALL barrier 195 198 … … 320 323 . ' restart ne correspondent pas a celles lues dans ' 321 324 write(lunout,*)' gcm.def' 325 write(lunout,*)' annee_ref=',annee_ref," anneeref=",anneeref 326 write(lunout,*)' day_ref=',day_ref," dayref=",dayref 322 327 if (raz_date .ne. 1) then 323 328 write(lunout,*) … … 337 342 endif 338 343 344 #ifdef CPP_IOIPSL 339 345 mois = 1 340 346 heure = 0. … … 343 349 jD_ref = int(jD_ref) 344 350 345 #ifdef CPP_IOIPSL346 351 call ioconf_startdate(annee_ref,1,day_ref, 0.) 347 #endif348 352 349 353 write(lunout,*)'DEBUG' … … 353 357 write(lunout,*)'jD_ref+jH_ref,an, mois, jour, heure' 354 358 write(lunout,*)jD_ref+jH_ref,an, mois, jour, heure 359 #else 360 ! Ehouarn: we still need to define JD_ref and JH_ref 361 ! and since we don't know how many days there are in a year 362 ! we set JD_ref to 0 (this should be improved ...) 363 jD_ref=0 364 jH_ref=0 365 #endif 355 366 356 367 c nombre d'etats dans les fichiers demarrage et histoire … … 436 447 WRITE(lunout,300)day_ini,day_end 437 448 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//) 449 450 #ifdef CPP_IOIPSL 438 451 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure) 439 452 write (lunout,301)jour, mois, an … … 442 455 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4) 443 456 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4) 444 445 !#ifdef CPP_IOIPSL 457 #endif 458 446 459 if (planet_type.eq."earth") then 447 #ifdef CPP_EARTH 448 CALL dynredem0_p("restart.nc", day_end, phis) 449 #endif 460 CALL dynredem0_p("restart.nc", day_end, phis) 450 461 endif 451 462
Note: See TracChangeset
for help on using the changeset viewer.