Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module_check_a_mundo Error 1 #2012

Open
Geek-007 opened this issue Feb 23, 2024 · 5 comments
Open

module_check_a_mundo Error 1 #2012

Geek-007 opened this issue Feb 23, 2024 · 5 comments
Assignees

Comments

@Geek-007
Copy link

Describe the bug
I have an error when installing WRF4.5 on my machine, and I will present the solution for your reference. The error is as follows:

image

This error message indicates that when compiling module_check_a_mundo.f90 files, there was an issue where variables were not explicitly typed. According to the error message, you need to add explicit type definitions for the variables dt, radt, bldt, cudt, and gsmdt.

** Solution **
You should add a statement to this file and then recompile it, the compilation process may have different problems due to different software and hardware, just for reference.

LOGICAL :: lon_extent_is_global , lat_extent_is_global LOGICAL :: rinblw_already_done LOGICAL :: fsbm_table1_exists, fsbm_table2_exists INTEGER :: count_fatal_error INTEGER :: len1, len2, len_loop REAL :: dt, radt, bldt, cudt, gsmdt ! add

@weiwangncar
Copy link
Collaborator

@Geek-007 Are you sure you're compiling standard WRF v4.5 code? Those lines shown in your image file do not show up in our module_check_a_mundo.F or module_check_a_mundo.f90.

@Geek-007
Copy link
Author

Geek-007 commented Feb 24, 2024

@weiwangncar Hello, I downloaded from here and the above error occurred when compiling wrf while setting wrf_mars=1.

@Geek-007
Copy link
Author

I'm seeking some guidance on an issue I've encountered while compiling the module_first_rk_step_part2.F file. I ran into an error, and I believe it's partly because there's a section of text at the beginning of this file that I'm struggling to understand. This confusion has been a stumbling block in the compilation process. Could you provide some assistance or clarification?

@weiwangncar
Copy link
Collaborator

@Geek-007 Thanks for pointing this out. The text was added when we implemented hybrid vertical coordinate in WRF V3.9 and 4.0. But it looks like this subroutine, damptop, is not available anywhere. So unless you have this subroutine, our suggestion would be to comment this entire section out for your special compilation.

@dudhia
Copy link
Collaborator

dudhia commented Feb 26, 2024

This may mean we don't fully support the ifdef PLANET options in our code. We have to make a decision if what we have is usable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants