爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 996|回复: 3

Have to compile with ESMF_NETCDF environment variable defined

[复制链接]

新浪微博达人勋

发表于 2023-9-10 18:52:00 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
当我用ESMF在我的电脑上处理SCRIP文件创建一个MESH网格文件时,输出:
  1. Have to compile with ESMF_NETCDF environment variable defined
复制代码
但没有生成mesh文件。

在编译ESMF的时候,各种选项都试过了,但是结果不变,大家知道怎么回事嘛。
ESMF_NETCDFPossible value: not set (default), "nc-config", "split", "standard", <userstring>.
not set (default)NetCDF-dependent features will be disabled. The ESMF_NETCDF_INCLUDE, ESMF_NETCDF_LIBPATH, and ESMF_NETCDF_LIBS environment variables will be ignored.
"nc-config"The NetCDF nc-config and if available, nf-config, tools will be used to determine the proper settings of ESMF_NETCDF_INCLUDE, ESMF_NETCDF_LIBPATH, and ESMF_NETCDF_LIBS. The shell PATH environment variable must include the NetCDF bin directories where nc-config and nf-config reside. This option supports having the main NetCDF library and the Fortran API library reside in separate directories.
"split"ESMF_NETCDF_LIBS will be set to "-lnetcdff -lnetcdf". This option is useful for systems which have the Fortran and C bindings archived in separate library files. The ESMF_NETCDF_INCLUDE and ESMF_NETCDF_LIBPATH environment variables will also be used, if defined.
"standard"ESMF_NETCDF_LIBS will be set to "-lnetcdf". This option is useful when the Fortran and C bindings are archived together in the same library file. The ESMF_NETCDF_INCLUDE and ESMF_NETCDF_LIBPATH environment variables will also be used, if defined.
<userstring>If set, ESMF_NETCDF_INCLUDE, ESMF_NETCDF_LIBPATH, and ESMF_NETCDF_LIBS environment variables will be used, if defined.
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2023-9-10 18:56:14 | 显示全部楼层
ESMF_Scrip2Unstruct
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2023-9-11 14:53:55 | 显示全部楼层
我发现运行之后,INFO  PET0 ESMF_NETCDF  : disabled,但是编译安装的时候,确实是选择了ESMF_NETCDF
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2023-9-12 09:28:24 | 显示全部楼层
是我安装失误,已经解决了
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表