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.
>From: address@hidden (Fu Zhufeng) >Organization: SUNY Albany >Keywords: 199408241645.AA26832 netCDF Fortran jackets Fu, >I have installed netcdf-232pl2 on my SUN4 work station. >I have done "make all, test, install, clean". OK. >All seems OK. There comes a directory 'lib' under my main directory, which >include a file libnetcdf.a. Good. >Is this the lib I shall link to when I make f77 of my cdf program? I did that, >and the answer to f77 was >ld: Undefined symbol > _ncopn_ > _ncclos_ >Compilation failed > >How shall I compile my fortran program after the netcdf232pl2 has been >installed? Please look at the makefile in the fortran subdirectory to get more information. I can tell you that you have to link against libnetcdf.a AND include the objects from the Fortran jackets file 'jackets.o'. Tom Yoksas