|July 1, 2013, 11:18||
OF library installation : undefined reference to `pthread_create'
Join Date: Aug 2012
Posts: 27Rep Power: 6
Its me again ...
So i am trying to install a OF new solver that requires BLAS. I have not noticed anything wrong in the BLAS installation. ( i have installed putting CC=mpicc and FC=mpif77 and forcing multithreat USE_THREAD = 1 )
but when i compile the OF application i have this error?
blas_server.c.text+0x50a): undefined reference to `pthread_create'
Note that OF is already installed.
Where do you think is the mistake in the BLAS installation or in the OF options?
Thank you a lot
P.S. installation is on a normal desktop running Ubuntu 12.04
|July 1, 2013, 17:47||
Join Date: Mar 2009
Location: Lisbon, Portugal
Blog Entries: 39Rep Power: 103
The error message is indicating that the file "blas_server.c" that is already compiled, needs a function named "pthread_create", for the application to be fully linked to all of the libraries it needs.
In other words, it's telling you that you need to indicate in which library is the function "pthread_create". Something like:
|Thread||Thread Starter||Forum||Replies||Last Post|
|Second Derivative Zero - Boundary Condition||fu-ki-pa||OpenFOAM||10||May 1, 2014 16:26|
|OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64||Attesz||OpenFOAM Installation||45||January 13, 2012 13:38|
|Error with Wmake||skabilan||OpenFOAM Installation||3||July 28, 2009 00:35|
|OpenFOAM on MinGW crosscompiler hosted on Linux||allenzhao||OpenFOAM Installation||127||January 30, 2009 20:08|
|G95 + CGNS||Bruno||Main CFD Forum||1||January 30, 2007 01:34|