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

OF 141 and MVAPICH2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2007, 11:38
Default I've built OpenFOAM 1.4.1 with
  #1
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
I've built OpenFOAM 1.4.1 with MVAPICH2 support. I am in the process of testing infiniband performance. Can someone tell me if it is OK to rebuild OpenFOAM using mpicc and mpicxx as opposed to plain gcc and g++? Will that cause any problems ?
msrinath80 is offline   Reply With Quote

Old   November 7, 2007, 11:47
Default I guess you only need to recom
  #2
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
I guess you only need to recompile Pstream in order to use a different interconnection...

Try to look for this topic in the forum, it was very helpful to me.

If you don't find anything useful, I can describe how I set it up. it's not Infiniband, but the procedure to follow should be the same.

Good luck!
Francesco
fra76 is offline   Reply With Quote

Old   November 7, 2007, 12:00
Default Well yes, I have rebuilt Pstre
  #3
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Well yes, I have rebuilt Pstream for MVAPICH2 support. But I had to use mpicc and mpicxx to do it. If I build it with gcc/g++, even though it completes the compilation without problems I am unable to launch the parallel process. So I was wondering if it would be a good idea to rebuild the entire OF distribution using mpicc and mpicxx instead of just Pstream. Am I making any sense here?
msrinath80 is offline   Reply With Quote

Old   November 7, 2007, 12:10
Default Well, I had to set somemething
  #4
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
Well, I had to set somemething in OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc and in OpenFOAM-1.4.1/.bashrc, plus something in the wmake rules and the Allwmake in Pstream directory.
After that, I had no problem.

What you are probably missing is a "Addlib /path/to/your/mpi/lib" in the OpenFOAM-1.4.1/.bashrc file, I guess.

However, I don't think you need to recompile OpenFOAM entirely.
fra76 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
MVAPICH2 SIGEMT error kumar2 OpenFOAM Running, Solving & CFD 0 May 26, 2007 18:24


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