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

OpenFOAM compilation on a linux machine

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2005, 07:42
Default Hello everybody, I am tryin
  #1
Enric Aramburu (Aramburu)
Guest
 
Posts: n/a
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/liblam.so.0: undefined reference to `pthread_cond_signal@GLIBC_2.3.2'
/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/liblam.so.0: undefined reference to `pthread_cond_broadcast@GLIBC_2.3.2'
/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/liblam.so.0: undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/liblam.so.0: undefined reference to `pthread_cond_wait@GLIBC_2.3.2'
/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/liblam.so.0: undefined reference to `pthread_cond_init@GLIBC_2.3.2'
/home/ceis/OpenFOAM/OpenFOAM-1.0/src/lam-7.1.1/platforms/linuxOpt/lib/libmpi.so.0: 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.

Enric.
  Reply With Quote

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

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,

Mattijs
  Reply With Quote

Old   January 4, 2005, 04:02
Default Hi Mattijs, You are right,
  #3
Enric Aramburu (Aramburu)
Guest
 
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.

Enric.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 09: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 19:03
Configuration for Client Machine in Linux Raymond CFX 0 July 22, 2004 04:50
Running Fluent on Linux AMD machine David Reinbold FLUENT 5 September 21, 2001 18:08


All times are GMT -4. The time now is 14:34.