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

OpenFOAM compilation on a linux machine

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

LinkBack Thread Tools Display Modes
Old   January 3, 2005, 07:42
Default Hello everybody, I am tryin
Enric Aramburu (Aramburu)
Posts: n/a
Sponsored Links
Hello everybody,

I am trying to compile OpenFOAM on a PC (linux, red hat 7.3)and I get some error messages related with some libraries, I include an example of such errors:

/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/ undefined reference to `pthread_cond_signal@GLIBC_2.3.2'
/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/ undefined reference to `pthread_cond_broadcast@GLIBC_2.3.2'
/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/ undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/ undefined reference to `pthread_cond_wait@GLIBC_2.3.2'
/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/ undefined reference to `pthread_cond_init@GLIBC_2.3.2'
/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/ undefined reference to `__register_atfork@GLIBC_2.3.2'
collect2: ld returned 1 exit status
make: *** [/home/ceis/OpenFOAM/OpenFOAM-1.0/applications/bin/linuxOpt/icoTopoFoam] Error 1


any idea that helps me to solve this will be welcome.

Thanks in advance.

  Reply With Quote
Sponsored Links

Old   January 3, 2005, 10:14
Default Hi, did you clean out the
Mattijs Janssens (Mattijs)
Posts: n/a

did you clean out the lam build? See the $FOAM_SRC/Allwmake script for how to clean/rebuild lam.

Also I've never tried to build that lam version on an older RH version. OpenFOAM uses an unmodified lam and just does something like configure --prefix=XXXX so it seems the error is in the lam configure setup. Or there are some old binary files which haven't been removed.

Hope this helps,

  Reply With Quote

Old   January 4, 2005, 04:02
Default Hi Mattijs, You are right,
Enric Aramburu (Aramburu)
Posts: n/a
Hi Mattijs,

You are right, I have erased the whole instalation, I have installed it again but without installing the precompiled version, I have recompiled it and it works perfectly.

thank you very much.

  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
fluent UDF on linux machine Min-Hua Wang Fluent UDF and Scheme Programming 6 June 29, 2013 08:41
Running icepak on a linux machine Codemaster FLUENT 0 November 20, 2008 01:50
CFX-5.7.1(Linux) Parallel - 4 CPU Machine James Date CFX 6 June 14, 2005 18:03
Configuration for Client Machine in Linux Raymond CFX 0 July 22, 2004 03:50
Running Fluent on Linux AMD machine David Reinbold FLUENT 5 September 21, 2001 17:08

Sponsored Links

All times are GMT -4. The time now is 15:32.