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

Duplicate clock alarm error when using multiple blocks per MPI task #1032

Open
YongjunZHENG opened this issue Mar 22, 2023 · 2 comments
Open
Assignees

Comments

@YongjunZHENG
Copy link

YongjunZHENG commented Mar 22, 2023

I would like to use multiple blocks per MPI task. When set the following config in namelist.atmosphere

&decomposition
config_block_decomp_file_prefix = 'x4.163842.graph.info.part.'
config_number_of_blocks = 576
config_explicit_proc_decomp = .false.
/

and run atmosphere_model which 192 MPI task (3 blocks per MPI task), I got the following error:

ERROR: OOPS -- we have a duplicate alarmIDradtlw
ERROR:
ERROR: ------------------------------ FATAL CALLED ------------------------------
ERROR: subroutine physics_run_init: error creating radtlwAlarmID
CRITICAL ERROR: MPAS core_physics abort

It seems to add the clock alarm with the same ID for all the blocks of a MPI task.
Is there a quick way to fix this issue? Thanks.

@mgduda
Copy link
Contributor

mgduda commented Mar 28, 2023

The use of multiple blocks per MPI task isn't supported in MPAS-Atmosphere. Out of curiosity, what is your interest in doing so?

@mgduda mgduda self-assigned this Mar 28, 2023
@YongjunZHENG
Copy link
Author

Thanks for your reply. I would like to implement the local time stepping (LTS) scheme to improve the efficiency for variable resolution configurations. The LTS has been implemented in MPAS ocean using multiple blocks for better load balancing.

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

No branches or pull requests

2 participants