[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
  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: