← Back to team overview

dolfin team mailing list archive

Linking pastix

 

Hello!

I have problems with the CMake configure script trying to find pastix. It 
fails with the following:

/usr/lib/ccache/gcc     -DCHECK_FUNCTION_EXISTS=pthread_create  -fopenmp    
CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o  -o cmTryCompileExec -
rdynamic -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
gmake[1]: *** [cmTryCompileExec] Error 1
gmake[1]: Leaving directory `/home/hake/bzr/fenics/dolfin/dolfin-
gpu/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2

Does anyone know why pthreads get added to the the linking? If I remove 
-lpthreads from the linkning it passes just fine.

I am on a Natty Ubuntu.

Johan


Follow ups