8000 OpenMPI does not run on fewer cores than requested · Issue #557 · pism/pism · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

OpenMPI does not run on fewer cores than requested #557

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

Open
mankoff opened this issue Mar 13, 2025 · 0 comments
Open

OpenMPI does not run on fewer cores than requested #557

mankoff opened this issue Mar 13, 2025 · 0 comments

Comments

@mankoff
Copy link
Contributor
mankoff commented Mar 13, 2025

4 cores, this example will work with 1 to about 50 processors, with reasonably good

This example does not work with fewer processors than requested. I get the following. I've tagged this issue to one specific line stating it runs on fewer cores than requested, but I believe this statement is repeated elsewhere in the documentation.

There are not enough slots available in the system to satisfy the 8
slots that were requested by the application:

pism

Either request fewer slots for your application, or make more slots
available for use.

A "slot" is the Open MPI term for an allocatable unit where we can
launch a process. The number of slots available are defined by the
environment in which Open MPI processes are run:

  1. Hostfile, via "slots=N" clauses (N defaults to number of
    processor cores if not provided)
  2. The --host command line parameter, via a ":N" suffix on the
    hostname (N defaults to 1 if not provided)
  3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
  4. If none of a hostfile, the --host command line parameter, or an
    RM is present, Open MPI defaults to the number of processor cores

In all the above cases, if you want Open MPI to default to the number
of hardware threads instead of the number of processor cores, use the
--use-hwthread-cpus option.

Alternatively, you can use the --oversubscribe option to ignore the
number of available slots when deciding the number of processes to
launch.

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

No branches or pull requests

1 participant
0