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.
> I have tried to 'make nf_test', but got some error as follow. > > zhuxm@zhuxm-PC /netcdf-4.0.1/nf_test > $ make nf_test > g95 -fno-second-underscore -DpgiFortran nf_test.F -o nf_test > /tmp/cckYjf1F.o:nf_test.F:(.text+0x2ab): undefined reference to `ignorefpe_' > /tmp/cckYjf1F.o:nf_test.F:(.text+0x39f): undefined reference to > `nf_inq_libvers_' OK, so it seems that when you said: >> I have installed it successfully follow your suggestion. it wasn't actually installed successfully according to our definition, which would require that "make check" ran successfully before "make install". In that case, I think my recommendation to use the "-fno-second-underscore" was wrong, because it apparently didn't work with netcdf-4.0.1 and g95 on your platform. If you can't use gfortran, the only other suggestion I have is to remove the use of the "-fno-second-underscore" flag for compiling, and just let the configure script determine what flag to use with your version of g95. I think it will use "-Df2cFortran" but I don't have a g95 compiler to test that. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: FQG-785243 Department: Support netCDF Priority: Normal Status: Closed