Changeset a9cf4b1 in flexpart.git for src/FLEXPART_MPI.f90
- Timestamp:
- Apr 5, 2018, 12:30:54 PM (6 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 3f149cc
- Parents:
- 8fcfd08
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/FLEXPART_MPI.f90
r0c00f1f ra9cf4b1 53 53 use conv_mod 54 54 use mpi_mod 55 use netcdf_output_mod, only: writeheader_netcdf56 55 use random_mod, only: gasdev1 57 56 use class_gribfile 57 58 #ifdef USE_NCF 59 use netcdf_output_mod, only: writeheader_netcdf 60 #endif 58 61 59 62 implicit none … … 378 381 379 382 if (mp_measure_time) call mpif_mtime('iotime',0) 383 380 384 if (lroot) then ! MPI: this part root process only 381 382 if (lnetcdfout.eq.1) then383 call writeheader_netcdf(lnest=.false.)384 else385 call writeheader386 end if387 388 if (nested_output.eq.1) then389 if (lnetcdfout.eq.1) then390 call writeheader_netcdf(lnest=.true.)391 else392 call writeheader_nest393 endif394 endif395 396 ! 385 #ifdef USE_NCF 386 if (lnetcdfout.eq.1) then 387 call writeheader_netcdf(lnest=.false.) 388 else 389 call writeheader 390 end if 391 392 if (nested_output.eq.1) then 393 if (lnetcdfout.eq.1) then 394 call writeheader_netcdf(lnest=.true.) 395 else 396 call writeheader_nest 397 endif 398 endif 399 #endif 400 397 401 if (verbosity.gt.0) then 398 402 print*,'call writeheader' … … 402 406 ! FLEXPART 9.2 ticket ?? write header in ASCII format 403 407 call writeheader_txt 404 !if (nested_output.eq.1) call writeheader_nest 408 405 409 if (nested_output.eq.1.and.surf_only.ne.1) call writeheader_nest 406 410 if (nested_output.eq.1.and.surf_only.eq.1) call writeheader_nest_surf … … 409 413 410 414 if (mp_measure_time) call mpif_mtime('iotime',0) 411 412 !open(unitdates,file=path(2)(1:length(2))//'dates')413 415 414 416 if (verbosity.gt.0 .and. lroot) then
Note: See TracChangeset
for help on using the changeset viewer.