CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OF 141 and MVAPICH2 (http://www.cfd-online.com/Forums/openfoam-installation/57467-141-mvapich2.html)

msrinath80 November 7, 2007 12:38

I've built OpenFOAM 1.4.1 with
 
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 ?

fra76 November 7, 2007 12:47

I guess you only need to recom
 
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

msrinath80 November 7, 2007 13:00

Well yes, I have rebuilt Pstre
 
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?

fra76 November 7, 2007 13:10

Well, I had to set somemething
 
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.


All times are GMT -4. The time now is 17:51.