CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

foam-extend using intel mpi

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2020, 11:55
Default foam-extend using intel mpi
New Member
Ra Miro
Join Date: Aug 2020
Posts: 21
Rep Power: 5
ramrebol is on a distinguished road

I' trying to install foam-extend 4.0 using these instructions.

When I run 'fe40' appears the following:

Warning in ~foam/foam-extend-4.0/etc/config/
MPI_ROOT not a valid mpt installation directory or ending in a '/'.
Please set MPI_ROOT to the mpt installation directory.
MPI_ROOT currently set to ''

I suppose that is because I have installed the intel compiler. Where and what I must to change to compile foam-extend?
ramrebol is offline   Reply With Quote

Old   October 31, 2020, 18:59
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 21
bluebase will become famous soon enough
H ranrebol,

I am not an experienced use regarding foam-extend.

However, i believe your executable asks for an environment variable set inside your shell/bash.

In case of bash, you could add the following command to your .bashrc file located in your home directory:

export MPI_ROOT=/path/to/mpiroot
where path/to/mpiroot should contain the executable mpirun in the subdirectory bin - or as absolute path: /path/to/mpiroot/bin/mpirun
At least according to:

Then run: source ~/.bashrc or open a new terminal

To replace /path/to/mpiroot with the correct path you must identify which mpi libraries you have available on your system. Maybe contact your sysadmin, if it applies.

Best regards,
bluebase is offline   Reply With Quote

Old   November 2, 2020, 14:13
New Member
Ra Miro
Join Date: Aug 2020
Posts: 21
Rep Power: 5
ramrebol is on a distinguished road
Thanks Sebastian.

It seems that it was only a warning, because until now everything works without problems. But I will do the modification you suggest.
ramrebol is offline   Reply With Quote


compilation, foam-extend 4.0, mpi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 11:04
[mesh manipulation] refineMesh Error mohsen.boojari OpenFOAM Meshing & Mesh Conversion 3 March 1, 2018 22:07
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 10:51
Sgimpi pere OpenFOAM 27 September 24, 2011 07:57
Error using LaunderGibsonRSTM on SGI ALTIX 4700 jaswi OpenFOAM 2 April 29, 2008 10:54

All times are GMT -4. The time now is 01:54.