Hi Liz, > I must admit that the idea of compiling the library myself is rather > daunting. I've never tried it since I've always used the pre-built kinds > (even if they are a version behind). I do not have a C compiler since no > one at my office "speaks C" - does this mean I cannot compile it anyway? > The directions say to compile the FORTRAN with the same C compiler. > > Since I'd rather weasel my way out of having to compile this myself, > have you been in contact with the fellow who originally posted the 64-bit > Windows DLL to let him know that it doesn't work? Sorry, we currently don't have any prebuilt netCDF Fortran libraries for Windows. The Fortran netCDF library depends on the C netCDF library, and part of the Fortran library is written in C, so currently you have to have a C compiler to build and install it. We'll see if we can test the upcoming Fortran 4.2.1 version on Windows before it's released, which may result in some prebuilt libraries, but that won't be available for a while, probably at least a month or two. --Russ > Regards, > Liz > > -----Original Message----- > From: Unidata netCDF Support [mailto:address@hidden > Sent: Wednesday, September 05, 2012 6:31 PM > To: address@hidden > Cc: address@hidden > Subject: [netCDF #IOW-928901]: Windows 64-bit prebuilt NetCDF dll > > > Good afternoon Liz, > > My apologies for the delay in responding to your support request; hopefully > we can get this resolved. > > > Dear NetCDF Support Staff, > > > > > > > > I am in need of a 64-bit prebuilt NetCDF DLL library with > > FORTRAN support. In the past, I have successfully linked a NetCDF 3 > library > > and more recently a 32-bit NetCDF 4.1.1 library to my FORTRAN code. I > > discovered the link on your FAQ page in the answer to "How can I use > > netCDF-4.1 with Windows?" section to a 4.1.3 64-bit library that led me > > here: > > > http://www.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2011/msg00362 > > .html. I was able to link this library only to a release x64 version. > The > > other 3 versions all failed (32-bit debug, 32-bit release, and 64-bit > debug) > > from 159 separate lnk2019 errors. I successfully got the test_prog.f90 to > > compile and run. Simple enough, its only goal is to tell me what version > of > > the library I'm running: 4.1.3 of Sep 14 2011 18:53:01. I decided to > > complicate things by asking it to open an existing NetCDF file (one that I > > read with v 4.1.1): > > > > > cFile = > > > > & 'O:\netCDF\Test_NetCDF\wm_20110101.nc' > > > > lError = nf90_open(path=cFile,mode=nf90_nowrite,ncid=lu) > > declaring cFile as a character*250, lError and lu as integers. I get the > > following error and since I only have a release version I cannot figure > out > > how to get better details. > > > > Searching in the NetCDF.dll as raw text, I see that my 4.1.1 version has > > "address@hidden" and this new 4.1.3 has "nf_open" only and no @# value > > behind > > it. I interpret this as it not having a call list. It would explain why > > print *, 'NetCDF version: ', nf90_inq_libvers() would work since it has no > > call list by definition. > > Starting with NetCDF version 4.2, the fortran libraries have been separated > out > from the NetCDF-C libraries. > > Pre-compiled NetCDF-C 220.127.116.11 Windows libraries can be downloaded from: > > http://www.unidata.ucar.edu/netcdf/win_netcdf > > The fortran library source code can be found here: > > http://www.unidata.ucar.edu/downloads/netcdf/netcdf-fortran/index.jsp > > Instructions on compiling the fortran libraries can be found here: > > http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-fortran-install.html > > Unfortunately, we do not have Windows instructions for the Fortran > libraries, > but anecdotal reports from our users suggests that they can be successfully > built > on Windows. > > I hope this helps, have a good evening, > > -Ward > > > Regards, > > Liz > > > > Ticket Details > =================== > Ticket ID: IOW-928901 > Department: Support netCDF > Priority: Critical > Status: Open > > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: IOW-928901 Department: Support netCDF Priority: Critical Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.