- 积分
- 6866
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-7-19
- 最后登录
- 1970-1-1
![[3S气象学] 粉丝数:25 微博数:334 新浪微博达人勋](source/plugin/sina_login/img/light.png)
|

楼主 |
发表于 2023-12-30 15:29:02
|
显示全部楼层
这个问题我最后解决了,发现是得去Intel官网单独下载mpi和ifort编译器安装好才行,不能直接用HPCKit一键安装,但是后面在./case.build的时候又遇到了新的问题。
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(13): error #7013: This module file was not generated by any release of this compiler. [NETCDF]
use netcdf ! _EXTERNAL
---------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(383): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_GLOBAL]
integer, public, parameter :: PIO_global = nf90_global
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(384): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_UNLIMITED]
integer, public, parameter :: PIO_unlimited = nf90_unlimited
-------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(385): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_DOUBLE]
integer, public, parameter :: PIO_double = nf90_double
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(386): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_REAL]
integer, public, parameter :: PIO_real = nf90_real
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(387): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_INT]
integer, public, parameter :: PIO_int = nf90_int
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(388): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_CHAR]
integer, public, parameter :: PIO_char = nf90_char
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(389): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_NOERR]
integer, public, parameter :: PIO_noerr = nf90_noerr
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(390): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_WRITE]
integer, public, parameter :: PIO_WRITE = nf90_write
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(391): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_NOWRITE]
integer, public, parameter :: PIO_nowrite = nf90_nowrite
-----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(392): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_CLOBBER]
integer, public, parameter :: PIO_CLOBBER = nf90_clobber
-----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(393): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_NOCLOBBER]
integer, public, parameter :: PIO_NOCLOBBER = nf90_NOclobber
-------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(394): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_NOFILL]
integer, public, parameter :: PIO_NOFILL = nf90_nofill
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(395): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_MAX_NAME]
integer, public, parameter :: PIO_MAX_NAME = nf90_max_name
------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(396): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_MAX_VAR_DIMS]
integer, public, parameter :: PIO_MAX_VAR_DIMS = nf90_max_var_dims
----------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(397): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_64BIT_OFFSET]
integer, public, parameter :: PIO_64BIT_OFFSET = nf90_64bit_offset
----------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(126): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_COMM_NULL]
integer(i4) :: union_comm=MPI_COMM_NULL ! The intracomm union of comp and io communicators (for async only)
-----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(127): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_COMM_NULL]
integer(i4) :: IO_comm=MPI_COMM_NULL ! The IO communicator
--------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(128): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_COMM_NULL]
integer(i4) :: comp_comm=MPI_COMM_NULL ! The Compute communicator
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(129): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_COMM_NULL]
integer(i4) :: intercomm=MPI_COMM_NULL ! the intercomm (may be MPI_COMM_NULL)
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(131): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_COMM_NULL]
integer(i4) :: my_comm=MPI_COMM_NULL ! either comp_comm or intercomm
--------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(141): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_INFO_NULL]
integer(i4) :: Info=MPI_INFO_NULL ! MPI-IO info structure
-----------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(16): error #6580: Name in only-list does not exist or is not accessible. [MPI_COMM_NULL]
use mpi, only : MPI_COMM_NULL, MPI_INFO_NULL ! _EXTERNAL
--------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(16): error #6580: Name in only-list does not exist or is not accessible. [MPI_INFO_NULL]
use mpi, only : MPI_COMM_NULL, MPI_INFO_NULL ! _EXTERNAL
-----------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(383): error #6404: This name does not have a type, and must have an explicit type. [NF90_GLOBAL]
integer, public, parameter :: PIO_global = nf90_global
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(384): error #6404: This name does not have a type, and must have an explicit type. [NF90_UNLIMITED]
integer, public, parameter :: PIO_unlimited = nf90_unlimited
-------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(385): error #6404: This name does not have a type, and must have an explicit type. [NF90_DOUBLE]
integer, public, parameter :: PIO_double = nf90_double
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(386): error #6404: This name does not have a type, and must have an explicit type. [NF90_REAL]
integer, public, parameter :: PIO_real = nf90_real
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(387): error #6404: This name does not have a type, and must have an explicit type. [NF90_INT]
integer, public, parameter :: PIO_int = nf90_int
----------------------------------------------^
/tmp/ifortqy1l7D.i90(379): catastrophic error: Too many errors, exiting
compilation aborted for /root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90 (code 1)
make[2]: *** [pio/CMakeFiles/pio.dir/pio_types.F90.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [pio/CMakeFiles/pio.dir/all] Error 2
make: *** [all] Error 2
ERROR: ifort: remark #10448: Intel(R) Fortran Compiler Classic (ifort) is now deprecated and will be discontinued late 2024. Intel recommends that customers transition now to using the LLVM-based Intel(R) Fortran Compiler (ifx) for continued Windows* and Linux* support, new language support, new language features, and optimizations. Use '-diag-disable=10448' to disable this message.
ifort: remark #10448: Intel(R) Fortran Compiler Classic (ifort) is now deprecated and will be discontinued late 2024. Intel recommends that customers transition now to using the LLVM-based Intel(R) Fortran Compiler (ifx) for continued Windows* and Linux* support, new language support, new language features, and optimizations. Use '-diag-disable=10448' to disable this message.
ifort: remark #10448: Intel(R) Fortran Compiler Classic (ifort) is now deprecated and will be discontinued late 2024. Intel recommends that customers transition now to using the LLVM-based Intel(R) Fortran Compiler (ifx) for continued Windows* and Linux* support, new language support, new language features, and optimizations. Use '-diag-disable=10448' to disable this message.
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(13): error #7013: This module file was not generated by any release of this compiler. [NETCDF]
use netcdf ! _EXTERNAL
---------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(383): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_GLOBAL]
integer, public, parameter :: PIO_global = nf90_global
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(384): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_UNLIMITED]
integer, public, parameter :: PIO_unlimited = nf90_unlimited
-------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(385): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_DOUBLE]
integer, public, parameter :: PIO_double = nf90_double
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(386): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_REAL]
integer, public, parameter :: PIO_real = nf90_real
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(387): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_INT]
integer, public, parameter :: PIO_int = nf90_int
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(388): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_CHAR]
integer, public, parameter :: PIO_char = nf90_char
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(389): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_NOERR]
integer, public, parameter :: PIO_noerr = nf90_noerr
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(390): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_WRITE]
integer, public, parameter :: PIO_WRITE = nf90_write
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(391): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_NOWRITE]
integer, public, parameter :: PIO_nowrite = nf90_nowrite
-----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(392): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_CLOBBER]
integer, public, parameter :: PIO_CLOBBER = nf90_clobber
-----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(393): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_NOCLOBBER]
integer, public, parameter :: PIO_NOCLOBBER = nf90_NOclobber
-------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(394): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_NOFILL]
integer, public, parameter :: PIO_NOFILL = nf90_nofill
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(395): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_MAX_NAME]
integer, public, parameter :: PIO_MAX_NAME = nf90_max_name
------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(396): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_MAX_VAR_DIMS]
integer, public, parameter :: PIO_MAX_VAR_DIMS = nf90_max_var_dims
----------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(397): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_64BIT_OFFSET]
integer, public, parameter :: PIO_64BIT_OFFSET = nf90_64bit_offset
----------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(126): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_COMM_NULL]
integer(i4) :: union_comm=MPI_COMM_NULL ! The intracomm union of comp and io communicators (for async only)
-----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(127): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_COMM_NULL]
integer(i4) :: IO_comm=MPI_COMM_NULL ! The IO communicator
--------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(128): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_COMM_NULL]
integer(i4) :: comp_comm=MPI_COMM_NULL ! The Compute communicator
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(129): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_COMM_NULL]
integer(i4) :: intercomm=MPI_COMM_NULL ! the intercomm (may be MPI_COMM_NULL)
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(131): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_COMM_NULL]
integer(i4) :: my_comm=MPI_COMM_NULL ! either comp_comm or intercomm
--------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(141): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [MPI_INFO_NULL]
integer(i4) :: Info=MPI_INFO_NULL ! MPI-IO info structure
-----------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(16): error #6580: Name in only-list does not exist or is not accessible. [MPI_COMM_NULL]
use mpi, only : MPI_COMM_NULL, MPI_INFO_NULL ! _EXTERNAL
--------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(16): error #6580: Name in only-list does not exist or is not accessible. [MPI_INFO_NULL]
use mpi, only : MPI_COMM_NULL, MPI_INFO_NULL ! _EXTERNAL
-----------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(383): error #6404: This name does not have a type, and must have an explicit type. [NF90_GLOBAL]
integer, public, parameter :: PIO_global = nf90_global
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(384): error #6404: This name does not have a type, and must have an explicit type. [NF90_UNLIMITED]
integer, public, parameter :: PIO_unlimited = nf90_unlimited
-------------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(385): error #6404: This name does not have a type, and must have an explicit type. [NF90_DOUBLE]
integer, public, parameter :: PIO_double = nf90_double
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(386): error #6404: This name does not have a type, and must have an explicit type. [NF90_REAL]
integer, public, parameter :: PIO_real = nf90_real
----------------------------------------------^
/root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90(387): error #6404: This name does not have a type, and must have an explicit type. [NF90_INT]
integer, public, parameter :: PIO_int = nf90_int
----------------------------------------------^
/tmp/ifortqy1l7D.i90(379): catastrophic error: Too many errors, exiting
compilation aborted for /root/model/my_cesm_sandbox1/CESM-release-cesm2.2.0/cime/src/externals/pio1/pio/pio_types.F90 (code 1)
make[2]: *** [pio/CMakeFiles/pio.dir/pio_types.F90.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [pio/CMakeFiles/pio.dir/all] Error 2
make: *** [all] Error 2
|
|