CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Did anyone manage to compile LAM? (https://www.cfd-online.com/Forums/openfoam-installation/64911-did-anyone-manage-compile-lam.html)

marico May 28, 2009 09:15

Did anyone manage to compile LAM?
 
Hi,

first of all, I do not want to use LAM but it seems that for ENTIRE compilation of 1.5-dev it is necessary?!
Otherwise it is always complaining about missing libPstream.so... (which exists for open-mpi...)

So:

1. is there a way to bypass the parallel **** since I do not need it that time? I read something of "dummy"...

2. How to compile LAM if it cries:

checking for type bool... no
checking for true/false... no
configure: WARNING: *** Your C++ compiler does not support the bool data type.
configure: WARNING: *** LAM requires a C++ compiler with support for the bool
configure: WARNING: *** data type.
configure: error: cannot continue


Thanks for your help!!
Marco

bigphil May 28, 2009 12:06

Hi Marco,


I am not sure if it helps, but I got similar errors about a missing libPstream.so, after I compiled OF-1.5-dev.
http://www.cfd-online.com/Forums/ope...tml#post215986

So I put ' unset WM_MPLIB ' in my '.bashrc' before it sources OpenFOAM.
And then when I source it, I don't get the error anymore.


I am not sure why I get this error, but this is a superficial solution.


Hope this help,
Philip

marico May 29, 2009 02:09

Hey Philip,

that worked for my problem.

Big thanks to C.S.-Lewisland ;)

Marco

olesen May 29, 2009 02:26

Quote:

Originally Posted by bigphil (Post 217458)
So I put ' unset WM_MPLIB ' in my '.bashrc' before it sources OpenFOAM.
And then when I source it, I don't get the error anymore.

I am not sure why I get this error, but this is a superficial solution.

The old setting for WM_MPLIB must be coming from somewhere (ie, an older OpenFOAM version). If it is not part of your present environment, you might be inheriting it from the X11 session.

bigphil May 29, 2009 07:26

Hi,

I had previously compiled OpenFOAM-1.2 on my laptop, which must be from where it came.

Every time a new terminal is opened, it will be set to lam unless I unset it and resource the bash (or just unset in the bash before OpenFOAM).

There must be some way to unset it for good, but for now it does the job.

Philip

marico May 29, 2009 09:55

OK, I had just compiled 1.4.1-dev, so I know why... thanks again!


All times are GMT -4. The time now is 09:52.