|
[Sponsors] |
May 28, 2009, 09:15 |
Did anyone manage to compile LAM?
|
#1 |
Member
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17 |
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 |
|
May 28, 2009, 12:06 |
|
#2 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
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 |
|
May 29, 2009, 02:09 |
|
#3 |
Member
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17 |
Hey Philip,
that worked for my problem. Big thanks to C.S.-Lewisland Marco |
|
May 29, 2009, 02:26 |
|
#4 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
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.
|
|
May 29, 2009, 07:26 |
|
#5 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
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 |
|
May 29, 2009, 09:55 |
|
#6 |
Member
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17 |
OK, I had just compiled 1.4.1-dev, so I know why... thanks again!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 06:05 |
DUNS compile with VC++, VF or gcc/g77 in PC | Ali Irvi | Main CFD Forum | 17 | August 6, 2014 09:19 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 21:51 |
LAM trouble with tru64 | matthias | OpenFOAM Installation | 7 | December 6, 2005 13:18 |
compile the UDF | Li Jingping | FLUENT | 2 | April 14, 2003 21:18 |