- 积分
- 1784
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-4-8
- 最后登录
- 1970-1-1
|
发表于 2020-12-27 09:43:31
|
显示全部楼层
我也遇到了问题 log文件结束时的内容:
Makefile generated
mpifort -c -fixed -132 -O3 -fno-alias -mp1 -fp-model source -ftz -simd -align all -xHost -vec-guard-write -unroll-aggressive -I /home/mqx/models/CMAQ-5.3.1/lib/ioapi/lib -I /home/mqx/models/CMAQ-5.3.1/lib/ioapi/include_files -I /home/mqx/models/CMAQ-5.3.1/lib/mpi -I. -Dparallel -Dm3dry_opt -DSUBST_BARRIER=SE_BARRIER -DSUBST_GLOBAL_MAX=SE_GLOBAL_MAX -DSUBST_GLOBAL_MIN=SE_GLOBAL_MIN -DSUBST_GLOBAL_MIN_DATA=SE_GLOBAL_MIN_DATA -DSUBST_GLOBAL_TO_LOCAL_COORD=SE_GLOBAL_TO_LOCAL_COORD -DSUBST_GLOBAL_SUM=SE_GLOBAL_SUM -DSUBST_GLOBAL_LOGICAL=SE_GLOBAL_LOGICAL -DSUBST_LOOP_INDEX=SE_LOOP_INDEX -DSUBST_SUBGRID_INDEX=SE_SUBGRID_INDEX -DSUBST_HI_LO_BND_PE=SE_HI_LO_BND_PE -DSUBST_SUM_CHK=SE_SUM_CHK -DSUBST_SE_INIT=SE_INIT -DSUBST_INIT_ARRAY=SE_INIT_ARRAY -DSUBST_COMM=SE_COMM -DSUBST_MY_REGION=SE_MY_REGION -DSUBST_SLICE=SE_SLICE -DSUBST_GATHER=SE_GATHER -DSUBST_DATA_COPY=SE_DATA_COPY -DSUBST_IN_SYN=SE_IN_SYN -DSUBST_PE_COMM=\"./PE_COMM.EXT\" -DSUBST_CONST=\"./CONST.EXT\" -DSUBST_FILES_ID=\"./FILES_CTM.EXT\" -DSUBST_EMISPRM=\"./EMISPRM.EXT\" -DSUBST_MPI=\"/home/mqx/models/CMAQ-5.3.1/lib/mpi/include/mpif.h\" pshut3.F
**ERROR** while running make command
下面是报错信息
Makefile generated
mpifort -c -fixed -132 -O3 -fno-alias -mp1 -fp-model source -ftz -simd -align all -xHost -vec-guard-write -unroll-aggressive -I /home/mqx/models/CMAQ-5.3.1/lib/ioapi/lib -I /home/mqx/models/CMAQ-5.3.1/lib/ioapi/include_files -I /home/mqx/models/CMAQ-5.3.1/lib/mpi -I. -Dparallel -Dm3dry_opt -DSUBST_BARRIER=SE_BARRIER -DSUBST_GLOBAL_MAX=SE_GLOBAL_MAX -DSUBST_GLOBAL_MIN=SE_GLOBAL_MIN -DSUBST_GLOBAL_MIN_DATA=SE_GLOBAL_MIN_DATA -DSUBST_GLOBAL_TO_LOCAL_COORD=SE_GLOBAL_TO_LOCAL_COORD -DSUBST_GLOBAL_SUM=SE_GLOBAL_SUM -DSUBST_GLOBAL_LOGICAL=SE_GLOBAL_LOGICAL -DSUBST_LOOP_INDEX=SE_LOOP_INDEX -DSUBST_SUBGRID_INDEX=SE_SUBGRID_INDEX -DSUBST_HI_LO_BND_PE=SE_HI_LO_BND_PE -DSUBST_SUM_CHK=SE_SUM_CHK -DSUBST_SE_INIT=SE_INIT -DSUBST_INIT_ARRAY=SE_INIT_ARRAY -DSUBST_COMM=SE_COMM -DSUBST_MY_REGION=SE_MY_REGION -DSUBST_SLICE=SE_SLICE -DSUBST_GATHER=SE_GATHER -DSUBST_DATA_COPY=SE_DATA_COPY -DSUBST_IN_SYN=SE_IN_SYN -DSUBST_PE_COMM=\"./PE_COMM.EXT\" -DSUBST_CONST=\"./CONST.EXT\" -DSUBST_FILES_ID=\"./FILES_CTM.EXT\" -DSUBST_EMISPRM=\"./EMISPRM.EXT\" -DSUBST_MPI=\"/home/mqx/models/CMAQ-5.3.1/lib/mpi/include/mpif.h\" pshut3.F
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
不知道是什么原因,请大神帮忙解答一下,不胜感激 |
|