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, > > > > I am trying to use netcdf for compiling ROMS. I have two questions, > regarding netcdf. > > > > (1) This was built in desktop, running on Windows-XP > > > > > > I am trying to build netcdf in CYGWIN, using g95 compiler. In one of the > computers I used, I get the following errors: > > > > Make check: (check_err) in the attachment Sorry, I could not open this file. Could you send me a text-only file? > > > > Make error: > > > > /cygdrive/c/Programs/netcdf/netcdf-3.6.2/libsrc/./.libs/libnetcdf2.a: No > such file or directory > > C:\Programs\cygwin\usr\local\bin\ar.exe: make[1]: *** [libnetcdf.la] > Error 9 > > make: *** [check-recursive] Error 1 > > > > But I do see the files in > /cygdrive/c/Programs/netcdf/netcdf-3.6.2/libsrc/.libs/libnetcdf2.a > > > > > > Configure log: config.log file in the attachment > > > > > > > > > > (2)I had a successful build in my recently bought lap-top. I did not use > the -fno-second-underscore option in both netcdf and ROMS. ROMS build > and netcdf worked fine and I was able to run ROMS without any problem. > > Wonderful! > > Now I copied the libnetcdf.a into my /lib directory and netcdf.inc into > my .inc directory, taken from the successful build in my lap-top: > > Could you try building it on you target machine, and letting "make install" handle the installation? Thanks, Ed Ticket Details =================== Ticket ID: UPN-998968 Department: Support netCDF Priority: Normal Status: Open