- 积分
- 1784
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-4-8
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2020-12-28 11:03:49
|
显示全部楼层
多谢!按这个教程安装好netcdf-c,netcdf-fortran和ioapi了。但是安装CCTM还是不成功
不知道您是否遇到过下面这种错误?
pshut3.F(53): error #5102: Cannot open include file 'STATE3.EXT'
INCLUDE 'STATE3.EXT'
----------------^
pshut3.F(72): error #6404: This name does not have a type, and must have an explicit type. [FINIT3]
IF (.NOT. FINIT3) THEN
------------------^
pshut3.F(82): error #6404: This name does not have a type, and must have an explicit type. [COUNT3]
DO FILE = 1, COUNT3
---------------------^
pshut3.F(84): error #6404: This name does not have a type, and must have an explicit type. [CDFID3]
FID = CDFID3(FILE)
-----------------^
pshut3.F(86): error #6404: This name does not have a type, and must have an explicit type. [FLIST3]
IF ((FID .GE. 0) .AND. (FLIST3(FILE) .NE. CMISS3)) THEN
-----------------------------------^
pshut3.F(86): warning #6043: This Hollerith or character constant is too long and cannot be used in the current numeric context. ['????????????????']
IF ((FID .GE. 0) .AND. (FLIST3(FILE) .NE. CMISS3)) THEN
-----------------------------------------------------^
pshut3.F(99): error #6404: This name does not have a type, and must have an explicit type. [FTYPE3]
IF( FTYPE3( FILE ) .EQ. LOC_MPIGRD3 ) THEN
------------------^
pshut3.F(118): error #6404: This name does not have a type, and must have an explicit type. [LOGDEV]
WRITE( LOGDEV,91010 )
------------------------------^
pshut3.F(120): error #6054: A CHARACTER data type is required in this context. [FLIST3]
& 'File name: ' // FLIST3( FILE ) ,
-----------------------------------------^
pshut3.F(128): error #6410: This name has not been declared as an array or a function. [FLIST3]
FLIST3(FILE) = CMISS3
-----------^
pshut3.F(129): error #6404: This name does not have a type, and must have an explicit type. [NVARS3]
DO V = 1, NVARS3( FILE )
---------------------^
pshut3.F(130): error #6410: This name has not been declared as an array or a function. [ILAST3]
ILAST3(V,FILE) = IMISS3
--------------^
pshut3.F(131): error #6410: This name has not been declared as an array or a function. [LDATE3]
LDATE3(V,FILE) = IMISS3
--------------^
pshut3.F(132): error #6410: This name has not been declared as an array or a function. [LTIME3]
LTIME3(V,FILE) = IMISS3
--------------^
pshut3.F(133): error #6410: This name has not been declared as an array or a function. [NDATE3]
NDATE3(V,FILE) = IMISS3
--------------^
pshut3.F(134): error #6410: This name has not been declared as an array or a function. [NTIME3]
NTIME3(V,FILE) = IMISS3
--------------^
pshut3.F(140): error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands.
FINIT3 = .FALSE.
-----------------^
compilation aborted for pshut3.F (code 1)
make: *** [pshut3.o] Error 1
**ERROR** while running make command
|
|