NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] nf90_var_par_access - independent or collective

  • Subject: Re: [netcdfgroup] nf90_var_par_access - independent or collective
  • From: Karsten Bolding <karsten@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 10 Sep 2014 13:54:06 +0200
Hi John

The program I'm testing is 'simple_xy_par_wr2.f90' from the NetCDF Fortran
distribution. And none of the dimensions are unlimited.

But nice to know for a real application.

Karsten

On Wed, Sep 10, 2014 at 1:50 PM, Holt, John R. <johhol@xxxxxxxxx> wrote:

>  Hi Karsten,
>
>
>
> I also bumped into this problem (although I didn’t get any error message).
> If one of your dimension is unlimited then all parallel IO must be
> collective.
>
>
>
> Cheers,
>
>
>
> John
>
>
>
> *From:* Karsten Bolding [mailto:karsten@xxxxxxxxxxxxxxxxxxxx]
> *Sent:* 10 September 2014 11:26
> *To:* netcdfgroup@xxxxxxxxxxxxxxxx
> *Subject:* [netcdfgroup] nf90_var_par_access - independent or collective
>
>
>
> Hello
>
>
>
> Compiling like:
>
> mpif90 simple_xy_par_wr2.f90
> -I/opt/netcdff-4.4.1-gfortran-4.8-par/include/
> /opt/netcdff-4.4.1-gfortran-4.8-par/lib/libnetcdff.a
>  /opt/netcdf-4.3.3-rc1-gcc-4.8-par/lib/libnetcdf.a
>  /opt/hdf5-1.8.13-gcc-4.8-par/lib/libhdf5_hl.a
> /opt/hdf5-1.8.13-gcc-4.8-par/lib/libhdf5.a -ldl -lm -lz -lcurl
>
>
>
> I can run:
>
>
>
> mpiexec -n 10 ./a.out
>
>
>
> with collective it works but with independent I get:
>
>
>
>  NetCDF: Attempt to extend dataset during NC_INDEPENDENT I/O operation.
> Use nc_va
>
>  NetCDF: Attempt to extend dataset during NC_INDEPENDENT I/O operation.
> Use nc_va
>
>  NetCDF: Attempt to extend dataset during NC_INDEPENDENT I/O operation.
> Use nc_va
>
> STOP 2
>
>  NetCDF: Attempt to extend dataset during NC_INDEPENDENT I/O operation.
> Use nc_va
>
>
>
> any ideas?
>
>
>
> Karsten
>
>
>
>
>
> ------------------------------
> This message (and any attachments) is for the recipient only. NERC is
> subject to the Freedom of Information Act 2000 and the contents of this
> email and any reply you make may be disclosed by NERC unless it is exempt
> from release under the Act. Any material supplied to NERC may be stored in
> an electronic records management system.
>
  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: