Skip to content

Installing Paraview after Firedrake clobbers mpich with openmpi for mpirun #1325

@dorugeber

Description

@dorugeber

(This is on a clean Ubuntu 18.04.1)

This has a nasty failure mode: mpirun -n X python foo.py simply runs X independent copies of foo.py, with no obvious indication to the user that the wrong thing is happening.

Can be fixed with sudo update-alternatives --config mpirun, and choosing the mpich option, at least if you have admin rights.

Two suggestions:

  1. Ideally, the right mpirun should be used automatically (within the virtualenv, if not system-wide)
  2. Some way of (automatically) verifying that mpirun -n X isn't just running X serial copies.

Metadata

Metadata

Assignees

No one assigned

    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