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 Rafael, We do not currently support netcdf-fortran on Windows. We have CMake support for linux/OSX, but it has not yet been officially expanded to support Visual Studio-based builds, although this is on our task list for the short-to-medium future. Some of our users have had luck building netcdf-fortran manually, but I'm afraid I do not have any experience with it. In regards to compiling the C libraries first; the netcdf-c libraries are required by the netcdf-fortran libraries, so it would be necessary to install them. You should be able to compile them by hand with CMake, using the instructions found here: http://www.unidata.ucar.edu/netcdf/win_netcdf I have recently gone through the process of building netcdf with Visual Studio 2013, and could help with instructions, or perhaps even providing an install package which contained libnetcdf for use with VS2013. Unfortunately, this will not help you with netcdf-fortran. I'm sorry I cannot provide a more positive answer regarding netcdf-fortran with Visual Studio. -Ward > Dear Sir/Madame, > > I'm trying to use netCDF on Visual Studio 2013, with Intel Parallel Studio > XE 15. I can't use the module (code line: USE netCDF) because I can't > install it. I was searching for solutions at the forum, but the solutions I > found just gave me more doubts about how to use it. > > Is there an easy way to install netCDF Fortran Libraries in Windows and > just use it in my project? All the solutions I found where using CMake, or > compiling C libraries first in Visual Studio and it all just make me feel > lost. > > I hope you can help me. > > Best Regards, > > -- > Rafael Cavalcanti > > Ticket Details =================== Ticket ID: TIN-924555 Department: Support netCDF Priority: Normal Status: Closed