Skip to content

Bugs in module_initialize_tropical_cyclone.F #2294

@wpuho

Description

@wpuho

Describe the bug
A segmentation fault occurs randomly across different nodes when running ideal.exe for the em_tropical_cyclone case in MPI (parallel) environment. This issue persists even with the default namelist settings (201x201 grid).

To Reproduce

  1. configure with INTEL compiler (dmpr; option 15)
  2. ./compile em_tropical_cyclone
  3. mpiexec.hydra -np 12 ./ideal.exe

Screenshots
Image

Additional context
I suspect this is related to an incorrect handling of the halo depth in module_initialize_tropical_cyclone.F. Specifically, some loops appear to be hardcoded to start from index 1 without properly accounting for the decomposed sub-domain ghost cells required by MPI.

Attachments
I modified the code to address this issue, please search for the label "wpuho" in the attached file to review the changes.

module_initialize_tropical_cyclone.txt

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions