← Back to team overview

dolfin team mailing list archive

Re: Linking pastix

 

On Wednesday November 16 2011 23:12:32 Garth N. Wells wrote:
> On 17 Nov 2011, at 05:30, Johan Hake <johan.hake@xxxxxxxxx> wrote:
> > 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.
> 
> Configuring PaStiX is complicated and pthreads is usually required. The
> PaStiX cake module needs to do some proper testing. It's very primitive at
> the moment.

Ok, then I suggest we disable it by default.

Johan
 
> Garth
> 
> > I am on a Natty Ubuntu.
> > 
> > Johan
> > 
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dolfin
> > Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~dolfin
> > More help   : https://help.launchpad.net/ListHelp
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References