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

[OpenFOAM.org] OpenFOAM with MPI and icc

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2013, 10:43
Default OpenFOAM with MPI and icc
  #1
New Member
 
Join Date: Jun 2013
Posts: 6
Rep Power: 13
swartzism is on a distinguished road
Right now I'm trying to install OpenFOAM on a redhat system and would like to use Intel's compilers and MPI. I've searched through the forums and cannot find a similar topic. Has anyone attempted this or know where to edit the installation source files (../etc/bashrc and ../etc/config/settings.sh are the 2 I know of) to make this happen?

Any help is much appreciated.

Quote:
Linux my-system 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
swartzism is offline   Reply With Quote

Old   July 16, 2013, 19:08
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings swartzism,

I Googled:
Code:
intel MPI openfoam
And the first hit was this thread: http://www.cfd-online.com/Forums/ope...compilers.html - I think it has substantial information on how to configure using ICC and Intel MPI, which should still be very similar to the latest OpenFOAM version.

I suggest that you first follow the instructions on this page: http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL - this way you can first be more familiar with the build process and to make sure that you can build OpenFOAM with the system you've got. Oh, and you can change the references from OpenFOAM 2.2.0 to 2.2.1, since it should work just fine as well .

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 17, 2013, 16:29
Default
  #3
New Member
 
Join Date: Jun 2013
Posts: 6
Rep Power: 13
swartzism is on a distinguished road
Thanks for the reply! I ended up getting it working before I saw your post. I can give my modifications if anyone is interested.
swartzism is offline   Reply With Quote

Old   July 24, 2018, 01:05
Default OpenFOAM with intel mpi
  #4
Member
 
Sai Guruprasad Jakkala
Join Date: Jan 2017
Posts: 34
Rep Power: 9
saiguruprasad is on a distinguished road
I would like to know the changes which need to be done to install openfoam with intel mpi and Icc.
saiguruprasad is offline   Reply With Quote

Old   July 25, 2018, 01:44
Default
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by saiguruprasad View Post
I would like to know the changes which need to be done to install openfoam with intel mpi and Icc.
Did you see the WM_COMPILER and WM_MPLIB variables in the etc/bashrc file?
olesen is offline   Reply With Quote

Old   July 25, 2018, 04:42
Default
  #6
Member
 
Sai Guruprasad Jakkala
Join Date: Jan 2017
Posts: 34
Rep Power: 9
saiguruprasad is on a distinguished road
I changed the WM_compiler and WM_MPLIB options to Icc and INTELMPI. I sourced my compilers in the terminal.

I did ./Allwmake in the OpenFOAM-5.x folder. I could run the cavity case.

But I was not able to use paraFoam. It kept saying "segmentation fault (core dumped)" when I ran the command.

Any suggestions on how to install parafoam also?

I didn't do allwmake in the thirdparty-5.x folder. How does one compile that also using intel compilers?
saiguruprasad is offline   Reply With Quote

Old   August 20, 2018, 15:51
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answers: I'm late to answer to these, but here goes just the same:

Quote:
Originally Posted by saiguruprasad View Post
But I was not able to use paraFoam. It kept saying "segmentation fault (core dumped)" when I ran the command.

Any suggestions on how to install parafoam also?
This could be due to several reasons, if there are no other error messages. The recent situations that I've seem have to do with the version of OpenGL that is installed in the machine you are using, where version 3.2 (or 3.3?) is the minimum requirement.

Oh, wait, you are using OpenFOAM 5.x! OK, you can rebuild ParaView with the option "-rendering OpenGL", e.g.:
Code:
./makeParaView -rendering OpenGL
This will use the older OpenGL standards, which hopefully your graphics card drivers do support.

edit: This is because OpenFOAM 5 uses ParaView 5.4, which still supports the old OpenGL.


Quote:
Originally Posted by saiguruprasad View Post
I didn't do allwmake in the thirdparty-5.x folder. How does one compile that also using intel compilers?
Well, if you don't need Scotch, then you don't need to run Allwmake in "ThirdParty-5.x".
__________________

Last edited by wyldckat; August 20, 2018 at 15:52. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Reply


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
[OpenFOAM.org] Install OpenFOAM 2.3.1 on cluster with Intel Compiler syavash OpenFOAM Installation 8 September 4, 2018 10:08
[OpenFOAM.com] Compile OpenFoam using Intel ICC on OpenLogic Centos 7.3 for Intel MPI and INFINIBAND kishoremg040 OpenFOAM Installation 1 May 6, 2018 14:21
[OpenFOAM.org] Failed to compile OpenFOAM 3.0.1 with icc xuegy OpenFOAM Installation 1 July 13, 2016 17:03
Compile OF2.1 with Intel Icc and Intel MPI hewei OpenFOAM Installation 7 February 12, 2013 17:18
installation with Intel MPI and Intel compilers achim OpenFOAM Installation 12 November 10, 2011 06:56


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