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.
! See COPYRIGHT file for

本文档介绍了在Windows 7环境下,如何使用Intel Fortran 10.1和Visual Studio 2008安装并配置netcdf库。步骤包括下载预编译库,设置项目路径,添加库和头文件路径,并通过一个简单的示例程序展示netcdf的使用。

最低0.47元/天 解锁文章
6897

被折叠的 条评论
为什么被折叠?



