CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 15, 2005, 12:07
Default Hi, I am trying to install F
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 97
Rep Power: 10
r2d2 is on a distinguished road
I am trying to install Foam on our beowulf that uses mpich/myrinet.
So I modified some lines in "bashrc" in ".OpenFOAM-1.1":

# export WM_MPLIB=LAM

# SUN workstation
# ~~~~~~~~~~~~~~~

and in the ".bashrc" of "OpenFOAM-1.1" the following lines:

if [ .$WM_MPLIB = .MPICH ]; then

echo 'here--MPICH'

# ..... was.......
# export MPICH_VERSION=1.2.4
# ..... end was.......

# ..... new.......
export MPICH_ARCH_PATH=/opt/mpich-1.2.5..11
# ..... end new.......


# ..... was.......
# ..... end was.......

# ..... new.......
export FOAM_MPI_LIBBIN=/opt/mpich-1.2.5..11/lib
# ..... end new.......


...and now every time that I want to do something like "blockMesh . <case>" it complains about the shared library

"blockMesh: error while loading shared libraries: cannot open shared object file: No such file or directory"

but in mpich-1.2.5..11 I fail to find such If I add the one from
$FOAM_LIBBIN/lam-7.1.1 it will complain that:

"blockMesh: error while loading shared libraries: cannot open shared object file: No such file or directory"

of course, as I donīt have any
Any ideas? PLease...
r2d2 is offline   Reply With Quote

Old   June 15, 2005, 19:32
Default The is the OpenF
Super Moderator
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 18
mattijs is on a distinguished road
The is the OpenFOAM library that has all the parallel stuff in it. We pre-build the lam-XXX/ which gets built by the $FOAM_SRC/Pstream/Allwmake script. Have a look what it does now you have changed your MPI variables.

Anyway you will have to build a that uses your mpich version and then set your LD_LIBRARY_PATH to use that one.

(check with ldd `which blockMesh` to find out what libraries blockMesh is using)
mattijs is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO RUN FOAM WITH MPICH waynezw0618 OpenFOAM Running, Solving & CFD 5 May 13, 2009 08:21
PVM or MPICH CFX User CFX 5 November 3, 2004 17:31
LAM/MPI or MPICH? Junseok Kim Main CFD Forum 0 January 15, 2004 08:10
MPICH-Variables James Siemens 4 October 22, 2002 10:14
MPICH Junseok Kim Main CFD Forum 1 November 5, 2000 23:07

All times are GMT -4. The time now is 08:28.