CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   pyFoam on cluster error: : Unknown or missing MPI-Implementation: EASYBUILDMPI (https://www.cfd-online.com/Forums/openfoam-solving/236771-pyfoam-cluster-error-unknown-missing-mpi-implementation-easybuildmpi.html)

jvinuales June 15, 2021 05:58

pyFoam on cluster error: : Unknown or missing MPI-Implementation: EASYBUILDMPI
 
Hi everyone,

I am trying to run a script using pyfoam. The script runs in my machine without any problems. When I try to run in a cluster I get the following error:

FatalError in PyFoam: 'PyFoam FATAL ERROR on line 63 of file /nvme/h/es21jv1/.local/lib/python3.8/site-packages/PyFoam/Execution/ParallelExecution.py: Unknown or missing MPI-Implementation: EASYBUILDMPI'

The python code specific for this error is the following:

Code:

Runner(args=["--auto","potentialFoam"])
How can I fix this error please?

Thanks!

Javier

jvinuales June 15, 2021 09:09

The following option does not work neither:

Code:

Runner(args=["--procnr=40","potentialFoam"])
Resulting in the same error:

FatalError in PyFoam: 'PyFoam FATAL ERROR on line 63 of file /nvme/h/es21jv1/.local/lib/python3.8/site-packages/PyFoam/Execution/ParallelExecution.py: Unknown or missing MPI-Implementation: EASYBUILDMPI'

jvinuales June 15, 2021 09:51

Any help would be appreciated!

Thanks.

jvinuales June 16, 2021 10:16

I installed without apparent problem using:

pip install PyFoam

Other PyFoam commands run without problem, such as:

Code:

from PyFoam.Applications.Runner import Runner

Runner (args=["decomposePar"])

:confused:

jvinuales June 21, 2021 08:31

anyone any help?


All times are GMT -4. The time now is 12:27.