CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2021, 06:58
Default pyFoam on cluster error: : Unknown or missing MPI-Implementation: EASYBUILDMPI
  #1
Member
 
Javier Vinuales
Join Date: May 2016
Posts: 42
Rep Power: 10
jvinuales is on a distinguished road
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 is offline   Reply With Quote

Old   June 15, 2021, 10:09
Default
  #2
Member
 
Javier Vinuales
Join Date: May 2016
Posts: 42
Rep Power: 10
jvinuales is on a distinguished road
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 is offline   Reply With Quote

Old   June 15, 2021, 10:51
Default
  #3
Member
 
Javier Vinuales
Join Date: May 2016
Posts: 42
Rep Power: 10
jvinuales is on a distinguished road
Any help would be appreciated!

Thanks.
jvinuales is offline   Reply With Quote

Old   June 16, 2021, 11:16
Default
  #4
Member
 
Javier Vinuales
Join Date: May 2016
Posts: 42
Rep Power: 10
jvinuales is on a distinguished road
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"])
jvinuales is offline   Reply With Quote

Old   June 21, 2021, 09:31
Default
  #5
Member
 
Javier Vinuales
Join Date: May 2016
Posts: 42
Rep Power: 10
jvinuales is on a distinguished road
anyone any help?
jvinuales is offline   Reply With Quote

Reply

Tags
pyfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mpirun, best parameters pablodecastillo Hardware 18 November 10, 2016 13:36
MPI Implementation AshwaniAssam Main CFD Forum 3 July 11, 2015 11:45
Problems with MPI implementation francesco_capuano OpenFOAM Installation 7 January 16, 2013 02:53
MPI implementation of OpenFOAM Jamshidi OpenFOAM 7 June 25, 2011 10:19
Implementation of MPI Ertan Karaismail Main CFD Forum 5 May 17, 2009 12:31


All times are GMT -4. The time now is 03:48.