|September 4, 2009, 05:17||
How to compile OF with another Mpi
I would like to compile OF with an OpenMPI version different from the one included in the Third Party, as I use other home-made parallel codes that work with a system installation of OpenMPI libraries. The standard OF installation overwrites the $MPI_HOME and $MPI_ARCH_PATH variables, so the system installation is switched off.
Is there any simple workaround to tell OF to use my system installation? Actually I'm obliged to create a separate openfoam user on my system, but I would prefer to use OF and my other codes from a single user.
I use OpenFOAM-1.6.x under a SLAMD64 Linux distro.
|September 29, 2009, 12:43||
Join Date: Mar 2009
Posts: 599Rep Power: 20
I think $MPI_HOME and $MPI_ARCH_PATH variables are set in '$WM_PROJECT_DIR/etc/settings.sh' about two-thirds of the way down:
case "$WM_MPLIB" in
# Tell OpenMPI where to find its install directory
You could probably change these to where your system OpenMPI is installed, just a suggestion not sure if it will work.
|Thread||Thread Starter||Forum||Replies||Last Post|
|ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM||Rizwan||Fluent UDF and Scheme Programming||32||May 8, 2015 06:05|
|Error compile file udf||czfluent||Fluent UDF and Scheme Programming||24||September 26, 2009 13:24|
|Error using LaunderGibsonRSTM on SGI ALTIX 4700||jaswi||OpenFOAM||2||April 29, 2008 10:54|
|Is Testsuite on the way or not||lakeat||OpenFOAM Installation||6||April 28, 2008 11:12|
|MPI and parallel computation||Wang||Main CFD Forum||7||April 15, 2004 11:25|