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, > > we have downloaded the netCDF library from your website, and now we are > trying to build it with different compilers we got on our HPC-Cluster. > Unfortunately the C++ test fails with message: "C++ runtime abort > internal error : static object marked for destruction more than once". > We are using the version 3.6.2. Well that sure sounds bad, doesn't it. What C++ compiler are you using? > > In addition to that we have another problem. Following "Environment > instructions" on your Web Site we set the FC-Flag to "pgf90" (e.g. we > are using the Portland Group Compiler), so we are attempting to use only > this Fortran 90 Compiler an not "pgf77" (Fortran 77). We also set > --disable-f77 for configure to disable Fortran77-Compiler. During > configure run it puts out a message that neither F77 nor F90 API is > desired. Consequently on "make install" no Fortran-libraries are built. > How can we build the Fortran library separately with F77 and F90 Compiler? > Set both F77 and F90 to pgf90. Don't use --disable-f77. In fact, without the F77 API, the F90 API does not work. But you can build them both with the same F90 compiler. > Thank you for help and sorry for my bad English. :-) > > Stanislav Velychko > HPC-Cluster-Assistent, ZDV > University of Mainz, Germany > > > Your English is excellent. I was in Maintz a few months ago on a holiday - I didn't know there were any netCDF users around though! ;-) Thanks, Ed Ticket Details =================== Ticket ID: RIN-798614 Department: Support netCDF Priority: Normal Status: Open