|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 ![]() |
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 ?
|
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 ![]() |
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?
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 ![]() |
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. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MVAPICH2 SIGEMT error | kumar2 | OpenFOAM Running, Solving & CFD | 0 | May 26, 2007 18:24 |