我已安裝NetCDF 4.3.2和NetCDF-Fortran 4.2。我想運行社區地球系統模型4.2。使用NetCDF時出錯:無效的維度ID或名稱
當我創建的情況下,建立的情況下,然後運行的情況下,我得到以下錯誤:
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: 0x0000000*** *** 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安裝?
我用'make check'來測試安裝。很好。該錯誤是由於CESM代碼中的編譯器優化和特定的fortan文件。一旦我找到兼容的Fortran代碼,它就可以工作。謝謝。 –