Skip to content

Commit 3d61da4

Browse files
authored
Merge pull request #406 from GEOS-ESM/bugfix/ompi-mpirun
Fix for Open MPI 5
2 parents db4197a + 971473d commit 3d61da4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Fixed
1515

16+
- Fix for Open MPI calls in `esma_mpirun` from Open MPI 5 testing
17+
1618
### Removed
1719

1820
### Deprecated

GMAO_etc/esma_mpirun

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,10 @@ sub get_xtraflags {
331331
if ($mpi_type eq "openmpi") {
332332

333333
if ($siteID eq "gmao") {
334-
$xtraflags .= " -oversubscribe";
334+
$xtraflags .= " --oversubscribe";
335335
}
336336
if ($perhost) {
337-
$xtraflags .= " -map-by ppr:$perhost:node -bind-to core";
338-
} else {
339-
$xtraflags .= " -map-by node -bind-to core";
337+
$xtraflags .= " --map-by ppr:$perhost:node --bind-to core";
340338
}
341339

342340
}

0 commit comments

Comments
 (0)