This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> hi > > I'm trying to compile netcdf-4.0-alpha17 on a Sun machine running solaris 10 > with the studio version 10 compilers. The build fails when trying to build > the f90 modules with errors as follows: > > function nf90_create_par(path, cmode, comm, info, ncid) > ^ > "netcdf4_func.f90", Line = 5, Column = 12: ERROR: "NF90_CREATE_PAR" has the > INTEGER attribute, therefore it must not be declared as a module procedure > function. > > function nf90_open_par(path, cmode, comm, info, ncid) > ^ > "netcdf4_func.f90", Line = 15, Column = 12: ERROR: "NF90_OPEN_PAR" has the > INTEGER attribute, therefore it must not be declared as a module procedure > function. > > function nf90_var_par_access(ncid, varid, access) > ^ > "netcdf4_func.f90", Line = 26, Column = 12: ERROR: "NF90_VAR_PAR_ACCESS" has > the > INTEGER attribute, therefore it must not be declared as a module procedure > function. > > etc etc. > > Any ideas how to fix this? > > Cheers > > Kevin > > -------------------------------------------------------------------------- > | | > | Kevin I. Hodges | > | ESSC (Enviromental Systems Science Center) | > | University of Reading, | > | Harry Pitt Building, | > | 3 Earley Gate, | > | Whiteknights, PO Box 238, Tel: 01189 318741 | > | Reading RG6 6AL, U.K. Fax: 01189 316413 | > | | > | email: address@hidden | > | WWW: http://www.nerc-essc.ac.uk/~kih/Home.html | > | | > -------------------------------------------------------------------------- > > > Yes, there were F90 problems in that alpha release, which I have (I believed) fixed for the next alpha release, which should be in a few weeks. If you could try again then, and let me know if you still encounter these problems, that would be very helpful. Thanks! Ed Ticket Details =================== Ticket ID: CQZ-629413 Department: Support netCDF Priority: Normal Status: Closed