爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 230|回复: 2

CMAQ5.4编译CCTM的时候出现好多未定义,请教各位前辈如何解决

[复制链接]

新浪微博达人勋

发表于 2024-8-8 16:01:42 | 显示全部楼层 |阅读模式

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

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

x
编译CCTM,运行bldit.cctm的时候出现这种一堆未定义是什么原因,怎么解决啊


/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-nc4hdf.o): In function `NC4_hdf5get_libversion':
nc4hdf.c:(.text+0x4dd2): undefined reference to `H5get_libversion'
/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-nc4hdf.o): In function `NC4_hdf5get_superblock':
nc4hdf.c:(.text+0x4e00): undefined reference to `H5Fget_create_plist'
nc4hdf.c:(.text+0x4e23): undefined reference to `H5Pget_version'
nc4hdf.c:(.text+0x4e3a): undefined reference to `H5Pclose'
/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-nc4hdf.o): In function `NC4_isnetcdf4':
nc4hdf.c:(.text+0x4ea2): undefined reference to `H5Aopen_name'
nc4hdf.c:(.text+0x4ead): undefined reference to `H5Aclose'
nc4hdf.c:(.text+0x4ed9): undefined reference to `H5Gget_num_objs'
nc4hdf.c:(.text+0x4f0f): undefined reference to `H5Gget_objname_by_idx'
nc4hdf.c:(.text+0x4f23): undefined reference to `H5Gget_objtype_by_idx'
nc4hdf.c:(.text+0x4f33): undefined reference to `H5Gopen1'
nc4hdf.c:(.text+0x4f4e): undefined reference to `H5Gclose'
nc4hdf.c:(.text+0x4fa5): undefined reference to `H5Dopen1'
nc4hdf.c:(.text+0x4fb0): undefined reference to `H5Aget_num_attrs'
nc4hdf.c:(.text+0x4fe0): undefined reference to `H5Aopen_idx'
nc4hdf.c:(.text+0x4ff9): undefined reference to `H5Aget_name'
nc4hdf.c:(.text+0x501b): undefined reference to `H5Aclose'
nc4hdf.c:(.text+0x5041): undefined reference to `H5Dclose'
/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-nc4hdf.o): In function `NC4_walk':
nc4hdf.c:(.text+0x50ca): undefined reference to `H5Gget_num_objs'
nc4hdf.c:(.text+0x510d): undefined reference to `H5Gget_objname_by_idx'
nc4hdf.c:(.text+0x5121): undefined reference to `H5Gget_objtype_by_idx'
nc4hdf.c:(.text+0x5131): undefined reference to `H5Gopen1'
nc4hdf.c:(.text+0x5147): undefined reference to `H5Gclose'
nc4hdf.c:(.text+0x519b): undefined reference to `H5Dopen1'
nc4hdf.c:(.text+0x51a6): undefined reference to `H5Aget_num_attrs'
nc4hdf.c:(.text+0x51d6): undefined reference to `H5Aopen_idx'
nc4hdf.c:(.text+0x51ef): undefined reference to `H5Aget_name'
nc4hdf.c:(.text+0x5212): undefined reference to `H5Aclose'
nc4hdf.c:(.text+0x5238): undefined reference to `H5Dclose'
/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-nc4hdf.o): In function `nc4_filter_action':
nc4hdf.c:(.text+0x53e1): undefined reference to `H5Zunregister'
nc4hdf.c:(.text+0x553a): undefined reference to `H5Zregister'
/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-nc4info.o): In function `NC4_read_provenance':
nc4info.c:(.text+0x12f): undefined reference to `H5Aexists'
nc4info.c:(.text+0x146): undefined reference to `H5Aopen_name'
nc4info.c:(.text+0x15a): undefined reference to `H5Aget_space'
nc4info.c:(.text+0x167): undefined reference to `H5Aget_type'
nc4info.c:(.text+0x172): undefined reference to `H5Tget_class'
nc4info.c:(.text+0x189): undefined reference to `H5Aclose'
nc4info.c:(.text+0x1a6): undefined reference to `H5Sclose'
nc4info.c:(.text+0x1be): undefined reference to `H5Tclose'
nc4info.c:(.text+0x1cf): undefined reference to `H5Tclose'
nc4info.c:(.text+0x21b): undefined reference to `H5Tget_size'
nc4info.c:(.text+0x260): undefined reference to `H5Tget_native_type'
nc4info.c:(.text+0x298): undefined reference to `H5Aread'
/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-nc4info.o): In function `NC4_write_provenance':
nc4info.c:(.text+0x33a): undefined reference to `H5Aexists'
nc4info.c:(.text+0x34b): undefined reference to `H5Tclose'
nc4info.c:(.text+0x38f): undefined reference to `H5open'
nc4info.c:(.text+0x396): undefined reference to `H5T_C_S1_g'
nc4info.c:(.text+0x39e): undefined reference to `H5Tcopy'
nc4info.c:(.text+0x3b8): undefined reference to `H5Tset_strpad'
nc4info.c:(.text+0x3c6): undefined reference to `H5Tset_cset'
nc4info.c:(.text+0x402): undefined reference to `H5Tset_size'
nc4info.c:(.text+0x418): undefined reference to `H5Screate'
nc4info.c:(.text+0x445): undefined reference to `H5Acreate1'
nc4info.c:(.text+0x46c): undefined reference to `H5Awrite'
nc4info.c:(.text+0x484): undefined reference to `H5Aclose'
nc4info.c:(.text+0x4a0): undefined reference to `H5Sclose'
/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-nc4memcb.o): In function `NC4_image_init':
nc4memcb.c:(.text+0x3d0): undefined reference to `H5open'
nc4memcb.c:(.text+0x3d7): undefined reference to `H5P_CLS_FILE_ACCESS_ID_g'
nc4memcb.c:(.text+0x3df): undefined reference to `H5Pcreate'
nc4memcb.c:(.text+0x474): undefined reference to `H5Pset_fapl_core'
nc4memcb.c:(.text+0x4f8): undefined reference to `H5Pset_file_image_callbacks'
nc4memcb.c:(.text+0x50d): undefined reference to `H5Pset_file_image'
nc4memcb.c:(.text+0x570): undefined reference to `H5check_version'
nc4memcb.c:(.text+0x575): undefined reference to `H5open'
nc4memcb.c:(.text+0x591): undefined reference to `H5check_version'
nc4memcb.c:(.text+0x596): undefined reference to `H5open'
nc4memcb.c:(.text+0x5a5): undefined reference to `H5Fopen'
nc4memcb.c:(.text+0x5bb): undefined reference to `H5check_version'
nc4memcb.c:(.text+0x5c0): undefined reference to `H5open'
nc4memcb.c:(.text+0x5d3): undefined reference to `H5Fcreate'
nc4memcb.c:(.text+0x5f5): undefined reference to `H5Eauto_is_v2'
nc4memcb.c:(.text+0x613): undefined reference to `H5Eget_auto2'
nc4memcb.c:(.text+0x61e): undefined reference to `H5Eset_auto2'
nc4memcb.c:(.text+0x632): undefined reference to `H5Eget_auto1'
nc4memcb.c:(.text+0x63b): undefined reference to `H5Eset_auto1'
nc4memcb.c:(.text+0x648): undefined reference to `H5Pclose'
nc4memcb.c:(.text+0x666): undefined reference to `H5Eset_auto2'
nc4memcb.c:(.text+0x67a): undefined reference to `H5Eset_auto1'
/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-hdf5attr.o): In function `NC4_HDF5_rename_att':
hdf5attr.c:(.text+0x2a1): undefined reference to `H5Adelete'
hdf5attr.c:(.text+0x37a): undefined reference to `H5Adelete'
/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-hdf5attr.o): In function `NC4_HDF5_del_att':
hdf5attr.c:(.text+0x5ce): undefined reference to `H5Adelete'
/data/zmm2/test/CMAQ/lib/x86_64/intel/ioapi/lib/libnetcdf.a(libnchdf5_la-hdf5create.o): In function `NC4_create':
hdf5create.c:(.text+0x77): undefined reference to `H5Pclose'
hdf5create.c:(.text+0x1bc): undefined reference to `H5check_version'
hdf5create.c:(.text+0x1c1): undefined reference to `H5open'
hdf5create.c:(.text+0x1e7): undefined reference to `H5check_version'
hdf5create.c:(.text+0x1ec): undefined reference to `H5open'
hdf5create.c:(.text+0x249): undefined reference to `H5open'
hdf5create.c:(.text+0x250): undefined reference to `H5P_CLS_FILE_ACCESS_ID_g'
hdf5create.c:(.text+0x258): undefined reference to `H5Pcreate'
hdf5create.c:(.text+0x282): undefined reference to `H5Pset_fclose_degree'
hdf5create.c:(.text+0x2d2): undefined reference to `H5Pset_cache'
hdf5create.c:(.text+0x2ef): undefined reference to `H5Pset_libver_bounds'
hdf5create.c:(.text+0x302): undefined reference to `H5open'
hdf5create.c:(.text+0x309): undefined reference to `H5P_CLS_FILE_CREATE_ID_g'
hdf5create.c:(.text+0x311): undefined reference to `H5Pcreate'
hdf5create.c:(.text+0x331): undefined reference to `H5Pset_obj_track_times'
hdf5create.c:(.text+0x350): undefined reference to `H5Pset_link_creation_order'
hdf5create.c:(.text+0x36f): undefined reference to `H5Pset_attr_creation_order'
hdf5create.c:(.text+0x42f): undefined reference to `H5Pset_fapl_core'
hdf5create.c:(.text+0x457): undefined reference to `H5Fcreate'
hdf5create.c:(.text+0x4a1): undefined reference to `H5Gopen2'
hdf5create.c:(.text+0x4c3): undefined reference to `H5Pclose'
hdf5create.c:(.text+0x4d3): undefined reference to `H5Pclose'
hdf5create.c:(.text+0x513): undefined reference to `H5Fcreate'
make: *** [CCTM_v54.exe] Error 1
**ERROR** while running make command

if ( ! 0 ) then
mv Makefile Makefile.intel
if ( -e Makefile.intel && -e Makefile ) rm Makefile
ln -s Makefile.intel Makefile
endif
if ( 0 != 0 ) then
if ( -e /data/zmm2/test/CMAQ/CCTM/scripts/BLD_CCTM_v54_intel/CCTM_v54.cfg ) then
mv CCTM_v54.cfg.bld /data/zmm2/test/CMAQ/CCTM/scripts/BLD_CCTM_v54_intel/CCTM_v54.cfg
if ( 0 ) then
exit

密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2024-8-9 12:46:49 | 显示全部楼层
netcdf没装好,或者是版本太老了?重装一下试试看
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2024-8-12 09:46:51 | 显示全部楼层
好的,谢谢您;我这边重新装一下netcdf试试
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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