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.

[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