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.
Hi, there, I tried to open a NetCDF3 file with NetCDF4 (parallel-enabled) code (as below), and get the error message: Problem to open: <vdras_input.nc>. Error status: NetCDF: Parallel operation on file opened for non-parallel access Stop in file: <input_vdras_nc.F90>, line: 58 Anyone knows what is wrong here? Thanks, Wei ----- ! Open the file. status = nf90_open(trim(input_flnm), NF90_NOWRITE, ncid, & comm = MPI_COMM_WORLD, & info = MPI_INFO_NULL) if(status /= nf90_noerr) then write(unit=0, fmt='(3a)') "Problem to open: <", trim(input_flnm), ">." write(unit=0, fmt='(2a)') "Error status: ", trim(nf90_strerror(status)) write(unit=0, fmt='(3a, i4)') & "Stop in file: <", "input_vdras_nc.F90", ">, line: ", 58 stop end if huangwei@xxxxxxxx VETS/CISL National Center for Atmospheric Research P.O. Box 3000 (1850 Table Mesa Dr.) Boulder, CO 80307-3000 USA (303) 497-8924
netcdfgroup
archives: