tool-> options Intel(R) Fortran->Compilers, 点击Libraries,加入如下文件夹:
D:netcdfF90IVFlib
D:netcdflib
点击Includes, 加入如下文件夹:
D:netcdfinclude
D:netcdfF90IVFinclude
4.
然后将文件夹
D:netcdf\bin 下的netcdf.dll文件拷贝到新建项目的release或debug文件夹下。
编译运行。
官网上的简单例子:
一个简单算例:
http://www.unidata.ucar.edu/software/netcdf/examples/programs/
! This is part of the netCDF package.
! Copyright 2006 University Corporation for Atmospheric Research/Unidata.