Changeset 3703
- Timestamp:
- Jun 11, 2020, 11:01:18 AM (4 years ago)
- Location:
- LMDZ6/branches/Optimisation_LMDZ/libf
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Optimisation_LMDZ/libf/dyn3dmem/gcm.F90
r3579 r3703 454 454 455 455 !!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/) 456 ! Copy all threadprivate variables in temps_mod logic_mod 456 457 !$OMP PARALLEL DEFAULT(SHARED) & 457 ! Copy all threadprivate variables in temps_mod458 458 !$OMP COPYIN(dt,jD_ref,jH_ref,start_time,hour_ini,day_ini,day_end) & 459 459 !$OMP COPYIN(annee_ref,day_ref,itau_dyn,itau_phy,itaufin,calend) & 460 ! Copy all threadprivate variables from logic_mod461 460 !$OMP COPYIN(purmats,forward,leapf,apphys,statcl,conser,apdiss,apdelq) & 462 461 !$OMP COPYIN(saison,ecripar,fxyhypb,ysinus,read_start,ok_guide) & -
LMDZ6/branches/Optimisation_LMDZ/libf/dyn3dmem/vlsplt_loc.F
r3435 r3703 1056 1056 ENDDO 1057 1057 ENDDO 1058 c$OMP END DO NO 1058 c$OMP END DO NOWAIT 1059 1059 1060 1060 c Reindicage vertical en accumulant les flux sur … … 1090 1090 ENDDO 1091 1091 ENDDO 1092 c$OMP END DO NO 1092 c$OMP END DO NOWAIT 1093 1093 1094 1094 ENDDO ! WHILE (countcfl>=1) -
LMDZ6/branches/Optimisation_LMDZ/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90
r3579 r3703 109 109 110 110 !!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/) 111 !$OMP PARALLEL DEFAULT(SHARED) &112 111 ! Copy all threadprivate variables in temps_mod 113 !$OMP COPYIN(annee_ref, day_ini, day_ref,start_time)112 !$OMP PARALLEL DEFAULT(SHARED) COPYIN(annee_ref,day_ini,day_ref,start_time) 114 113 115 114 ! Initialize physical constants in physics: -
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/cosp/dsd.F90
r2428 r3703 1 subroutine dsd(Q,Re ,Np,D,N,nsizes,dtype,rho_a,tk, &1 subroutine dsd(Q,Re_,Np,D,N,nsizes,dtype,rho_a,tk, & 2 2 dmin,dmax,apm,bpm,rho_c,p1,p2,p3) 3 3 use array_lib … … 57 57 integer, intent(in) :: nsizes 58 58 integer, intent(in) :: dtype 59 real*8, intent(in) :: Q,Re ,Np,D(nsizes)59 real*8, intent(in) :: Q,Re_,Np,D(nsizes) 60 60 real*8, intent(in) :: rho_a,tk,dmin,dmax,rho_c,p1,p2,p3 61 61 … … 78 78 real*8 :: tmp1, tmp2 79 79 real*8 :: pi,rc,tc 80 real*8 :: Re 80 81 81 82 integer k,lidx,uidx 83 84 Re = Re_ 82 85 83 86 tc = tk - 273.15 -
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/cosp/radar_simulator.F90
r2428 r3703 96 96 real*8, dimension(hp%nhclass,nprof,ngate), intent(in) :: hm_matrix 97 97 real*8, dimension(hp%nhclass,nprof,ngate), intent(inout) :: re_matrix 98 real*8, dimension(hp%nhclass,nprof,ngate), intent(in ) :: Np_matrix98 real*8, dimension(hp%nhclass,nprof,ngate), intent(inout) :: Np_matrix 99 99 100 100 ! ----- OUTPUTS ----- -
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/mo_simple_plumes.F90
r3531 r3703 280 280 281 281 IF ((iweek > ntimes) .OR. (iweek < 1) .OR. (iyear > nyears) .OR. (iyear < 1)) THEN 282 CALL abort_physic('set_time_weight','Time out of bounds' )282 CALL abort_physic('set_time_weight','Time out of bounds',1) 283 283 ENDIF 284 284 -
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/o3_chem_m.F90
r2346 r3703 24 24 25 25 integer, intent(in):: julien ! jour julien, 1 <= julien <= 360 26 real, intent(in):: gmtime ! heure de la journ ée en fraction de jour26 real, intent(in):: gmtime ! heure de la journ�e en fraction de jour 27 27 real, intent(in):: t_seri(:, :) ! (klon, nbp_lev) temperature, in K 28 28 … … 59 59 real earth_long 60 60 ! (longitude vraie de la Terre dans son orbite solaire, par 61 ! rapport au point vernal (21 mars), en degr és)61 ! rapport au point vernal (21 mars), en degr�s) 62 62 63 63 real pmu0(klon) ! mean of cosine of solar zenith angle during "pdtphys" … … 85 85 ! Heterogeneous chemistry is only during daytime: 86 86 call orbite(real(julien), earth_long, trash1) 87 call zenang(earth_long, gmtime, pdtphys, rlat, rlon, pmu0, trash2)87 call zenang(earth_long, gmtime, 0., pdtphys, rlat, rlon, pmu0, trash2) 88 88 forall (k = 1: nbp_lev) 89 89 where (pmu0 <= cos(87. / 180. * pi)) b(:, k) = 0. -
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/readaerosol_mod.F90
r3440 r3703 10 10 !$OMP THREADPRIVATE(nbp_lat_src) 11 11 REAL, ALLOCATABLE, SAVE :: psurf_interp(:,:) 12 !$OMP THREADPRIVATE(psurf_interp)13 12 14 13 CONTAINS … … 692 691 CALL xios_send_field("load_"//TRIM(varname)//"_in",load_glo2D) 693 692 CALL xios_recv_field("load_"//TRIM(varname)//"_out",load_out_mpi) 694 IF (first) THEN 693 IF (.not. allocated(psurf_interp)) THEN 694 ! psurf_interp is a shared array 695 695 ALLOCATE(psurf_interp(klon_mpi,12)) 696 696 CALL xios_send_field("psurf_aerosol_in",psurf_glo2D) -
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/rrtm/abor1.intfb.h
r1990 r3703 1 1 INTERFACE 2 2 SUBROUTINE ABOR1(CDTEXT) 3 CHARACTER(LEN=*) :: CDTEXT3 CHARACTER(LEN=*), INTENT(IN) :: CDTEXT 4 4 END SUBROUTINE ABOR1 5 5 END INTERFACE -
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/rrtm/tpm_fft.F90
r2010 r3703 7 7 8 8 TYPE FFT_TYPE 9 REAL(KIND=JPRB) , POINTER:: TRIGS(:,:)10 INTEGER(KIND=JPIM), POINTER:: NFAX(:,:)9 REAL(KIND=JPRB) ,ALLOCATABLE :: TRIGS(:,:) 10 INTEGER(KIND=JPIM),ALLOCATABLE :: NFAX(:,:) 11 11 END TYPE FFT_TYPE 12 12
Note: See TracChangeset
for help on using the changeset viewer.