CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Did anyone manage to compile LAM?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 28, 2009, 09:15
Default Did anyone manage to compile LAM?
  #1
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 8
marico is on a distinguished road
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
marico is offline   Reply With Quote

Old   May 28, 2009, 12:06
Default
  #2
Senior Member
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin,Ireland
Posts: 565
Rep Power: 19
bigphil will become famous soon enoughbigphil will become famous soon enough
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.
libPstream.so, why do I get this error?

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
bigphil is offline   Reply With Quote

Old   May 29, 2009, 02:09
Default
  #3
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 8
marico is on a distinguished road
Hey Philip,

that worked for my problem.

Big thanks to C.S.-Lewisland

Marco
marico is offline   Reply With Quote

Old   May 29, 2009, 02:26
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
Quote:
Originally Posted by bigphil View Post
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.
olesen is offline   Reply With Quote

Old   May 29, 2009, 07:26
Default
  #5
Senior Member
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin,Ireland
Posts: 565
Rep Power: 19
bigphil will become famous soon enoughbigphil will become famous soon enough
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
bigphil is offline   Reply With Quote

Old   May 29, 2009, 09:55
Default
  #6
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 8
marico is on a distinguished road
OK, I had just compiled 1.4.1-dev, so I know why... thanks again!
marico is offline   Reply With Quote

Reply

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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 32 May 8, 2015 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 22:51
LAM trouble with tru64 matthias OpenFOAM Installation 7 December 6, 2005 14:18
compile the UDF Li Jingping FLUENT 2 April 14, 2003 21:18


All times are GMT -4. The time now is 20:13.