Project

General

Profile

Feature #1766

Add an ampirun script as drop-in replacement for mpiexec

Added by Sam White about 1 year ago. Updated 10 months ago.

Status:
Merged
Priority:
Normal
Category:
AMPI
Target version:
Start date:
12/14/2017
Due date:
% Done:

0%


Description

configure scripts of libraries often taken a '--with-mpiexec' option that lets you pass a different job launcher, but the number of processes passed to that is often hardcoded as "-n" which charmrun doesn't take. Supply an ampirun wrapper around charmrun that takes -n, -np, and -p alike.

Options that we could support:
  • -n|-np|-p: total number of ranks (recommended by MPI standard)
  • --host: comma-separated list of hosts to run on (as in OpenMPI)
  • --vr: Flag to toggle virtual ranks on (use only 1 process per host when this is on; do we need SMP mode for this?)
  • --verbose: By default, pass ++quiet to charmrun. With this flag, do not pass ++quiet.
  • Other flags recommended by the MPI standard (wdir etc.; maybe not necessary for the first version)
Script name and location:
  • make this script available as: ampirun, ampiexec, mpirun, mpiexec?
  • Ideally, we should copy this to the application directory when compiling (instead of charmrun?)

History

#1 Updated by Sam White about 1 year ago

  • Tracker changed from Bug to Feature

#2 Updated by Sam White about 1 year ago

We previously removed an old ampirun script: https://charm.cs.illinois.edu/gerrit/#/c/1176/

#3 Updated by Matthias Diener 11 months ago

  • Target version set to 6.9.0

#4 Updated by Sam White 11 months ago

  • Status changed from New to In Progress
  • Assignee set to Matthias Diener

#5 Updated by Matthias Diener 11 months ago

  • Description updated (diff)

#6 Updated by Matthias Diener 10 months ago

  • Status changed from In Progress to Implemented

This is implemented and needs some reviews.

#7 Updated by Matthias Diener 10 months ago

  • Status changed from Implemented to Merged

Also available in: Atom PDF