[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #UFS-326614]: NetCDF for Intel Fortran (Windows, 64 bit)

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.


  • Subject: [netCDF #UFS-326614]: NetCDF for Intel Fortran (Windows, 64 bit)
  • Date: Tue, 06 Mar 2018 14:23:47 -0700

Hello,

It is true that the netCDF Fortran library isn't supported on Windows yet, 
although we know anecdotally that it can be built.  We hope to support this in 
the future.  I don't believe that software linked against the gnu C runtime can 
be used against software that is compiled with the Microsoft C runtime.  We do 
provide pre-built C libraries, available from 
https://www.unidata.ucar.edu/software/netcdf/docs/winbin.html .  I hope this 
helps!

-Ward


> Hello,
> 
> I’d like to use the NetCDF Fortran library for a project using Visual Studio 
> and the Intel Fortran compiler in Windows 10.
> 
> Option A:
> From the online documentation, it appears that the NetCDF Fortran library is 
> not supported for a 64-bit Windows platform. Is that still the case?
> 
> Option B:
> For a previous project I built the C and Fortran NetCDF libs with the gnu 
> compilers in cygwin:
> 
> $ ls -1 /usr/lib/libnetcdf*
> /usr/lib/libnetcdf.dll.a
> /usr/lib/libnetcdf.settings
> /usr/lib/libnetcdf_c++4.dll.a
> /usr/lib/libnetcdff.dll.a
> 
> Is it possible to link libs created with gfortran and gcc to a Visual Studio 
> project?
> 
> Option C:
> Alternatively, do you have a pre-built 64-bit version of the C NetCDF library?
> 
> Option D:
> ???
> 
> Thanks,
> 
> Steve
> 


Ticket Details
===================
Ticket ID: UFS-326614
Department: Support netCDF
Priority: Normal
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.