CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

foam-extend using intel mpi

Register Blogs Community New Posts Updated Threads Search

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


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/settings.sh:
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, 19:59
Default
  #2
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
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:

Code:
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: https://www.ibm.com/support/pages/me...riable-mpiroot


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,
Sebastian
bluebase is offline   Reply With Quote

Old   November 2, 2020, 15:13
Default
  #3
New Member
 
Ra Miro
Join Date: Aug 2020
Posts: 21
Rep Power: 6
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

Reply

Tags
compilation, foam-extend 4.0, mpi


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


All times are GMT -4. The time now is 10:16.