使用 NetCDF 时出错:维度 ID 或名称无效



我已经安装了NetCDF 4.3.2和NetCDF-Fortran 4.2。我想运行社区地球系统模型 4.2。

当我创建一个案例,构建一个案例,然后运行一个案例时,我收到以下错误:

NetCDF: Invalid dimension ID or name *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000011971760 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000012a3c5d0 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000011870e20 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000011870e20 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000011971760 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x00000000129369d0 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x00000000129369d0 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000012a3c5d0 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000012ca7090 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000011a16890 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x000000001101a390 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000011e02f90 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x00000000123df2b0 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x00000000128e7d30 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000012390540 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000011db9ad0 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000012ca7090 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: corrupted double-linked list: 0x0000000012542e90 *** *** glibc detected *** /home/nitin/CESM/NEW_CASES/CaseX/exeroot/cesm.exe: malloc(): memory corruption: 0x0000000011e5dbb0 ***

NetCDF 安装到底出了什么问题?

首先,不要使用 CESM 来测试 netcdf 安装。 使用"进行检查"。

然后,您提供的回溯非常清楚:您正在将垃圾传递给您的一个 netcdf 例程:可能传递堆栈分配的变量? 缺少命令行参数? 如果您使用调试构建 CESM,则可以获得更好的答案:然后,您可以找到适合您的 netcdf 例程。

相关内容

  • 没有找到相关文章

最新更新