NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] Visual Studio 2005 win32/x64 and Intel Fortran

Netcdf group,

 

We are currently using netcdf-4.1.1 with the port patch contributed by Viet
Eitner:

 

http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#windows_netcdf4_1

 

I need to build a version of netcdf that will work with a Fortran program
built with the Intel compiler using the Integer*8 flag.  The problem is
netcdf assumes that sizeof(long) == 64 on 64-bit systems.  That is true for
Unix platforms, but NOT true for Windows (LLP64).  See:

 

http://stackoverflow.com/questions/384502/what-is-the-bit-size-of-long-on-64
-bit-windows

 

Has anyone tried to tackle this problem?  I see numerous function
declarations using "long" variants.  Any suggestions?  Any chance that
"int"/"long" types could be factored out of netcdf in the future?

 

Thanks,

Roy Dennington

  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: