Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

WRF compiling issue (#7002 #6617 #6702 et al.)

adj06

New member
I was trying to use a pre-compiled wrf but got this error multiple times as below:

module_cpl.f90(7): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_CPL_OASIS3]
USE module_cpl_oasis3
-------^
module_cpl.f90(3): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_DOMAIN]
USE module_domain , ONLY : domain, get_ijk_from_grid
-------^
module_cpl.f90(4): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_CONFIGURE]
USE module_configure , ONLY : grid_config_rec_type
-------^
module_cpl.f90(6): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_DRIVER_CONSTANTS]
USE module_driver_constants, ONLY : max_domains, max_cplfld, max_extdomains
-------^
module_cpl.f90(26): error #6406: Conflicting attributes or multiple declaration of name. [MAX_DOMAINS]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
---------------------------------------------------------------------------^
module_cpl.f90(26): error #6223: A specification expression is invalid. [MAX_DOMAINS]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
---------------------------------------------------------------------------^
module_cpl.f90(26): error #6406: Conflicting attributes or multiple declaration of name. [MAX_EXTDOMAINS]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
---------------------------------------------------------------------------^
module_cpl.f90(26): error #6223: A specification expression is invalid. [MAX_EXTDOMAINS]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
---------------------------------------------------------------------------^
module_cpl.f90(26): error #6406: Conflicting attributes or multiple declaration of name. [MAX_CPLFLD]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
---------------------------------------------------------------------------^
module_cpl.f90(26): error #6223: A specification expression is invalid. [MAX_CPLFLD]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
---------------------------------------------------------------------------^
module_cpl.f90(26): error #6406: Conflicting attributes or multiple declaration of name. [MAX_DOMAINS]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
------------------------------------------------------------------------------------^
module_cpl.f90(26): error #6223: A specification expression is invalid. [MAX_DOMAINS]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
------------------------------------------------------------------------------------^
module_cpl.f90(26): error #6406: Conflicting attributes or multiple declaration of name. [MAX_EXTDOMAINS]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
------------------------------------------------------------------------------------^
module_cpl.f90(26): error #6223: A specification expression is invalid. [MAX_EXTDOMAINS]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
------------------------------------------------------------------------------------^
module_cpl.f90(26): error #6406: Conflicting attributes or multiple declaration of name. [MAX_CPLFLD]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
------------------------------------------------------------------------------------^
module_cpl.f90(26): error #6223: A specification expression is invalid. [MAX_CPLFLD]
CHARACTER(charlen), DIMENSION(max_domains,max_extdomains,max_cplfld) :: rcvname, sndname
------------------------------------------------------------------------------------^
module_cpl.f90(112): error #6457: This derived type name has not been declared. [DOMAIN]
TYPE(domain), INTENT(IN), POINTER :: grid
-----------^
module_cpl.f90(267): error #6457: This derived type name has not been declared. [DOMAIN]
TYPE(domain), INTENT(IN), POINTER :: grid
-----------^
module_cpl.f90(294): error #6457: This derived type name has not been declared. [DOMAIN]
TYPE(domain), INTENT(IN), POINTER :: grid
-----------^
module_cpl.f90(449): error #6457: This derived type name has not been declared. [DOMAIN]
TYPE(domain) , INTENT(INOUT) :: grid
-----------^
module_cpl.f90(450): error #6457: This derived type name has not been declared. [GRID_CONFIG_REC_TYPE]
TYPE (grid_config_rec_type) , INTENT(IN ) :: config_flags
------------^
module_cpl.f90(3): error #6580: Name in only-list does not exist or is not accessible. [DOMAIN]
USE module_domain , ONLY : domain, get_ijk_from_grid
---------------------------------------^
module_cpl.f90(3): error #6580: Name in only-list does not exist or is not accessible. [GET_IJK_FROM_GRID]
USE module_domain , ONLY : domain, get_ijk_from_grid
-----------------------------------------------^
module_cpl.f90(4): error #6580: Name in only-list does not exist or is not accessible. [GRID_CONFIG_REC_TYPE]
USE module_configure , ONLY : grid_config_rec_type
---------------------------------------^
module_cpl.f90(6): error #6580: Name in only-list does not exist or is not accessible. [MAX_DOMAINS]
USE module_driver_constants, ONLY : max_domains, max_cplfld, max_extdomains
---------------------------------------^
module_cpl.f90(6): error #6580: Name in only-list does not exist or is not accessible. [MAX_CPLFLD]
USE module_driver_constants, ONLY : max_domains, max_cplfld, max_extdomains
----------------------------------------------------^
module_cpl.f90(6): error #6580: Name in only-list does not exist or is not accessible. [MAX_EXTDOMAINS]
USE module_driver_constants, ONLY : max_domains, max_cplfld, max_extdomains
----------------------------------------------------------------^
module_cpl.f90(55): error #6406: Conflicting attributes or multiple declaration of name. [MAX_EXTDOMAINS]
DO jext = 1, max_extdomains
-------------------^
module_cpl.f90(59): error #6406: Conflicting attributes or multiple declaration of name. [MAX_DOMAINS]
DO jwrf = 1, max_domains
----------------------^
module_cpl.f90(121): error #6404: This name does not have a type, and must have an explicit type. [GRID]
CALL get_ijk_from_grid( grid, ids, ide, jds, jde, kds, kde, &
------------------------------^
module_cpl.f90(1125): catastrophic error: Too many errors, exiting
compilation aborted for module_cpl.f90 (code 1)


I am really new in the modeling world, so I am not sure how to fix it. With this post, I have attached the compile log file. Hope someone can provide some suggestion.
Thank you so much!
 

Attachments

  • compile.log
    1.6 MB · Views: 1
Hi,
If you haven't already, can you first go through this compiling tutorial, just to make sure your compilers and libraries are all compatible with each other? If that doesn't reveal anything, your version of the intel compiler (V19) is a bit old now. Are you able to update to a newer version and try to compile with that?
 
Top