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

[OpenFOAM.com] Compile OpenFoam using Intel ICC on OpenLogic Centos 7.3 for Intel MPI and INFINIBAND

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2017, 12:23
Default Compile OpenFoam using Intel ICC on OpenLogic Centos 7.3 for Intel MPI and INFINIBAND
  #1
New Member
 
kishore
Join Date: Jul 2017
Posts: 1
Rep Power: 0
kishoremg040 is on a distinguished road
Hi All,

I am a newbie to Linux as well CFD Environments. I am working on to setup an Environment to run distributed parallel OpenFOAM usecase using Intel MPI over the INFINIBAND network. (https://docs.microsoft.com/en-us/azu...c/rdma-cluster).

I was able to compile OpenFOAM using GCC(4.8.5) compilers and OpenMPI.
I now have to compile using Intel ICC to make use of built in RDMA INTEL MPI drivers over INFINIBAND.

I have followed this blog(installation with Intel MPI and Intel compilers) to make necessary ICC related configuration changes. but still unable to succeed.

I see the Intel MPI binaries are built in with the VM image i have chosen.
How do i enable INTEL Compilers on my VM.
Do i need to manually install INTEL ICC compilers on the VMs?

Need help compiling OpenFoam latest/stable version with INTEL icc compilers on Openlogic CentOS 7.3(Linux 3.10.0-514.21.1.el7.x86_64).

Please suggest.
Attached Images
File Type: png OF-Allwmake-issue.png (48.4 KB, 39 views)
File Type: png image001.png (138.6 KB, 31 views)
File Type: jpg OF-icc-issues.jpg (142.1 KB, 22 views)
File Type: png OpenFoam-ICC.png (42.0 KB, 21 views)
kishoremg040 is offline   Reply With Quote

Old   May 6, 2018, 14:21
Default
  #2
Member
 
Tarang
Join Date: Feb 2011
Location: Delhi, India
Posts: 47
Rep Power: 15
gtarang is on a distinguished road
You have to source the "compilervars.sh" to your .bashrc. In your $HOME/.bashrc
type
source /opt/intel/bin/compilervars.sh

to source intel mpi
type source <the address of the mpivars.sh shown in your locate command>

since mpirun for both openmpi and intelmpi is same, its better if you can setup "module load" or "alias" for intel mpi otherwise you won't be able to use open-mpi

don't worry about the different locations of the compilervars.sh and mpivars.sh. All the files are same and are just symbolic link to each other.
gtarang 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
[Other] Using different MPI types and versions with OpenFOAM spaceprop OpenFOAM Installation 2 May 28, 2018 04:31


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