Changeset 2000 for trunk/ICOSA_LMDZ/src/phystd
- Timestamp:
- Sep 19, 2018, 10:53:15 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/ICOSA_LMDZ/src/phystd/interface_icosa_lmdz.f90 ¶
r1982 r2000 255 255 ENDDO 256 256 257 !$OMP BARRIER258 257 259 258 CALL transfer_icosa_to_lmdz(f_ind_cell_glo,ind_cell_glo) … … 276 275 277 276 ! Initialize tracer names, numbers, etc. for physics 278 !$OMP MASTER279 277 !Config Key = type_trac 280 278 !Config Desc = Choix de couplage avec model de chimie INCA ou REPROBUS … … 290 288 ! nqo=2 291 289 ! nbtr=2 290 !$OMP MASTER 292 291 ALLOCATE(tname(nqtot)) 292 !$OMP END MASTER 293 !$OMP BARRIER 293 294 ! ALLOCATE(ttext(nqtot)) 294 295 ! ALLOCATE(niadv(nqtot)) … … 299 300 300 301 ! read tname() from traceur.def file 302 IF (is_mpi_root) THEN 303 !$OMP MASTER 301 304 OPEN(unit=42,file="traceur.def",form="formatted",status="old",iostat=ierr) 302 305 IF (ierr==0) THEN … … 313 316 !$OMP END MASTER 314 317 !$OMP BARRIER 318 ENDIF ! of (is_mpi_root) 319 320 DO i=1,nqtot 321 CALL bcast(tname(i)) 322 ENDDO 315 323 316 324 ! CALL init_infotrac_phy(nqtot,nqo,nbtr,tname,ttext,type_trac,& … … 325 333 ! CALL inifis(klon_omp,nlayer,nqtot,pdayref,punjours,nday,ptimestep, & 326 334 ! latitude,longitude,cell_area,prad,pg,pr,pcpp) 327 !$OMP MASTER328 335 329 336 startphy_file=.true. … … 332 339 IF (startphy_file) THEN 333 340 341 IF (is_mpi_root) THEN 342 !$OMP MASTER 334 343 status=nf90_open('startfi.nc',NF90_NOWRITE,ncid) 335 344 if (status.ne.nf90_noerr) then … … 348 357 status=nf90_get_var(ncid,varid,tab_cntrl) 349 358 start_day=tab_cntrl(3) 350 print*," start_day YORGL",start_day359 print*,"initialize_physics_omp: start_day",start_day 351 360 status=nf90_close(ncid) 361 !$OMP END MASTER 362 !$OMP BARRIER 363 ENDIF ! of !IF (is_mpi_root) 364 365 CALL bcast(start_day) 352 366 353 367 ELSE … … 364 378 ndays=nint(itaumax*(dt/day_length))! number of days to run 365 379 physics_timestep=dt*itau_physics 366 !$OMP END MASTER 367 !$OMP BARRIER 380 368 381 CALL inifis(klon_omp,llm,nqtot,start_day,day_length,ndays,physics_timestep, & 369 382 latfi,lonfi,airefi,radius,g,kappa*cpp,cpp) … … 596 609 597 610 DO l=1,llm 598 wflux_phy(:,l)=wflux_phy(:,l)*cell_area(:) 611 ! Warning: In the physics, vertical flux convention is positive if downwards! 612 wflux_phy(:,l)= - wflux_phy(:,l)*cell_area(:) 613 ! Compute relative geopotential 599 614 phi_phy(:,l)=phi_phy(:,l)-phis_phy(:) 600 615 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.