Skip to content

Commit

Permalink
Squashed 'src/externals/pio1/' changes from b4e6d54..7da5627
Browse files Browse the repository at this point in the history
7da5627 Merge pull request ESMCI#1289 from NCAR/jayeshkrishna/support_nc_withoutnc4
31b8c64 Support NetCDF libs without NetCDF4 support

git-subtree-dir: src/externals/pio1
git-subtree-split: 7da5627967193c2a15c54146c4d590b9b146076d
  • Loading branch information
jedwards4b committed Jan 10, 2019
1 parent c371da4 commit 55edd12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pio/pionfput_mod.F90.in
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,11 @@ contains
#endif
#endif
#ifdef _NETCDF
#ifdef _NETCDF4
case(pio_iotype_netcdf4p)
ierr=nf90_var_par_access(File%fh, varid, NF90_COLLECTIVE)
ierr = nf90_put_var(File%fh, varid, ival, start=int(pstart), count=int(pcount))
#endif
case(pio_iotype_netcdf, pio_iotype_netcdf4c)
! Only io proc 0 will do writing
if (Ios%io_rank == 0) then
Expand Down

0 comments on commit 55edd12

Please sign in to comment.