Changeset 3822
- Timestamp:
- Apr 30, 2015, 3:22:39 PM (10 years ago)
- Location:
- dynamico_lmdz/aquaplanet/LMDZ5/libf
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/aquaplanet/LMDZ5/libf/dyn3d/gcm.F90
r3817 r3822 99 99 REAL, ALLOCATABLE, DIMENSION(:,:,:):: q! champs advectes 100 100 REAL ps(ip1jmp1) ! pression au sol 101 REAL p (ip1jmp1,llmp1 ) ! pression aux interfac.des couches101 ! REAL p (ip1jmp1,llmp1 ) ! pression aux interfac.des couches 102 102 REAL masse(ip1jmp1,llm) ! masse d'air 103 103 REAL phis(ip1jmp1) ! geopotentiel au sol 104 REAL phi(ip1jmp1,llm) ! geopotentiel105 REAL w(ip1jmp1,llm) ! vitesse verticale104 ! REAL phi(ip1jmp1,llm) ! geopotentiel 105 ! REAL w(ip1jmp1,llm) ! vitesse verticale 106 106 107 107 ! variables dynamiques intermediaire pour le transport … … 410 410 tetagdiv, tetagrot , tetatemp, vert_prof_dissip) 411 411 412 !-----------------------------------------------------------------------413 ! Initialisation de la physique :414 ! -------------------------------415 416 IF ((iflag_phys==1).or.(iflag_phys>=100)) THEN417 ! Physics:418 #ifdef CPP_PHYS419 CALL iniphysiq(iim,jjm,llm,daysec,day_ini,dtphys/nsplit_phys, &420 rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, &421 iflag_phys)422 #endif423 ENDIF ! of IF ((iflag_phys==1).or.(iflag_phys>=100))424 425 412 ! numero de stockage pour les fichiers de redemarrage: 426 413 … … 446 433 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4) 447 434 #endif 435 436 !----------------------------------------------------------------------- 437 ! Initialisation de la physique : 438 ! ------------------------------- 439 440 IF ((iflag_phys==1).or.(iflag_phys>=100)) THEN 441 ! Physics: 442 #ifdef CPP_PHYS 443 CALL iniphysiq(iim,jjm,llm,daysec,day_ini,dtphys/nsplit_phys, & 444 rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, & 445 iflag_phys) 446 #endif 447 ENDIF ! of IF ((iflag_phys==1).or.(iflag_phys>=100)) 448 448 449 449 ! if (planet_type.eq."earth") then -
dynamico_lmdz/aquaplanet/LMDZ5/libf/dyn3dmem/gcm.F
r3818 r3822 401 401 402 402 c----------------------------------------------------------------------- 403 c Initialisation des I/O : 404 c ------------------------ 405 406 407 if (nday>=0) then 408 day_end = day_ini + nday 409 else 410 day_end = day_ini - nday/day_step 411 endif 412 413 WRITE(lunout,300)day_ini,day_end 414 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//) 415 416 #ifdef CPP_IOIPSL 417 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure) 418 write (lunout,301)jour, mois, an 419 call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure) 420 write (lunout,302)jour, mois, an 421 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4) 422 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4) 423 #endif 424 425 c----------------------------------------------------------------------- 403 426 c Initialisation de la physique : 404 427 c ------------------------------- … … 424 447 !$OMP END PARALLEL 425 448 END IF 426 427 c-----------------------------------------------------------------------428 c Initialisation des I/O :429 c ------------------------430 431 432 if (nday>=0) then433 day_end = day_ini + nday434 else435 day_end = day_ini - nday/day_step436 endif437 438 WRITE(lunout,300)day_ini,day_end439 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//)440 441 #ifdef CPP_IOIPSL442 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure)443 write (lunout,301)jour, mois, an444 call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure)445 write (lunout,302)jour, mois, an446 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4)447 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4)448 #endif449 449 450 450 ! if (planet_type.eq."earth") then -
dynamico_lmdz/aquaplanet/LMDZ5/libf/dyn3dpar/gcm.F
r3818 r3822 402 402 403 403 c----------------------------------------------------------------------- 404 c Initialisation des I/O : 405 c ------------------------ 406 407 408 if (nday>=0) then 409 day_end = day_ini + nday 410 else 411 day_end = day_ini - nday/day_step 412 endif 413 414 WRITE(lunout,300)day_ini,day_end 415 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//) 416 417 #ifdef CPP_IOIPSL 418 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure) 419 write (lunout,301)jour, mois, an 420 call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure) 421 write (lunout,302)jour, mois, an 422 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4) 423 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4) 424 #endif 425 426 c----------------------------------------------------------------------- 404 427 c Initialisation de la physique : 405 428 c ------------------------------- … … 425 448 !$OMP END PARALLEL 426 449 END IF 427 428 c-----------------------------------------------------------------------429 c Initialisation des I/O :430 c ------------------------431 432 433 if (nday>=0) then434 day_end = day_ini + nday435 else436 day_end = day_ini - nday/day_step437 endif438 439 WRITE(lunout,300)day_ini,day_end440 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//)441 442 #ifdef CPP_IOIPSL443 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure)444 write (lunout,301)jour, mois, an445 call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure)446 write (lunout,302)jour, mois, an447 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4)448 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4)449 #endif450 450 451 451 ! if (planet_type.eq."earth") then -
dynamico_lmdz/aquaplanet/LMDZ5/libf/dynlonlat_phylonlat/phylmd/iniphysiq.F90
r3817 r3822 139 139 ENDIF ! of IF (klon_glo>1) 140 140 141 !$OMP PARALLEL 141 !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/) 142 142 ! Now generate local lon/lat/cu/cv/area arrays 143 143 CALL initcomgeomphy(klon_omp) -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/infotrac_phy.f90
r3820 r3822 50 50 CHARACTER(len=20),INTENT(IN) :: tname_(nqtot_) ! tracer short name for restart and diagnostics 51 51 CHARACTER(len=23),INTENT(IN) :: ttext_(nqtot_) ! tracer long name for diagnostics 52 CHARACTER(len=4),INTENT(IN) :: type_trac_ (nqtot_)52 CHARACTER(len=4),INTENT(IN) :: type_trac_ 53 53 INTEGER,INTENT(IN) :: niadv_ (nqtot_) ! equivalent dyn / physique 54 54 INTEGER,INTENT(IN) :: conv_flg_(nbtr_) … … 63 63 ALLOCATE(ttext(nqtot)) 64 64 ttext(:) = ttext_(:) 65 ALLOCATE(type_trac(nqtot)) 66 type_trac(:) = type_trac_(:) 65 type_trac = type_trac_ 67 66 ALLOCATE(niadv(nqtot)) 68 67 niadv(:)=niadv_(:) -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/inifis_mod.F90
r3817 r3822 12 12 INTEGER,SAVE :: anneeref ! reference year, ase deifined in run.def 13 13 INTEGER,SAVE :: nday ! number of days to run 14 !$ THREADPRIVATE(daysec,dtphys,day_step,iphysiq,dayref,anneeref,nday)14 !$OMP THREADPRIVATE(daysec,dtphys,day_step,iphysiq,dayref,anneeref,nday) 15 15 INTEGER,SAVE :: annee_ref ! reference year as read from start file 16 16 INTEGER,SAVE :: day_ini 17 17 INTEGER,SAVE :: day_end 18 !$ THREADPRIVATE(annee_ref,day_ini,day_end)18 !$OMP THREADPRIVATE(annee_ref,day_ini,day_end) 19 19 INTEGER,SAVE :: itau_phy 20 20 INTEGER,SAVE :: itaufin … … 22 22 INTEGER,SAVE :: day_ref 23 23 REAL,SAVE :: jD_ref 24 !$ THREADPRIVATE(itau_phy,itaufin,start_time,day_ref,JD_ref)24 !$OMP THREADPRIVATE(itau_phy,itaufin,start_time,day_ref,JD_ref) 25 25 LOGICAL,SAVE :: offline 26 26 INTEGER,SAVE :: raz_date … … 29 29 INTEGER,SAVE :: prt_level ! Output level 30 30 LOGICAL,SAVE :: debug ! flag to specify if in "debug mode" 31 !$ THREADPRIVATE(offline,raz_date,config_inca,lunout,prt_level,debug)31 !$OMP THREADPRIVATE(offline,raz_date,config_inca,lunout,prt_level,debug) 32 32 33 33 CONTAINS
Note: See TracChangeset
for help on using the changeset viewer.