爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 7081|回复: 9

求助,编译WRFDA无法生成da_wrfvar.exe

[复制链接]

新浪微博达人勋

发表于 2016-7-9 11:47:36 | 显示全部楼层 |阅读模式

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

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

x
编译WRFDAV3.7.1 所有的其他的exe文件都生成了,但是最重要的da_wrfvar.exe没有生成,部分错误提示如下:

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

V3.7.1   

Compiling: WRF_DA_CORE WRF_EM_CORE  
WRFIO_NCD_LARGE_FILE_SUPPORT=1

Linux hkcluster 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

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


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

CRTM_MW_Water_SfcOptics.f90(87): error #6401: The attributes of this name conflict with those made accessible by a USE statement.   [IVAR_TYPE]
  END TYPE iVar_type
-----------^
CRTM_MW_Water_SfcOptics.f90(87): error #6148: The name on this END TYPE statement is different from the name on the corresponding derived type statement.   [IVAR_TYPE]
  END TYPE iVar_type
-----------^
CRTM_MW_Water_SfcOptics.f90(196): error #6401: The attributes of this name conflict with those made accessible by a USE statement.   [IVAR_TYPE]
    TYPE(iVar_type),              INTENT(IN OUT) :: iVar
---------^
CRTM_MW_Water_SfcOptics.f90(401): error #6401: The attributes of this name conflict with those made accessible by a USE statement.   [IVAR_TYPE]
    TYPE(iVar_type),              INTENT(IN)     :: iVar
---------^
CRTM_MW_Water_SfcOptics.f90(599): error #6401: The attributes of this name conflict with those made accessible by a USE statement.   [IVAR_TYPE]
    TYPE(iVar_type),              INTENT(IN)     :: iVar
---------^
CRTM_MW_Water_SfcOptics.f90(232): error #6404: This name does not have a type, and must have an explicit type.   [IVAR]
               iVar%FastemX_Var                       , &  ! Internal variable output
---------------^
CRTM_MW_Water_SfcOptics.f90(232): error #6460: This is not a field name that is defined in the encompassing structure.   [FASTEMX_VAR]
               iVar%FastemX_Var                       , &  ! Internal variable output
--------------------^
CRTM_MW_Water_SfcOptics.f90(255): error #6460: This is not a field name that is defined in the encompassing structure.   [LF_MWSSEM_VAR]
                 iVar%LF_MWSSEM_Var         )  ! Internal variable output
----------------------^
CRTM_MW_Water_SfcOptics.f90(267): error #6460: This is not a field name that is defined in the encompassing structure.   [DEH_DWINDSPEED]
                        iVar%dEH_dWindSpeed(i)   , & ! Output
-----------------------------^
CRTM_MW_Water_SfcOptics.f90(268): error #6460: This is not a field name that is defined in the encompassing structure.   [DEV_DWINDSPEED]
                        iVar%dEV_dWindSpeed(i)     ) ! Output
-----------------------------^
CRTM_MW_Water_SfcOptics.f90(267): error #6638: An actual argument is an expression or constant; this is not valid since the associated dummy argument has the explicit INTENT(OUT) or INTENT(INOUT) attribute.   [IVAR]
                        iVar%dEH_dWindSpeed(i)   , & ! Output
------------------------^
CRTM_MW_Water_SfcOptics.f90(268): error #6638: An actual argument is an expression or constant; this is not valid since the associated dummy argument has the explicit INTENT(OUT) or INTENT(INOUT) attribute.   [IVAR]
                        iVar%dEV_dWindSpeed(i)     ) ! Output
------------------------^
CRTM_MW_Water_SfcOptics.f90(434): error #6404: This name does not have a type, and must have an explicit type.   [IVAR]
               iVar%FastemX_Var                            , &  ! Internal variable input
---------------^
CRTM_MW_Water_SfcOptics.f90(462): error #6460: This is not a field name that is defined in the encompassing structure.   [DEH_DTS]
          SfcOptics_TL%Emissivity(i,2) = (iVar%dEH_dTs(i)*Surface_TL%Water_Temperature) + &
-----------------------------------------------^
CRTM_MW_Water_SfcOptics.f90(464): error #6460: This is not a field name that is defined in the encompassing structure.   [DEV_DTS]
          SfcOptics_TL%Emissivity(i,1) = (iVar%dEV_dTs(i)*Surface_TL%Water_Temperature) + &
-----------------------------------------------^
CRTM_MW_Water_SfcOptics.f90(635): error #6404: This name does not have a type, and must have an explicit type.   [IVAR]
               iVar%FastemX_Var                             , &  ! Internal variable input
---------------^
compilation aborted for CRTM_MW_Water_SfcOptics.f90 (code 1)
make[3]: [CRTM_MW_Water_SfcOptics.o] Error 1 (ignored)

。。。。。。。

CRTM_SfcOptics.f90(54): error #7002: in opening the compiled module file.  Check INCLUDE paths.   [CRTM_MW_WATER_SFCOPTICS]
  USE CRTM_MW_Water_SfcOptics,  ONLY: MWWSOVar_type => iVar_type   , &
------^
CRTM_SfcOptics.f90(135): error #6498: The use-name for this local-name is not defined.   [MWWSOVAR_TYPE]
    TYPE(MWWSOVar_type)  :: MWWSOV ! Water
---------^
CRTM_SfcOptics.f90(55): error #6580: Name in only-list does not exist.   [COMPUTE_MW_WATER_SFCOPTICS]
                                      Compute_MW_Water_SfcOptics   , &
--------------------------------------^
CRTM_SfcOptics.f90(56): error #6580: Name in only-list does not exist.   [COMPUTE_MW_WATER_SFCOPTICS_TL]
                                      Compute_MW_Water_SfcOptics_TL, &
--------------------------------------^
CRTM_SfcOptics.f90(57): error #6580: Name in only-list does not exist.   [COMPUTE_MW_WATER_SFCOPTICS_AD]
                                      Compute_MW_Water_SfcOptics_AD
--------------------------------------^
CRTM_SfcOptics.f90(534): error #6460: This is not a field name that is defined in the encompassing structure.   [MWWSOV]
                           iVar%MWWSOV   )  ! Internal variable output
--------------------------------^
CRTM_SfcOptics.f90(528): error #6404: This name does not have a type, and must have an explicit type.   [COMPUTE_MW_WATER_SFCOPTICS]
          Error_Status = Compute_MW_Water_SfcOptics( &
-------------------------^
CRTM_SfcOptics.f90(1256): error #6404: This name does not have a type, and must have an explicit type.   [COMPUTE_MW_WATER_SFCOPTICS_TL]
          Error_Status = Compute_MW_Water_SfcOptics_TL( &
-------------------------^
CRTM_SfcOptics.f90(2031): error #6404: This name does not have a type, and must have an explicit type.   [COMPUTE_MW_WATER_SFCOPTICS_AD]
          Error_Status = Compute_MW_Water_SfcOptics_AD( &
-------------------------^
compilation aborted for CRTM_SfcOptics.f90 (code 1)
make[3]: [CRTM_SfcOptics.o] Error 1 (ignored)
ifort   -c  -O2  -convert big_endian  -free  -assume byterecl   RTV_Define.f90
RTV_Define.f90(37): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [CRTM_SFCOPTICS]
  USE CRTM_SfcOptics,        ONLY: SOVar_type => iVar_type
------^
RTV_Define.f90(258): error #6498: The use-name for this local-name is not defined.   [SOVAR_TYPE]
    TYPE(SOVar_type) :: SOV
---------^

请教有人遇到过吗?


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

新浪微博达人勋

发表于 2017-7-6 19:33:55 | 显示全部楼层
嗯。可以卸载ifort15,编译了一个ifort 14.0,或者另外编译一个ifort14.0,然后编译时吧ifort的环境变量指向ifort14.0,然后编译就ok了。
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

新浪微博达人勋

发表于 2016-7-21 17:36:59 | 显示全部楼层
我这里也是 ifort 15.0.0 的fortran编译器。同样的故障,除了降低ifort 的版本,还有没有其它的方法?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-7-23 15:31:51 | 显示全部楼层
mico2008 发表于 2016-7-21 17:36
我这里也是 ifort 15.0.0 的fortran编译器。同样的故障,除了降低ifort 的版本,还有没有其它的方法?

请教什么意思? 降低ifort 的版本就可以编译通过了吗??
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-11-17 16:52:52 | 显示全部楼层
楼主,请问问题解决了吗?我也遇到同样的问题,求教呀QQ:717337895
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-11-17 16:54:03 | 显示全部楼层
mico2008 发表于 2017-7-6 19:33
嗯。可以卸载ifort15,编译了一个ifort 14.0,或者另外编译一个ifort14.0,然后编译时吧ifort的环境变量指向 ...

您好,请问,我用的编译器是PGI,也出现同样的未生成可执行文件的问题,请问大侠,知道如何解决吗?QQ717337895,欢迎随时叨扰
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-1-11 15:10:21 | 显示全部楼层
http://www2.mmm.ucar.edu/wrf/users/wrfda/yellowstone.html

不得不说,outel坑爹了。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-1-26 10:52:18 | 显示全部楼层
niuda 发表于 2016-7-23 15:31
请教什么意思? 降低ifort 的版本就可以编译通过了吗??

针对wrf3.7.1这个版本的wrfda,如果用ifort编译器的话,只要使用ifort14.0(包含)以下版本就可以正常编译,这个是ifort编译器14.0以上版本后,编译crtm2.1.3代码出现的问题。这个问题在wrf3.9以上的wrfda(ctrm2.2.*)已经不出现了。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-9-11 17:10:11 | 显示全部楼层
mico2008 发表于 2018-1-26 10:52
针对wrf3.7.1这个版本的wrfda,如果用ifort编译器的话,只要使用ifort14.0(包含)以下版本就可以正常编 ...

我用ifort15.0.0编译的WRFDA3.9.1仍然会有这样的问题,CRTM仍然不能编译通过,请问除了换编译器还有别的解决办法吗
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2024-4-8 19:09:21 | 显示全部楼层
冰凌 发表于 2018-9-11 17:10
我用ifort15.0.0编译的WRFDA3.9.1仍然会有这样的问题,CRTM仍然不能编译通过,请问除了换编译器还有别的 ...

之前也遇到过类似的问题,非常感谢分享经验
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

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