Skip to content

BUG: Firedrake tests fail in firedrake container #4101

Open
@inducer

Description

@inducer

Describe the bug
It looks like Firedrake tests assumes a different MPI than is installed in the container.

Steps to Reproduce

docker pull docker.io/firedrakeproject/firedrake
docker run -t -i docker.io/firedrakeproject/firedrake
cd firedrake
pytest -k test_dg_advection_icosahedral_sphere tests/firedrake/regression/

Expected behavior
Passes as before.

Error message

(Lengthy traceback snipped)
/usr/lib/python3.12/subprocess.py:571: CalledProcessError
--------------------------------------- Captured stderr call ---------------------------------------
mpiexec: Error: unknown option "-genv"
Type 'mpiexec --help' for usage.

Environment:

  • OS: Linux
  • Python version: 3.12
  • Output of firedrake-status

firedrake-status says

Unable to retrieve virtualenv name from the environment.
 Please ensure the virtualenv is active before running firedrake-update.

when run in the container. That might be a separate bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions