- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've seen some messages posted to the forum about calling Fortran subroutines in the NetCDF library but have not noticed a resolution for 64-bit projects.
I have a mixed code (C++, Fortran) VS project and would like to call subroutines in the NetCDF Fortran library. It looks like Unidata does not support Fortran NetCDF compiled with the Intel Fortran compiler. Has anyone had any luck creating a static or dynamic version of the NetCDF Fortran library compatible with a 64-bit VS project? Alternatively, how about a C version?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I have - there is/was a problem on Windows, but I have been able to solve that. The problem is in netcdf-4.3.2\netcdf-config.cmake.in - I have a small batch file to automate the whole process. When building the library with Intel Fortran you need to use either VS2012 or VS2013, because of the way the HDF5 library which is used underneath is built/tested.
(I can send you the batch file and such, if you are interested, but no guarantees ;))

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page