CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] OpenFOAM with MPI and icc (https://www.cfd-online.com/Forums/openfoam-installation/120810-openfoam-mpi-icc.html)

swartzism July 15, 2013 09:43

OpenFOAM with MPI and icc
 
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

wyldckat July 16, 2013 18:08

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

swartzism July 17, 2013 15:29

Thanks for the reply! I ended up getting it working before I saw your post. I can give my modifications if anyone is interested.

saiguruprasad July 24, 2018 00:05

OpenFOAM with intel mpi
 
I would like to know the changes which need to be done to install openfoam with intel mpi and Icc.

olesen July 25, 2018 00:44

Quote:

Originally Posted by saiguruprasad (Post 700205)
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?

saiguruprasad July 25, 2018 03:42

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?

wyldckat August 20, 2018 14:51

Quick answers: I'm late to answer to these, but here goes just the same:

Quote:

Originally Posted by saiguruprasad (Post 700373)
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 (Post 700373)
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".


All times are GMT -4. The time now is 09:57.