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

[netCDF #AJD-911069]: NetCDF implementation with Intel Windows Fortran compiler



> Hello,
> 
> I've been trying to employ the NetCDF library within the Visual Fortran 
> environment on Windows XP. I have recently upgraded my machine and in so 
> doing have replaced Visual Fortran 6.6 with the Intel Fortran compiler 
> v10.0.3718, embedded within Visual Studio 8.0.50727.42.
> 
> Previously, the NetCDF 3.5 DLL worked, when placed into the system32 
> directory, with the netcdf.lib and netcdf.h in the local source directory. 
> However, this implementation no longer seems to function, with the NetCDF 
> routines called in my source being inaccessible.

Are you setting all the same flags that you used to set?

It is strange that the DLL should not work for you. Nothing has changed about 
how DLLs work, as far as I understand the MS development environment. If the 
netCDF 3.5 DLL does not work, I don't think the problem is with the DLL but 
with the environment.

> 
> I have downloaded the latest NetCDF DLL and attempted to repeat the procedure 
> without success. I have also built the netcdf.mod and netcdf_f90.lib files 
> from the latest source and imported them into the Program Files\Microsoft 
> Visual Studio 8\VC\PlatformSDK\ directories. This has not worked either.

Did they build correctly?

Did you try to run the tests in the nf_test directory?

You have to build the C library with the correct flag set for Intel fortran. It 
is defined in the properties of the "netcdf" project in visual studio. It need 
to be set to pgiFortran, I believe.

> 
> I appreciate that the Windows Intel compiler/Microsoft Visual Studio is not 
> one of the principal build environments in which NetCDF is employed, but we 
> have found useful here to be able to run applications employing NetCDF under 
> Windows. If anything's come up on any differences between the two versions I 
> would be very grateful to learn about them.
> 

Actually I have intel fortran and am trying to get it working as part of our 
daily test system.

Do you use intel fortran from the command line? Or with the GUI?

Sorry I could not be of more help.

Ed

Ticket Details
===================
Ticket ID: AJD-911069
Department: Support netCDF
Priority: Normal
Status: Open