请选择 进入手机版 | 继续访问电脑版
爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 3564|回复: 6

wps安装总是出错,菜鸟求救啊!!!

[复制链接]

新浪微博达人勋

发表于 2018-5-31 12:03:27 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
libpng,jasper,zlib都已经安装并且在configure.wps中修改compressionlib和....inc,结果还是报错,要崩溃了


Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.1.106 Build 20131008
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.

ld: cannot find -lnetcdff
ld: cannot find -lnetcdf
make[1]: [geogrid.exe] 错误 1 (忽略)
Makefile:44: warning: overriding recipe for target `.f.o'
/home/WPS/configure.wps:101: warning: ignoring old recipe for target `.f.o'
Makefile:48: warning: overriding recipe for target `.c.o'
/home/WPS/configure.wps:97: warning: ignoring old recipe for target `.c.o'
ar: 正在创建 libw3.a
Makefile:67: warning: overriding recipe for target `.F.o'
/home/WPS/configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:72: warning: overriding recipe for target `.f.o'
/home/WPS/configure.wps:101: warning: ignoring old recipe for target `.f.o'
Makefile:75: warning: overriding recipe for target `.c.o'
/home/WPS/configure.wps:97: warning: ignoring old recipe for target `.c.o'
ar: 正在创建 libg2_4.a
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:97: warning: ignoring old recipe for target `.c.o'
ar: 正在创建 libpgu.a
/usr/local/jasper/lib/libjasper.a(jas_stream.o):在函数‘jas_stream_tmpfile’中:
jas_stream.c:(.text+0x65c): 警告:the use of `tmpnam' is dangerous, better use `mkstemp'
scan_input.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [NETCDF]
    use netcdf
--------^
scan_input.f90(74): error #6404: This name does not have a type, and must have an explicit type.   [NF90_NOWRITE]
        stat = nf90_open(trim(filename), NF90_NOWRITE, handle % ncid)
-----------------------------------------^
scan_input.f90(74): error #6404: This name does not have a type, and must have an explicit type.   [NF90_OPEN]
        stat = nf90_open(trim(filename), NF90_NOWRITE, handle % ncid)
---------------^
scan_input.f90(75): error #6404: This name does not have a type, and must have an explicit type.   [NF90_NOERR]
        if (stat /= NF90_NOERR) then
--------------------^
scan_input.f90(80): error #6632: Keyword arguments are invalid without an explicit interface.   [NVARIABLES]
        stat = nf90_inquire(handle % ncid, nVariables=handle % num_vars)
-------------------------------------------^
scan_input.f90(80): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE]
        stat = nf90_inquire(handle % ncid, nVariables=handle % num_vars)
---------------^
scan_input.f90(97): error #6632: Keyword arguments are invalid without an explicit interface.   [UNLIMITEDDIMID]
        stat = nf90_inquire(handle % ncid, unlimitedDimId=handle % unlimited_dimid)
-------------------------------------------^
scan_input.f90(104): error #6632: Keyword arguments are invalid without an explicit interface.   [LEN]
            stat = nf90_inquire_dimension(handle % ncid, handle % unlimited_dimid, len=nRecords)
-----------------------------------------------------------------------------------^
scan_input.f90(104): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_DIMENSION]
            stat = nf90_inquire_dimension(handle % ncid, handle % unlimited_dimid, len=nRecords)
-------------------^
scan_input.f90(132): error #6404: This name does not have a type, and must have an explicit type.   [NF90_CLOSE]
        stat = nf90_close(handle % ncid)
---------------^
scan_input.f90(178): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                     name=field % name, &
-------------------------------------^
scan_input.f90(179): error #6632: Keyword arguments are invalid without an explicit interface.   [XTYPE]
                                     xtype=field % xtype, &
-------------------------------------^
scan_input.f90(180): error #6632: Keyword arguments are invalid without an explicit interface.   [NDIMS]
                                     ndims=field % ndims)
-------------------------------------^
scan_input.f90(177): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_VARIABLE]
        stat = nf90_inquire_variable(handle % ncid, field % varid, &
---------------^
scan_input.f90(186): error #6404: This name does not have a type, and must have an explicit type.   [NF90_FLOAT]
        if (field % xtype == NF90_FLOAT) then
-----------------------------^
scan_input.f90(188): error #6404: This name does not have a type, and must have an explicit type.   [NF90_DOUBLE]
        else if (field % xtype == NF90_DOUBLE) then
----------------------------------^
scan_input.f90(190): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INT]
        else if (field % xtype == NF90_INT) then
----------------------------------^
scan_input.f90(192): error #6404: This name does not have a type, and must have an explicit type.   [NF90_CHAR]
        else if (field % xtype == NF90_CHAR) then
----------------------------------^
scan_input.f90(201): error #6632: Keyword arguments are invalid without an explicit interface.   [DIMIDS]
                                     dimids=field % dimids)
-------------------------------------^
scan_input.f90(213): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                          name=field % dimnames(idim), &
------------------------------------------^
scan_input.f90(214): error #6632: Keyword arguments are invalid without an explicit interface.   [LEN]
                                          len=field % dimlens(idim))
------------------------------------------^
scan_input.f90(212): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_DIMENSION]
            stat = nf90_inquire_dimension(handle % ncid, field % dimids(idim), &
-------------------^
scan_input.f90(239): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQ_VARID]
        stat = nf90_inq_varid(handle % ncid, trim(fieldname), field % varid)
---------------^
scan_input.f90(246): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                     name=field % name, &
-------------------------------------^
scan_input.f90(247): error #6632: Keyword arguments are invalid without an explicit interface.   [XTYPE]
                                     xtype=field % xtype, &
-------------------------------------^
scan_input.f90(248): error #6632: Keyword arguments are invalid without an explicit interface.   [NDIMS]
                                     ndims=field % ndims)
-------------------------------------^
scan_input.f90(245): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_VARIABLE]
        stat = nf90_inquire_variable(handle % ncid, field % varid, &
---------------^
scan_input.f90(269): error #6632: Keyword arguments are invalid without an explicit interface.   [DIMIDS]
                                     dimids=field % dimids)
-------------------------------------^
scan_input.f90(281): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                          name=field % dimnames(idim), &
------------------------------------------^
scan_input.f90(282): error #6632: Keyword arguments are invalid without an explicit interface.   [LEN]
                                          len=field % dimlens(idim))
------------------------------------------^
scan_input.f90(608): catastrophic error: Too many errors, exiting
compilation aborted for scan_input.f90 (code 1)
make[1]: [scan_input.o] 错误 1 (忽略)
mpas_mesh.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
    use scan_input
--------^
mpas_mesh.f90(48): error #6457: This derived type name has not been declared.   [INPUT_HANDLE_TYPE]
        type (input_handle_type) :: handle
--------------^
mpas_mesh.f90(49): error #6457: This derived type name has not been declared.   [INPUT_FIELD_TYPE]
        type (input_field_type) :: field
--------------^
mpas_mesh.f90(53): error #6404: This name does not have a type, and must have an explicit type.   [HANDLE]
        if (scan_input_open(mesh_filename, handle) /= 0) then
-------------------------------------------^
mpas_mesh.f90(53): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_OPEN]
        if (scan_input_open(mesh_filename, handle) /= 0) then
------------^
mpas_mesh.f90(61): error #6404: This name does not have a type, and must have an explicit type.   [FIELD]
        if (scan_input_for_field(handle, 'nEdgesOnCell', field) /= 0) then
---------------------------------------------------------^
mpas_mesh.f90(61): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_FOR_FIELD]
        if (scan_input_for_field(handle, 'nEdgesOnCell', field) /= 0) then
------------^
mpas_mesh.f90(66): error #6460: This is not a field name that is defined in the encompassing structure.   [DIMLENS]
        mesh % nCells = field % dimlens(1)
--------------------------------^
mpas_mesh.f90(70): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_READ_FIELD]
        stat = scan_input_read_field(field)
---------------^
mpas_mesh.f90(72): error #6460: This is not a field name that is defined in the encompassing structure.   [ARRAY1I]
        mesh % nEdgesOnCell(:) = field % array1i(:)
-----------------------------------------^
mpas_mesh.f90(73): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_FREE_FIELD]
        stat = scan_input_free_field(field)
---------------^
mpas_mesh.f90(81): error #6514: A substring must be of type CHARACTER.   [ARRAY1I]
            mesh % landmask(:) = field % array1i(:)
-----------------------------------------^
mpas_mesh.f90(81): error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands.   [ARRAY1I]
            mesh % landmask(:) = field % array1i(:)
-----------------------------------------^
mpas_mesh.f90(100): error #6460: This is not a field name that is defined in the encompassing structure.   [ARRAY2I]
        mesh % cellsOnCell(:,:) = field % array2i(:,:)
------------------------------------------^
mpas_mesh.f90(113): error #6911: The syntax of this substring is invalid.   [ARRAY2I]
        mesh % verticesOnCell(:,:) = field % array2i(:,:)
---------------------------------------------^
compilation aborted for mpas_mesh.f90 (code 1)
make[1]: [mpas_mesh.o] 错误 1 (忽略)
remapper.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
    use mpas_mesh
--------^
remapper.f90(15): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
--------^
remapper.f90(98): error #6457: This derived type name has not been declared.   [MPAS_MESH_TYPE]
        type (mpas_mesh_type), intent(in), target :: src_mesh
--------------^
remapper.f90(354): error #6406: Conflicting attributes or multiple declaration of name.   [INPUT_FIELD_TYPE]
        type (input_field_type), intent(in) :: field
--------------^
remapper.f90(395): error #6406: Conflicting attributes or multiple declaration of name.   [INPUT_FIELD_TYPE]
        type (input_field_type), intent(in) :: src_field
--------------^
remapper.f90(433): error #6406: Conflicting attributes or multiple declaration of name.   [INPUT_FIELD_TYPE]
        type (input_field_type), intent(in) :: src_field
--------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [INPUT_FIELD_TYPE]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
---------------------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [FIELD_TYPE_REAL]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
---------------------------------------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [FIELD_TYPE_DOUBLE]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
--------------------------------------------------------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [FIELD_TYPE_INTEGER]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
---------------------------------------------------------------------------------^
remapper.f90(32): error #6457: This derived type name has not been declared.   [MPAS_MESH_TYPE]
        type (mpas_mesh_type), pointer :: src_mesh
--------------^
remapper.f90(114): error #6404: This name does not have a type, and must have an explicit type.   [SRC_MESH]
        remap_info % src_mesh => src_mesh
---------------------------------^
remapper.f90(114): error #6796: The variable must have the TARGET attribute or be a subobject of an object with the TARGET attribute, or it must have the POINTER attribute.   [SRC_MESH]
        remap_info % src_mesh => src_mesh
---------------------------------^
remapper.f90(130): error #6460: This is not a field name that is defined in the encompassing structure.   [NCELLS]
                               src_mesh % nCells, src_mesh % maxEdges, &
------------------------------------------^
remapper.f90(130): error #6460: This is not a field name that is defined in the encompassing structure.   [MAXEDGES]
                               src_mesh % nCells, src_mesh % maxEdges, &
-------------------------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [NEDGESONCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [CELLSONCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
-------------------------------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [LATCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
-------------------------------------------------------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [LONCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
---------------------------------------------------------------------------------------------------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [NEDGESONCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [CELLSONCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [LATCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [LONCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(140): error #6460: This is not a field name that is defined in the encompassing structure.   [NVERTICES]
                                 src_mesh % nCells, src_mesh % nVertices, src_mesh % maxEdges, 3, &
---------------------------------------------------------------^
remapper.f90(141): error #6460: This is not a field name that is defined in the encompassing structure.   [VERTICESONCELL]
                                 src_mesh % nEdgesOnCell, src_mesh % verticesOnCell, &
---------------------------------------------------------------------^
remapper.f90(142): error #6460: This is not a field name that is defined in the encompassing structure.   [CELLSONVERTEX]
                                 src_mesh % cellsOnVertex, src_mesh % latCell, src_mesh % lonCell, &
--------------------------------------------^
remapper.f90(143): error #6460: This is not a field name that is defined in the encompassing structure.   [LATVERTEX]
                                 src_mesh % latVertex, src_mesh % lonVertex )
--------------------------------------------^
remapper.f90(143): error #6460: This is not a field name that is defined in the encompassing structure.   [LONVERTEX]
                                 src_mesh % latVertex, src_mesh % lonVertex )
------------------------------------------------------------------^
remapper.f90(139): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [NEDGESONCELL]
            idx = nearest_vertex(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(139): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [VERTICESONCELL]
            idx = nearest_vertex(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(1309): catastrophic error: Too many errors, exiting
compilation aborted for remapper.f90 (code 1)
make[1]: [remapper.o] 错误 1 (忽略)
process_domain_module.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
   use mpas_mesh
-------^
process_domain_module.f90(16): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [REMAPPER]
   use remapper
-------^
process_domain_module.f90(18): error #6457: This derived type name has not been declared.   [MPAS_MESH_TYPE]
   type (mpas_mesh_type), save :: mpas_source_mesh
---------^
process_domain_module.f90(20): error #6457: This derived type name has not been declared.   [REMAP_INFO_TYPE]
   type (remap_info_type), save :: remap_info_m, remap_info_u, remap_info_v
---------^
process_domain_module.f90(1492): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
      use scan_input
----------^
process_domain_module.f90(1493): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
      use mpas_mesh
----------^
process_domain_module.f90(1526): error #6457: This derived type name has not been declared.   [INPUT_HANDLE_TYPE]
      type (input_handle_type) :: mpas_handle
------------^
process_domain_module.f90(1527): error #6457: This derived type name has not been declared.   [INPUT_FIELD_TYPE]
      type (input_field_type) :: mpas_field
------------^
process_domain_module.f90(1528): error #6457: This derived type name has not been declared.   [TARGET_FIELD_TYPE]
      type (target_field_type) :: wrf_field
------------^
process_domain_module.f90(1982): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
      use scan_input
----------^
process_domain_module.f90(1983): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
      use mpas_mesh
----------^
process_domain_module.f90(207): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_SOURCE_MESH]
      istatus = mpas_mesh_free(mpas_source_mesh)
-------------------------------^
process_domain_module.f90(207): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_MESH_FREE]
      istatus = mpas_mesh_free(mpas_source_mesh)
----------------^
process_domain_module.f90(219): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_M]
      istatus = remap_info_free(remap_info_m)
--------------------------------^
process_domain_module.f90(219): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_FREE]
      istatus = remap_info_free(remap_info_m)
----------------^
process_domain_module.f90(220): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_U]
      istatus = remap_info_free(remap_info_u)
--------------------------------^
process_domain_module.f90(221): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_V]
      istatus = remap_info_free(remap_info_v)
--------------------------------^
process_domain_module.f90(1542): error #6460: This is not a field name that is defined in the encompassing structure.   [VALID]
      if (.not. mpas_source_mesh % valid) then
-----------------------------------^
process_domain_module.f90(1543): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_MESH_SETUP]
         if (mpas_mesh_setup(mpas_filename, mpas_source_mesh) /= 0) then
-------------^
process_domain_module.f90(1562): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_SETUP]
         if (remap_info_setup(mpas_source_mesh, wrf_target_mesh_m, remap_info_m) /= 0) then
-------------^
process_domain_module.f90(1606): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_HANDLE]
      if (scan_input_open(mpas_filename, mpas_handle, nRecords) /= 0) then
-----------------------------------------^
process_domain_module.f90(1606): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_OPEN]
      if (scan_input_open(mpas_filename, mpas_handle, nRecords) /= 0) then
----------^
process_domain_module.f90(1648): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_FIELD]
      do while (scan_input_next_field(mpas_handle, mpas_field) == 0)
---------------------------------------------------^
process_domain_module.f90(1648): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_NEXT_FIELD]
      do while (scan_input_next_field(mpas_handle, mpas_field) == 0)
----------------^
process_domain_module.f90(1650): error #6404: This name does not have a type, and must have an explicit type.   [CAN_REMAP_FIELD]
         if (can_remap_field(mpas_field)) then
-------------^
process_domain_module.f90(1650): error #6341: A logical data type is required in this context.   [CAN_REMAP_FIELD]
         if (can_remap_field(mpas_field)) then
-------------^
process_domain_module.f90(1655): error #6460: This is not a field name that is defined in the encompassing structure.   [NAME]
            if (trim(mpas_field % name) == 'u10') then
----------------------------------^
process_domain_module.f90(1655): error #6362: The data types of the argument(s) are invalid.   [TRIM]
            if (trim(mpas_field % name) == 'u10') then
---------------------^
process_domain_module.f90(1657): error #6362: The data types of the argument(s) are invalid.   [TRIM]
            else if (trim(mpas_field % name) == 'v10') then
--------------------------^
process_domain_module.f90(1659): error #6362: The data types of the argument(s) are invalid.   [TRIM]
            else if (trim(mpas_field % name) == 'q2') then
--------------------------^
process_domain_module.f90(3731): catastrophic error: Too many errors, exiting
compilation aborted for process_domain_module.f90 (code 1)
make[1]: [process_domain_module.o] 错误 1 (忽略)
metgrid.f90(23): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PROCESS_DOMAIN_MODULE]
   use process_domain_module
-------^
compilation aborted for metgrid.f90 (code 1)
make[1]: [metgrid.o] 错误 1 (忽略)
ifort: error #10236: File not found:  'metgrid.o'
ifort: error #10236: File not found:  'process_domain_module.o'
ifort: error #10236: File not found:  'scan_input.o'
ifort: error #10236: File not found:  'mpas_mesh.o'
ifort: error #10236: File not found:  'remapper.o'
make[1]: [metgrid.exe] 错误 1 (忽略)
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:97: warning: ignoring old recipe for target `.c.o'
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:97: warning: ignoring old recipe for target `.c.o'
/usr/local/jasper/lib/libjasper.a(jas_stream.o):在函数‘jas_stream_tmpfile’中:
jas_stream.c:(.text+0x65c): 警告:the use of `tmpnam' is dangerous, better use `mkstemp'
calc_ecmwf_p.f90(66): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'.
         write(6,'(i5,5x,f12.6,2x,f12.10)') nlvl, a(i), b(i)
-----------------------------------^
int2nc.f90(21): error #5102: Cannot open include file 'netcdf.inc'
  include "netcdf.inc"
----------^
int2nc.f90(79): error #6404: This name does not have a type, and must have an explicit type.   [NF_CREATE]
   call check(nf_create(trim(nfile),nf_clobber,ncid))
--------------^
int2nc.f90(93): error #6404: This name does not have a type, and must have an explicit type.   [NF_DEF_DIM]
               call check(nf_def_dim(ncid,dname(i),dval(i),i))
--------------------------^
int2nc.f90(114): error #6404: This name does not have a type, and must have an explicit type.   [NF_CLOSE]
   call check(nf_close(ncid))
--------------^
int2nc.f90(117): error #6404: This name does not have a type, and must have an explicit type.   [NF_OPEN]
   call check(nf_open(trim(nfile),nf_write,ncid))
--------------^
int2nc.f90(205): error #6404: This name does not have a type, and must have an explicit type.   [NF_REDEF]
         call check(nf_redef(ncid))
--------------------^
int2nc.f90(206): error #6404: This name does not have a type, and must have an explicit type.   [NF_DEF_VAR]
         call check(nf_def_var(ncid,name,NF_REAL,NDIMS,dimids,varid))
--------------------^
int2nc.f90(207): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_ATT_TEXT]
         call check(nf_put_att_text(ncid,varid,DATEV,132,date))
--------------------^
int2nc.f90(208): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_ATT_REAL]
         call check(nf_put_att_real(ncid,varid,FCSTV,nf_float,1,fcst))
--------------------^
int2nc.f90(213): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_ATT_INT]
         call check(nf_put_att_int (ncid,varid,LEVELV,nf_int,1,ablevel))
--------------------^
int2nc.f90(268): error #6404: This name does not have a type, and must have an explicit type.   [NF_ENDDEF]
         call check(nf_enddef(ncid))
--------------------^
int2nc.f90(269): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_VAR_REAL]
         call check(nf_put_var_real(ncid,varid,data))
--------------------^
int2nc.f90(287): error #6404: This name does not have a type, and must have an explicit type.   [NF_NOERR]
    if(status /= nf_noerr) then
-----------------^
int2nc.f90(288): error #6404: This name does not have a type, and must have an explicit type.   [NF_STRERROR]
      print *, trim(nf_strerror(status))
--------------------^
int2nc.f90(288): error #6362: The data types of the argument(s) are invalid.   [TRIM]
      print *, trim(nf_strerror(status))
--------------------^
compilation aborted for int2nc.f90 (code 1)
make[1]: [int2nc.o] 错误 1 (忽略)
ifort: error #10236: File not found:  'int2nc.o'
make[1]: [int2nc.exe] 错误 1 (忽略)


密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-5-31 13:31:20 | 显示全部楼层
已经更新了,现在编译最终少了一个metgrid,错误文件如下:








Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.1.106 Build 20131008
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.

Makefile:44: warning: overriding recipe for target `.f.o'
/home/WPS/configure.wps:101: warning: ignoring old recipe for target `.f.o'
Makefile:48: warning: overriding recipe for target `.c.o'
/home/WPS/configure.wps:97: warning: ignoring old recipe for target `.c.o'
ar: 正在创建 libw3.a
Makefile:67: warning: overriding recipe for target `.F.o'
/home/WPS/configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:72: warning: overriding recipe for target `.f.o'
/home/WPS/configure.wps:101: warning: ignoring old recipe for target `.f.o'
Makefile:75: warning: overriding recipe for target `.c.o'
/home/WPS/configure.wps:97: warning: ignoring old recipe for target `.c.o'
ar: 正在创建 libg2_4.a
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:97: warning: ignoring old recipe for target `.c.o'
ar: 正在创建 libpgu.a
/usr/local/jasper/lib/libjasper.a(jas_stream.o):在函数‘jas_stream_tmpfile’中:
jas_stream.c:(.text+0x65c): 警告:the use of `tmpnam' is dangerous, better use `mkstemp'
scan_input.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [NETCDF]
    use netcdf
--------^
scan_input.f90(74): error #6404: This name does not have a type, and must have an explicit type.   [NF90_NOWRITE]
        stat = nf90_open(trim(filename), NF90_NOWRITE, handle % ncid)
-----------------------------------------^
scan_input.f90(74): error #6404: This name does not have a type, and must have an explicit type.   [NF90_OPEN]
        stat = nf90_open(trim(filename), NF90_NOWRITE, handle % ncid)
---------------^
scan_input.f90(75): error #6404: This name does not have a type, and must have an explicit type.   [NF90_NOERR]
        if (stat /= NF90_NOERR) then
--------------------^
scan_input.f90(80): error #6632: Keyword arguments are invalid without an explicit interface.   [NVARIABLES]
        stat = nf90_inquire(handle % ncid, nVariables=handle % num_vars)
-------------------------------------------^
scan_input.f90(80): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE]
        stat = nf90_inquire(handle % ncid, nVariables=handle % num_vars)
---------------^
scan_input.f90(97): error #6632: Keyword arguments are invalid without an explicit interface.   [UNLIMITEDDIMID]
        stat = nf90_inquire(handle % ncid, unlimitedDimId=handle % unlimited_dimid)
-------------------------------------------^
scan_input.f90(104): error #6632: Keyword arguments are invalid without an explicit interface.   [LEN]
            stat = nf90_inquire_dimension(handle % ncid, handle % unlimited_dimid, len=nRecords)
-----------------------------------------------------------------------------------^
scan_input.f90(104): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_DIMENSION]
            stat = nf90_inquire_dimension(handle % ncid, handle % unlimited_dimid, len=nRecords)
-------------------^
scan_input.f90(132): error #6404: This name does not have a type, and must have an explicit type.   [NF90_CLOSE]
        stat = nf90_close(handle % ncid)
---------------^
scan_input.f90(178): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                     name=field % name, &
-------------------------------------^
scan_input.f90(179): error #6632: Keyword arguments are invalid without an explicit interface.   [XTYPE]
                                     xtype=field % xtype, &
-------------------------------------^
scan_input.f90(180): error #6632: Keyword arguments are invalid without an explicit interface.   [NDIMS]
                                     ndims=field % ndims)
-------------------------------------^
scan_input.f90(177): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_VARIABLE]
        stat = nf90_inquire_variable(handle % ncid, field % varid, &
---------------^
scan_input.f90(186): error #6404: This name does not have a type, and must have an explicit type.   [NF90_FLOAT]
        if (field % xtype == NF90_FLOAT) then
-----------------------------^
scan_input.f90(188): error #6404: This name does not have a type, and must have an explicit type.   [NF90_DOUBLE]
        else if (field % xtype == NF90_DOUBLE) then
----------------------------------^
scan_input.f90(190): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INT]
        else if (field % xtype == NF90_INT) then
----------------------------------^
scan_input.f90(192): error #6404: This name does not have a type, and must have an explicit type.   [NF90_CHAR]
        else if (field % xtype == NF90_CHAR) then
----------------------------------^
scan_input.f90(201): error #6632: Keyword arguments are invalid without an explicit interface.   [DIMIDS]
                                     dimids=field % dimids)
-------------------------------------^
scan_input.f90(213): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                          name=field % dimnames(idim), &
------------------------------------------^
scan_input.f90(214): error #6632: Keyword arguments are invalid without an explicit interface.   [LEN]
                                          len=field % dimlens(idim))
------------------------------------------^
scan_input.f90(212): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_DIMENSION]
            stat = nf90_inquire_dimension(handle % ncid, field % dimids(idim), &
-------------------^
scan_input.f90(239): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQ_VARID]
        stat = nf90_inq_varid(handle % ncid, trim(fieldname), field % varid)
---------------^
scan_input.f90(246): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                     name=field % name, &
-------------------------------------^
scan_input.f90(247): error #6632: Keyword arguments are invalid without an explicit interface.   [XTYPE]
                                     xtype=field % xtype, &
-------------------------------------^
scan_input.f90(248): error #6632: Keyword arguments are invalid without an explicit interface.   [NDIMS]
                                     ndims=field % ndims)
-------------------------------------^
scan_input.f90(245): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE_VARIABLE]
        stat = nf90_inquire_variable(handle % ncid, field % varid, &
---------------^
scan_input.f90(269): error #6632: Keyword arguments are invalid without an explicit interface.   [DIMIDS]
                                     dimids=field % dimids)
-------------------------------------^
scan_input.f90(281): error #6632: Keyword arguments are invalid without an explicit interface.   [NAME]
                                          name=field % dimnames(idim), &
------------------------------------------^
scan_input.f90(282): error #6632: Keyword arguments are invalid without an explicit interface.   [LEN]
                                          len=field % dimlens(idim))
------------------------------------------^
scan_input.f90(608): catastrophic error: Too many errors, exiting
compilation aborted for scan_input.f90 (code 1)
make[1]: [scan_input.o] 错误 1 (忽略)
mpas_mesh.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
    use scan_input
--------^
mpas_mesh.f90(48): error #6457: This derived type name has not been declared.   [INPUT_HANDLE_TYPE]
        type (input_handle_type) :: handle
--------------^
mpas_mesh.f90(49): error #6457: This derived type name has not been declared.   [INPUT_FIELD_TYPE]
        type (input_field_type) :: field
--------------^
mpas_mesh.f90(53): error #6404: This name does not have a type, and must have an explicit type.   [HANDLE]
        if (scan_input_open(mesh_filename, handle) /= 0) then
-------------------------------------------^
mpas_mesh.f90(53): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_OPEN]
        if (scan_input_open(mesh_filename, handle) /= 0) then
------------^
mpas_mesh.f90(61): error #6404: This name does not have a type, and must have an explicit type.   [FIELD]
        if (scan_input_for_field(handle, 'nEdgesOnCell', field) /= 0) then
---------------------------------------------------------^
mpas_mesh.f90(61): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_FOR_FIELD]
        if (scan_input_for_field(handle, 'nEdgesOnCell', field) /= 0) then
------------^
mpas_mesh.f90(66): error #6460: This is not a field name that is defined in the encompassing structure.   [DIMLENS]
        mesh % nCells = field % dimlens(1)
--------------------------------^
mpas_mesh.f90(70): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_READ_FIELD]
        stat = scan_input_read_field(field)
---------------^
mpas_mesh.f90(72): error #6460: This is not a field name that is defined in the encompassing structure.   [ARRAY1I]
        mesh % nEdgesOnCell(:) = field % array1i(:)
-----------------------------------------^
mpas_mesh.f90(73): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_FREE_FIELD]
        stat = scan_input_free_field(field)
---------------^
mpas_mesh.f90(81): error #6514: A substring must be of type CHARACTER.   [ARRAY1I]
            mesh % landmask(:) = field % array1i(:)
-----------------------------------------^
mpas_mesh.f90(81): error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands.   [ARRAY1I]
            mesh % landmask(:) = field % array1i(:)
-----------------------------------------^
mpas_mesh.f90(100): error #6460: This is not a field name that is defined in the encompassing structure.   [ARRAY2I]
        mesh % cellsOnCell(:,:) = field % array2i(:,:)
------------------------------------------^
mpas_mesh.f90(113): error #6911: The syntax of this substring is invalid.   [ARRAY2I]
        mesh % verticesOnCell(:,:) = field % array2i(:,:)
---------------------------------------------^
compilation aborted for mpas_mesh.f90 (code 1)
make[1]: [mpas_mesh.o] 错误 1 (忽略)
remapper.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
    use mpas_mesh
--------^
remapper.f90(15): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
--------^
remapper.f90(98): error #6457: This derived type name has not been declared.   [MPAS_MESH_TYPE]
        type (mpas_mesh_type), intent(in), target :: src_mesh
--------------^
remapper.f90(354): error #6406: Conflicting attributes or multiple declaration of name.   [INPUT_FIELD_TYPE]
        type (input_field_type), intent(in) :: field
--------------^
remapper.f90(395): error #6406: Conflicting attributes or multiple declaration of name.   [INPUT_FIELD_TYPE]
        type (input_field_type), intent(in) :: src_field
--------------^
remapper.f90(433): error #6406: Conflicting attributes or multiple declaration of name.   [INPUT_FIELD_TYPE]
        type (input_field_type), intent(in) :: src_field
--------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [INPUT_FIELD_TYPE]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
---------------------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [FIELD_TYPE_REAL]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
---------------------------------------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [FIELD_TYPE_DOUBLE]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
--------------------------------------------------------------^
remapper.f90(15): error #6580: Name in only-list does not exist.   [FIELD_TYPE_INTEGER]
    use scan_input, only : input_field_type, FIELD_TYPE_REAL, FIELD_TYPE_DOUBLE, FIELD_TYPE_INTEGER
---------------------------------------------------------------------------------^
remapper.f90(32): error #6457: This derived type name has not been declared.   [MPAS_MESH_TYPE]
        type (mpas_mesh_type), pointer :: src_mesh
--------------^
remapper.f90(114): error #6404: This name does not have a type, and must have an explicit type.   [SRC_MESH]
        remap_info % src_mesh => src_mesh
---------------------------------^
remapper.f90(114): error #6796: The variable must have the TARGET attribute or be a subobject of an object with the TARGET attribute, or it must have the POINTER attribute.   [SRC_MESH]
        remap_info % src_mesh => src_mesh
---------------------------------^
remapper.f90(130): error #6460: This is not a field name that is defined in the encompassing structure.   [NCELLS]
                               src_mesh % nCells, src_mesh % maxEdges, &
------------------------------------------^
remapper.f90(130): error #6460: This is not a field name that is defined in the encompassing structure.   [MAXEDGES]
                               src_mesh % nCells, src_mesh % maxEdges, &
-------------------------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [NEDGESONCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [CELLSONCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
-------------------------------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [LATCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
-------------------------------------------------------------------------------------------^
remapper.f90(131): error #6460: This is not a field name that is defined in the encompassing structure.   [LONCELL]
                               src_mesh % nEdgesOnCell, src_mesh % cellsOnCell, src_mesh % latCell, src_mesh % lonCell)
---------------------------------------------------------------------------------------------------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [NEDGESONCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [CELLSONCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [LATCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(129): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [LONCELL]
            idx = nearest_cell(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(140): error #6460: This is not a field name that is defined in the encompassing structure.   [NVERTICES]
                                 src_mesh % nCells, src_mesh % nVertices, src_mesh % maxEdges, 3, &
---------------------------------------------------------------^
remapper.f90(141): error #6460: This is not a field name that is defined in the encompassing structure.   [VERTICESONCELL]
                                 src_mesh % nEdgesOnCell, src_mesh % verticesOnCell, &
---------------------------------------------------------------------^
remapper.f90(142): error #6460: This is not a field name that is defined in the encompassing structure.   [CELLSONVERTEX]
                                 src_mesh % cellsOnVertex, src_mesh % latCell, src_mesh % lonCell, &
--------------------------------------------^
remapper.f90(143): error #6460: This is not a field name that is defined in the encompassing structure.   [LATVERTEX]
                                 src_mesh % latVertex, src_mesh % lonVertex )
--------------------------------------------^
remapper.f90(143): error #6460: This is not a field name that is defined in the encompassing structure.   [LONVERTEX]
                                 src_mesh % latVertex, src_mesh % lonVertex )
------------------------------------------------------------------^
remapper.f90(139): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [NEDGESONCELL]
            idx = nearest_vertex(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(139): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic.   [VERTICESONCELL]
            idx = nearest_vertex(dst_mesh % lats(index2d(irank,ix),iy), dst_mesh % lons(ix,index2d(irank,iy)), idx, &
------------------^
remapper.f90(1309): catastrophic error: Too many errors, exiting
compilation aborted for remapper.f90 (code 1)
make[1]: [remapper.o] 错误 1 (忽略)
process_domain_module.f90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
   use mpas_mesh
-------^
process_domain_module.f90(16): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [REMAPPER]
   use remapper
-------^
process_domain_module.f90(18): error #6457: This derived type name has not been declared.   [MPAS_MESH_TYPE]
   type (mpas_mesh_type), save :: mpas_source_mesh
---------^
process_domain_module.f90(20): error #6457: This derived type name has not been declared.   [REMAP_INFO_TYPE]
   type (remap_info_type), save :: remap_info_m, remap_info_u, remap_info_v
---------^
process_domain_module.f90(1492): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
      use scan_input
----------^
process_domain_module.f90(1493): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
      use mpas_mesh
----------^
process_domain_module.f90(1526): error #6457: This derived type name has not been declared.   [INPUT_HANDLE_TYPE]
      type (input_handle_type) :: mpas_handle
------------^
process_domain_module.f90(1527): error #6457: This derived type name has not been declared.   [INPUT_FIELD_TYPE]
      type (input_field_type) :: mpas_field
------------^
process_domain_module.f90(1528): error #6457: This derived type name has not been declared.   [TARGET_FIELD_TYPE]
      type (target_field_type) :: wrf_field
------------^
process_domain_module.f90(1982): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SCAN_INPUT]
      use scan_input
----------^
process_domain_module.f90(1983): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPAS_MESH]
      use mpas_mesh
----------^
process_domain_module.f90(207): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_SOURCE_MESH]
      istatus = mpas_mesh_free(mpas_source_mesh)
-------------------------------^
process_domain_module.f90(207): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_MESH_FREE]
      istatus = mpas_mesh_free(mpas_source_mesh)
----------------^
process_domain_module.f90(219): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_M]
      istatus = remap_info_free(remap_info_m)
--------------------------------^
process_domain_module.f90(219): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_FREE]
      istatus = remap_info_free(remap_info_m)
----------------^
process_domain_module.f90(220): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_U]
      istatus = remap_info_free(remap_info_u)
--------------------------------^
process_domain_module.f90(221): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_V]
      istatus = remap_info_free(remap_info_v)
--------------------------------^
process_domain_module.f90(1542): error #6460: This is not a field name that is defined in the encompassing structure.   [VALID]
      if (.not. mpas_source_mesh % valid) then
-----------------------------------^
process_domain_module.f90(1543): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_MESH_SETUP]
         if (mpas_mesh_setup(mpas_filename, mpas_source_mesh) /= 0) then
-------------^
process_domain_module.f90(1562): error #6404: This name does not have a type, and must have an explicit type.   [REMAP_INFO_SETUP]
         if (remap_info_setup(mpas_source_mesh, wrf_target_mesh_m, remap_info_m) /= 0) then
-------------^
process_domain_module.f90(1606): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_HANDLE]
      if (scan_input_open(mpas_filename, mpas_handle, nRecords) /= 0) then
-----------------------------------------^
process_domain_module.f90(1606): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_OPEN]
      if (scan_input_open(mpas_filename, mpas_handle, nRecords) /= 0) then
----------^
process_domain_module.f90(1648): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_FIELD]
      do while (scan_input_next_field(mpas_handle, mpas_field) == 0)
---------------------------------------------------^
process_domain_module.f90(1648): error #6404: This name does not have a type, and must have an explicit type.   [SCAN_INPUT_NEXT_FIELD]
      do while (scan_input_next_field(mpas_handle, mpas_field) == 0)
----------------^
process_domain_module.f90(1650): error #6404: This name does not have a type, and must have an explicit type.   [CAN_REMAP_FIELD]
         if (can_remap_field(mpas_field)) then
-------------^
process_domain_module.f90(1650): error #6341: A logical data type is required in this context.   [CAN_REMAP_FIELD]
         if (can_remap_field(mpas_field)) then
-------------^
process_domain_module.f90(1655): error #6460: This is not a field name that is defined in the encompassing structure.   [NAME]
            if (trim(mpas_field % name) == 'u10') then
----------------------------------^
process_domain_module.f90(1655): error #6362: The data types of the argument(s) are invalid.   [TRIM]
            if (trim(mpas_field % name) == 'u10') then
---------------------^
process_domain_module.f90(1657): error #6362: The data types of the argument(s) are invalid.   [TRIM]
            else if (trim(mpas_field % name) == 'v10') then
--------------------------^
process_domain_module.f90(1659): error #6362: The data types of the argument(s) are invalid.   [TRIM]
            else if (trim(mpas_field % name) == 'q2') then
--------------------------^
process_domain_module.f90(3731): catastrophic error: Too many errors, exiting
compilation aborted for process_domain_module.f90 (code 1)
make[1]: [process_domain_module.o] 错误 1 (忽略)
metgrid.f90(23): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PROCESS_DOMAIN_MODULE]
   use process_domain_module
-------^
compilation aborted for metgrid.f90 (code 1)
make[1]: [metgrid.o] 错误 1 (忽略)
ifort: error #10236: File not found:  'metgrid.o'
ifort: error #10236: File not found:  'process_domain_module.o'
ifort: error #10236: File not found:  'scan_input.o'
ifort: error #10236: File not found:  'mpas_mesh.o'
ifort: error #10236: File not found:  'remapper.o'
make[1]: [metgrid.exe] 错误 1 (忽略)
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:97: warning: ignoring old recipe for target `.c.o'
Makefile:90: warning: overriding recipe for target `.F.o'
../../configure.wps:105: warning: ignoring old recipe for target `.F.o'
Makefile:95: warning: overriding recipe for target `.c.o'
../../configure.wps:97: warning: ignoring old recipe for target `.c.o'
/usr/local/jasper/lib/libjasper.a(jas_stream.o):在函数‘jas_stream_tmpfile’中:
jas_stream.c:(.text+0x65c): 警告:the use of `tmpnam' is dangerous, better use `mkstemp'
calc_ecmwf_p.f90(66): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'.
         write(6,'(i5,5x,f12.6,2x,f12.10)') nlvl, a(i), b(i)
-----------------------------------^
int2nc.f90(21): error #5102: Cannot open include file 'netcdf.inc'
  include "netcdf.inc"
----------^
int2nc.f90(79): error #6404: This name does not have a type, and must have an explicit type.   [NF_CREATE]
   call check(nf_create(trim(nfile),nf_clobber,ncid))
--------------^
int2nc.f90(93): error #6404: This name does not have a type, and must have an explicit type.   [NF_DEF_DIM]
               call check(nf_def_dim(ncid,dname(i),dval(i),i))
--------------------------^
int2nc.f90(114): error #6404: This name does not have a type, and must have an explicit type.   [NF_CLOSE]
   call check(nf_close(ncid))
--------------^
int2nc.f90(117): error #6404: This name does not have a type, and must have an explicit type.   [NF_OPEN]
   call check(nf_open(trim(nfile),nf_write,ncid))
--------------^
int2nc.f90(205): error #6404: This name does not have a type, and must have an explicit type.   [NF_REDEF]
         call check(nf_redef(ncid))
--------------------^
int2nc.f90(206): error #6404: This name does not have a type, and must have an explicit type.   [NF_DEF_VAR]
         call check(nf_def_var(ncid,name,NF_REAL,NDIMS,dimids,varid))
--------------------^
int2nc.f90(207): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_ATT_TEXT]
         call check(nf_put_att_text(ncid,varid,DATEV,132,date))
--------------------^
int2nc.f90(208): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_ATT_REAL]
         call check(nf_put_att_real(ncid,varid,FCSTV,nf_float,1,fcst))
--------------------^
int2nc.f90(213): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_ATT_INT]
         call check(nf_put_att_int (ncid,varid,LEVELV,nf_int,1,ablevel))
--------------------^
int2nc.f90(268): error #6404: This name does not have a type, and must have an explicit type.   [NF_ENDDEF]
         call check(nf_enddef(ncid))
--------------------^
int2nc.f90(269): error #6404: This name does not have a type, and must have an explicit type.   [NF_PUT_VAR_REAL]
         call check(nf_put_var_real(ncid,varid,data))
--------------------^
int2nc.f90(287): error #6404: This name does not have a type, and must have an explicit type.   [NF_NOERR]
    if(status /= nf_noerr) then
-----------------^
int2nc.f90(288): error #6404: This name does not have a type, and must have an explicit type.   [NF_STRERROR]
      print *, trim(nf_strerror(status))
--------------------^
int2nc.f90(288): error #6362: The data types of the argument(s) are invalid.   [TRIM]
      print *, trim(nf_strerror(status))
--------------------^
compilation aborted for int2nc.f90 (code 1)
make[1]: [int2nc.o] 错误 1 (忽略)
ifort: error #10236: File not found:  'int2nc.o'
make[1]: [int2nc.exe] 错误 1 (忽略)
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-5-31 13:54:38 | 显示全部楼层
新手出错很正常,祝顺利。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-5-31 19:52:04 | 显示全部楼层
御风者 发表于 2018-5-31 13:54
新手出错很正常,祝顺利。

哈哈好,请问你知道是哪里出错了么?我这个还是少一个metgrid.exe。。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-6-7 09:27:13 | 显示全部楼层
请参照:http://bbs.06climate.com/forum.php?mod=viewthread&tid=55032

第六步:安装运行WPS编译所需的库函数

估计是你WPS需要的库函数没有安装完整
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-6-20 14:05:15 | 显示全部楼层
作为菜鸟来说程序神马的太复杂了。估计是你WPS需要的库函数没有安装完整。  郑州男科哪家好:http://mobile.tongji120.com/郑州看妇科哪家最好:http://mobile.xasg120.net/郑州同济医院预约挂号:http://mobile.xasg120.net/郑州专业妇科医院:http://mobile.xasg120.net/郑州看妇科哪个医院好:http://mobile.xasg120.net/郑州同济医院:http://mobile.zzyyrl.com/郑州人流专业医院:http://mobile.zzyyrl.com/郑州做人流哪里最好:http://mobile.zzyyrl.com/郑州无痛人流去哪好:http://mobile.zzyyrl.com/郑州人流医院:http://mobile.sgrl029.com/
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2020-8-13 13:02:22 | 显示全部楼层
楼主,跟你一样的错误。没有metgrib,请问如何解决的呀
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表