Skip to content

OPENMPI version in ThirdParty

Summary

Incorrect openmpi version in etc/config.sh/mpi

Steps to reproduce

In the current dev version in

etc/config.sh/mpi

it says

export FOAM_MPI=openmpi-4.1.2

If one selects in etc/bashrc

export WM_MPLIB=OPENMPI

there is an error while compiling the ThirdParty directory, as the latest downloadable ThirdParty version is v2106 and there the openmpi version is 4.0.3

If one changes the version to

export FOAM_MPI=openmpi-4.0.3

compilation runs just fine. Possibly it would be a good idea to change the entry in etc/config.sh/mpi to 4.0.3, as this is the version shipping officially.

Example case

not needed

What is the current bug behaviour?

compilation error due to missing openmpi version

What is the expected correct behavior?

correct compilation of 4.0.3

Relevant logs and/or images

not needed

Environment information

  • OpenFOAM version : dev
  • Operating system : ubuntu
  • Hardware info : not needed
  • Compiler : gcc

Possible fixes

change entry to 4.0.3 or ship 4.1.2 in ThirdParty-v2312