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.
address@hidden writes: > Dear Ed, > > Thanks for your prompt reply. I cleaned the f90 directory and made the test > again. > Please find attached the log from that test (f90_log). Everything sems to be > OK there. > > Also I am sending you the result of the commands: > > gmake distclean && ./configure && gmake test > > The file is called "log". OK, everything looks good. I don't think you are having a netcdf problem. >> ================================== Begin error >> =================================== >> g95 -c netcdf_test.f90 -L/home/andry/Software/netcdf-3.6.0/lib > -lnetcdf >> -I/home/andry/Software/netcdf-3.6.0/include >> g95: -lnetcdf: linker input file unused because linking not done >> g95 -o netcdf_test.e netcdf_test.o > -L/home/andry/Software/netcdf-3.6.0/lib >> -lnetcdf -I/home/andry/Software/netcdf-3.6.0/include >> Undefined first referenced >> symbol in file I think you are providing incorrect options to g95. From the g95 manual: -c Compile and assemble, but do not link This is what g95 is complaining about. Try taking a look at the g95 manual and see if you are really issuing the commands you want to be issuing. Sorry, but I don't use g95 much, so I can't take this much further, but it does look like netCDF is not the problem... Good luck! Ed -- Ed Hartnett -- address@hidden