爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 4001|回复: 11

centos7安装wps3.9.1,没有metgrid.exe产生,请问哪里出错了?

[复制链接]

新浪微博达人勋

发表于 2017-12-27 10:53:17 | 显示全部楼层 |阅读模式

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

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

x
centos7安装wps3.9.1,没有metgrid.exe产生,ungrib.exe和geogrid.exe都产生了,请问哪里出错了?谢谢!
下面是log的内容:
==============================================================================================

Version 3.9

Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

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


==============================================================================================


**** Compiling WPS and all utilities ****

make[1]: 进入目录“/home/etprc/wrf/WPS/geogrid/src”
make[1]: “geogrid.exe”是最新的。
make[1]: 离开目录“/home/etprc/wrf/WPS/geogrid/src”
( cd src/ngl ; make -i -r DEV_TOP="/home/etprc/wrf/WPS" CC="icc" FC="ifort" RANLIB="echo" all )
make[1]: 进入目录“/home/etprc/wrf/WPS/ungrib/src/ngl”
make[1]: 对“all”无需做任何事。
make[1]: 离开目录“/home/etprc/wrf/WPS/ungrib/src/ngl”
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/etprc/wrf/WPS/../WRFV3 ; \
        fi ; \
make -i -r ungrib.exe \
    WRF_DIR="$WRF_DIR2" \
    FC="ifort" \
    CC="mpicc -cc=icc" \
    CPP="/lib/cpp -P -traditional" \
    FFLAGS="-FR -convert big_endian" \
    CFLAGS="-w" \
    LDFLAGS="" \
    CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_UNGRIB" )
make[1]: 进入目录“/home/etprc/wrf/WPS/ungrib/src”
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'
make[1]: “ungrib.exe”是最新的。
make[1]: 离开目录“/home/etprc/wrf/WPS/ungrib/src”
if [ -h ungrib.exe ] ; then \
        /bin/rm -f ungrib.exe ; \
fi ; \
if [ -h ../ungrib.exe ] ; then \
    /bin/rm -f ../ungrib.exe ; \
fi ; \
if [ -e src/ungrib.exe ] ; then \
    ln -sf src/ungrib.exe . ; \
fi
make[1]: 进入目录“/home/etprc/wrf/WPS/metgrid/src”
/bin/rm -f scan_input.o scan_input.mod
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_METGRID -DUSE_JPEG2000 -DUSE_PNG -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include scan_input.F > scan_input.f90
mpif90 -f90=ifort -FR -convert big_endian -c scan_input.f90 -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include
scan_input.f90(14): error #7013: This module file was not generated by any release of this compiler.   [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 (忽略)
/bin/rm -f mpas_mesh.o mpas_mesh.mod
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_METGRID -DUSE_JPEG2000 -DUSE_PNG -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include mpas_mesh.F > mpas_mesh.f90
mpif90 -f90=ifort -FR -convert big_endian -c mpas_mesh.f90 -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include
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 (忽略)
/bin/rm -f remapper.o remapper.mod
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_METGRID -DUSE_JPEG2000 -DUSE_PNG -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include remapper.F > remapper.f90
mpif90 -f90=ifort -FR -convert big_endian -c remapper.f90 -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include
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 (忽略)
/bin/rm -f process_domain_module.o process_domain_module.mod
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_METGRID -DUSE_JPEG2000 -DUSE_PNG -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include process_domain_module.F > process_domain_module.f90
mpif90 -f90=ifort -FR -convert big_endian -c process_domain_module.f90 -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include
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 (忽略)
/bin/rm -f metgrid.o metgrid.mod
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_METGRID -DUSE_JPEG2000 -DUSE_PNG -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include metgrid.F > metgrid.f90
mpif90 -f90=ifort -FR -convert big_endian -c metgrid.f90 -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include
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 (忽略)
mpif90 -f90=ifort  -o metgrid.exe cio.o wrf_debug.o bitarray_module.o constants_module.o datatype_module.o module_stringutil.o gridinfo_module.o metgrid.o input_module.o interp_module.o interp_option_module.o list_module.o llxy_module.o met_data_module.o minheap_module.o misc_definitions_module.o module_date_pack.o module_debug.o module_map_utils.o module_mergesort.o output_module.o parallel_module.o process_domain_module.o queue_module.o read_met_module.o rotate_winds_module.o storage_module.o write_met_module.o scan_input.o mpas_mesh.o target_mesh.o remapper.o \
                /home/etprc/wrf/WPS/../WRFV3/frame/module_driver_constants.o \
    /home/etprc/wrf/WPS/../WRFV3/frame/pack_utils.o /home/etprc/wrf/WPS/../WRFV3/frame/module_machine.o \
    /home/etprc/wrf/WPS/../WRFV3/frame/module_internal_header_util.o \
                -I/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -I/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -I/home/etprc/wrf/WPS/../WRFV3/external/io_int -I/home/etprc/wrf/WPS/../WRFV3/inc -I/usr/local/netcdf/include \
                -L/home/etprc/wrf/WPS/../WRFV3/external/io_grib1 -lio_grib1 -L/home/etprc/wrf/WPS/../WRFV3/external/io_grib_share -lio_grib_share -L/home/etprc/wrf/WPS/../WRFV3/external/io_int -lwrfio_int -L/home/etprc/wrf/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf/lib -lnetcdff -lnetcdf \
               
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 (忽略)
make[1]: 离开目录“/home/etprc/wrf/WPS/metgrid/src”
( cd src/ngl ; make -i -r DEV_TOP="/home/etprc/wrf/WPS" CC="icc" FC="ifort" RANLIB="echo" all )
make[1]: 进入目录“/home/etprc/wrf/WPS/ungrib/src/ngl”
make[1]: 对“all”无需做任何事。
make[1]: 离开目录“/home/etprc/wrf/WPS/ungrib/src/ngl”
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/etprc/wrf/WPS/../WRFV3 ; \
        fi ; \
make -i -r g1print.exe \
    WRF_DIR="$WRF_DIR2" \
    FC="ifort" \
    CC="mpicc -cc=icc" \
    CPP="/lib/cpp -P -traditional" \
    FFLAGS="-FR -convert big_endian" \
    CFLAGS="-w" \
    LDFLAGS="" \
    CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_GRIBUTIL" )
make[1]: 进入目录“/home/etprc/wrf/WPS/ungrib/src”
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'
make[1]: “g1print.exe”是最新的。
make[1]: 离开目录“/home/etprc/wrf/WPS/ungrib/src”
if [ -h g1print.exe ] ; then \
        /bin/rm -f g1print.exe ; \
fi ; \
if [ -h ../g1print.exe ] ; then \
    /bin/rm -f ../g1print.exe ; \
fi ; \
if [ -e src/g1print.exe ] ; then \
    ln -sf src/g1print.exe . ; \
fi
( cd src/ngl ; make -i -r DEV_TOP="/home/etprc/wrf/WPS" CC="icc" FC="ifort" RANLIB="echo" all )
make[1]: 进入目录“/home/etprc/wrf/WPS/ungrib/src/ngl”
make[1]: 对“all”无需做任何事。
make[1]: 离开目录“/home/etprc/wrf/WPS/ungrib/src/ngl”
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/etprc/wrf/WPS/../WRFV3 ; \
        fi ; \
make -i -r g2print.exe \
    WRF_DIR="$WRF_DIR2" \
    FC="ifort" \
    CC="mpicc -cc=icc" \
    CPP="/lib/cpp -P -traditional" \
    FFLAGS="-FR -convert big_endian" \
    CFLAGS="-w" \
    LDFLAGS="" \
    CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_GRIBUTIL" )
make[1]: 进入目录“/home/etprc/wrf/WPS/ungrib/src”
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'
make[1]: “g2print.exe”是最新的。
make[1]: 离开目录“/home/etprc/wrf/WPS/ungrib/src”
if [ -h g2print.exe ] ; then \
        /bin/rm -f g2print.exe ; \
fi ; \
if [ -h ../g2print.exe ] ; then \
    /bin/rm -f ../g2print.exe ; \
fi ; \
if [ -e src/g2print.exe ] ; then \
    ln -sf src/g2print.exe . ; \
fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/etprc/wrf/WPS/../WRFV3 ; \
        fi ; \
make -i -r rd_intermediate.exe \
    WRF_DIR="$WRF_DIR2" \
    FC="mpif90 -f90=ifort" \
    CC="mpicc -cc=icc" \
    CPP="/lib/cpp -P -traditional" \
    FFLAGS="-FR -convert big_endian" \
    CFLAGS="-w" \
    LDFLAGS="" \
    CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_UTIL" )
make[1]: 进入目录“/home/etprc/wrf/WPS/util/src”
make[1]: “rd_intermediate.exe”是最新的。
make[1]: 离开目录“/home/etprc/wrf/WPS/util/src”
if [ -h rd_intermediate.exe ] ; then \
    /bin/rm -f rd_intermediate.exe ; \
fi ; \
if [ -h ../rd_intermediate.exe ] ; then \
    /bin/rm -f ../rd_intermediate.exe ; \
fi ; \
if [ -e src/rd_intermediate.exe ] ; then \
    ln -sf src/rd_intermediate.exe . ; \
fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/etprc/wrf/WPS/../WRFV3 ; \
        fi ; \
make -i -r mod_levs.exe \
    WRF_DIR="$WRF_DIR2" \
    FC="mpif90 -f90=ifort" \
    CC="mpicc -cc=icc" \
    CPP="/lib/cpp -P -traditional" \
    FFLAGS="-FR -convert big_endian" \
    CFLAGS="-w" \
    LDFLAGS="" \
    CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_UTIL" )
make[1]: 进入目录“/home/etprc/wrf/WPS/util/src”
make[1]: “mod_levs.exe”是最新的。
make[1]: 离开目录“/home/etprc/wrf/WPS/util/src”
if [ -h mod_levs.exe ] ; then \
    /bin/rm -f mod_levs.exe ; \
fi ; \
if [ -h ../mod_levs.exe ] ; then \
    /bin/rm -f ../mod_levs.exe ; \
fi ; \
if [ -e src/mod_levs.exe ] ; then \
    ln -sf src/mod_levs.exe . ; \
fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/etprc/wrf/WPS/../WRFV3 ; \
        fi ; \
make -i -r avg_tsfc.exe \
    WRF_DIR="$WRF_DIR2" \
    FC="mpif90 -f90=ifort" \
    CC="mpicc -cc=icc" \
    CPP="/lib/cpp -P -traditional" \
    FFLAGS="-FR -convert big_endian" \
    CFLAGS="-w" \
    LDFLAGS="" \
    CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_UTIL" )
make[1]: 进入目录“/home/etprc/wrf/WPS/util/src”
make[1]: “avg_tsfc.exe”是最新的。
make[1]: 离开目录“/home/etprc/wrf/WPS/util/src”
if [ -h avg_tsfc.exe ] ; then \
    /bin/rm -f avg_tsfc.exe ; \
fi ; \
if [ -h ../avg_tsfc.exe ] ; then \
    /bin/rm -f ../avg_tsfc.exe ; \
fi ; \
if [ -e src/avg_tsfc.exe ] ; then \
    ln -sf src/avg_tsfc.exe . ; \
fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/etprc/wrf/WPS/../WRFV3 ; \
        fi ; \
make -i -r calc_ecmwf_p.exe \
    WRF_DIR="$WRF_DIR2" \
    FC="mpif90 -f90=ifort" \
    CC="mpicc -cc=icc" \
    CPP="/lib/cpp -P -traditional" \
    FFLAGS="-FR -convert big_endian" \
    CFLAGS="-w" \
    LDFLAGS="" \
    CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_UTIL" )
make[1]: 进入目录“/home/etprc/wrf/WPS/util/src”
make[1]: “calc_ecmwf_p.exe”是最新的。
make[1]: 离开目录“/home/etprc/wrf/WPS/util/src”
if [ -h calc_ecmwf_p.exe ] ; then \
    /bin/rm -f calc_ecmwf_p.exe ; \
fi ; \
if [ -h ../calc_ecmwf_p.exe ] ; then \
    /bin/rm -f ../calc_ecmwf_p.exe ; \
fi ; \
if [ -e src/calc_ecmwf_p.exe ] ; then \
    ln -sf src/calc_ecmwf_p.exe . ; \
fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/etprc/wrf/WPS/../WRFV3 ; \
        fi ; \
make -i -r height_ukmo.exe \
    WRF_DIR="$WRF_DIR2" \
    FC="mpif90 -f90=ifort" \
    CC="mpicc -cc=icc" \
    CPP="/lib/cpp -P -traditional" \
    FFLAGS="-FR -convert big_endian" \
    CFLAGS="-w" \
    LDFLAGS="" \
    CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_UTIL" )
make[1]: 进入目录“/home/etprc/wrf/WPS/util/src”
make[1]: “height_ukmo.exe”是最新的。
make[1]: 离开目录“/home/etprc/wrf/WPS/util/src”
if [ -h height_ukmo.exe ] ; then \
    /bin/rm -f height_ukmo.exe ; \
fi ; \
if [ -h ../height_ukmo.exe ] ; then \
    /bin/rm -f ../height_ukmo.exe ; \
fi ; \
if [ -e src/height_ukmo.exe ] ; then \
    ln -sf src/height_ukmo.exe . ; \
fi
( cd src ; \
        if [ "" = yes ] ; then \
          WRF_DIR2=../WRFV3 ; \
        else \
          WRF_DIR2=/home/etprc/wrf/WPS/../WRFV3 ; \
        fi ; \
make -i -r int2nc.exe \
    WRF_DIR="$WRF_DIR2" \
    FC="mpif90 -f90=ifort" \
    CC="mpicc -cc=icc" \
    CPP="/lib/cpp -P -traditional" \
    FFLAGS="-FR -convert big_endian" \
    CFLAGS="-w" \
    LDFLAGS="" \
    CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_UTIL" )
make[1]: 进入目录“/home/etprc/wrf/WPS/util/src”
make[1]: “int2nc.exe”是最新的。
make[1]: 离开目录“/home/etprc/wrf/WPS/util/src”
if [ -h int2nc.exe ] ; then \
    /bin/rm -f int2nc.exe ; \
fi ; \
if [ -h ../int2nc.exe ] ; then \
    /bin/rm -f ../int2nc.exe ; \
fi ; \
if [ -e src/int2nc.exe ] ; then \
    ln -sf src/int2nc.exe . ; \
fi

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

新浪微博达人勋

 楼主| 发表于 2017-12-27 13:35:47 | 显示全部楼层
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 (忽略)
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-12-27 14:12:19 | 显示全部楼层
检查你的库文件是否安装好,并且所有的编译都是用的同一编译器。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-12-27 21:14:19 | 显示全部楼层
This module file was not generated by any release of this compiler
说的很明白了,楼上说的完全正确,你wrf使用的ifort编译器,netcdf如果是自动安装或者没设定编译器,大概率是gfortran编译器编译
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-10-18 09:00:25 | 显示全部楼层
weilin421 发表于 2017-12-27 21:14
This module file was not generated by any release of this compiler
说的很明白了,楼上说的完全正确, ...

所以是怎么解决的呀请问
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2019-10-18 09:04:49 | 显示全部楼层
遇到同样的问题,想问楼主是怎么解决的
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2019-10-18 09:19:33 | 显示全部楼层
蹦蹦不是笨笨 发表于 2019-10-18 09:00
所以是怎么解决的呀请问

你问问题最好发下log 至少说明一下自己用的啥编译器 啥系统环境
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2019-10-18 14:40:01 | 显示全部楼层
mpif90 -f90=ifort -FR -convert big_endian -c scan_input.f90 -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_netcdf -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_grib_share -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_grib1 -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_int -I/public/home/1934281048/3.9.1/WPS/../WRFV3/inc -I/public/home/1934281048/local/netcdf//include
ifort: command line warning #10006: ignoring unknown option '-f90=ifort'
scan_input.f90(14): error #7013: This module file was not generated by any release of this compiler.   [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(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]
/lib/cpp -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -D_MPI -D_METGRID -DUSE_JPEG2000 -DUSE_PNG -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_netcdf -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_grib_share -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_grib1 -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_int -I/public/home/1934281048/3.9.1/WPS/../WRFV3/inc -I/public/home/1934281048/local/netcdf//include mpas_mesh.F > mpas_mesh.f90
mpif90 -f90=ifort -FR -convert big_endian -c mpas_mesh.f90 -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_netcdf -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_grib_share -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_grib1 -I/public/home/1934281048/3.9.1/WPS/../WRFV3/external/io_int -I/public/home/1934281048/3.9.1/WPS/../WRFV3/inc -I/public/home/1934281048/local/netcdf//include
ifort: command line warning #10006: ignoring unknown option '-f90=ifort'
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
--------------^

编译器Intel,集群环境?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2019-10-18 14:43:27 | 显示全部楼层
weilin421 发表于 2019-10-18 09:19
你问问题最好发下log 至少说明一下自己用的啥编译器 啥系统环境

我觉得和:wrf使用的ifort编译器,netcdf如果是自动安装或者没设定编译器,大概率是gfortran编译器编译   这个问题很像,但是不会改啊,要怎么解决呢请问。谢谢回复!
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2019-10-19 07:49:58 | 显示全部楼层
scan_input.f90(14): error #7013: This module file was not generated by any release of this compiler.   [NETCDF]
    use netcdf
这个不是写的很明白?
找不到netcdf库,你编译过netcdf了?编译过后要把NETCDF环境变量设成你netcdf的安装目录,再configure wrf
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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