Skip to content

capgen: Add capability and test for passing mpi communicator as a flat field #751

@climbfuji

Description

@climbfuji

Description

SIMA folks reported that they can't pass the MPI communicator as a variable with metadata when it is of type mpi_comm, because capgen insists on a definition of the DDT in a module and metadata file.

Solution

We need to make sure that capgen can pass such an MPI communicator and correctly add

use mpi_f08, only : mpi_comm

to the auto-generated code where needed.

We should also add a simple test for this to the CI testing harness.

Alternatives (optional)

No alternative. Can't stay with or go back to old integer MPI communicators.

Related to (optional)

n/a

Metadata

Metadata

Assignees

Labels

bugFor issues describing bugs, or PRs fixing bugscapgenbugs, requests, etc. that involve ccpp_capgencapgen-unificationIssues/PRs necessary for capgen/prebuild unificationenhancement

Type

No type
No fields configured for issues without a type.

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions