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.
Hello, Can you provide the config.log file generated when you run configure? Also, where are you installing the pnetcdf library? It will need to be installed before netcdf will detect it, and if I know the location I can help you set up your environment. Thanks, have a good day, -Ward > Full Name: Nathan Wendt > Email Address: address@hidden > Organization: University of Illinois > Package Version: 4.3.3.1 > Operating System: Linux > Hardware: > Description of problem: I was trying to build NetCDF 4.3.3.1 along with > pnetcdf 1.6.0 and was running into an issue where it could not detect the > pnetcdf libraries it needed. See the error below: > > checking for ncmpi_create in -lpnetcdf... no > configure: error: Cannot link to pnetcdf library, yet --enable-pnetcdf was > used. > > Obviously, I have not an environmental variable correctly to direct NetCDF to > the appropriate location on my system. I have tried including the the path to > pnetcdf.h in any environmental variable that I know gets used in the build. I > am sure it is something simple. > > Thanks, > > > Ticket Details =================== Ticket ID: XRL-614540 Department: Support netCDF Priority: Normal Status: Closed