pthread problem

View: New views
3 Messages — Rating Filter:   Alert me  

pthread problem

by Mathew Yeates :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Linking to  libpthread is causing problems.
gcc -DL2SIZE=4194304 -I/home/myeates/ATLAS/fullerene/include
-I/home/myeates/ATLAS/fullerene/..//include
-I/home/myeates/ATLAS/fullerene/..//include/contrib -DAdd_
-DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Core2
-DATL_CPUMHZ=2992 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS
-DATL_GAS_x8664  -DATL_NCPU=8 -fomit-frame-pointer -mfpmath=sse -msse3
-O2 -m64 -o xdtfindCE dtfindCE.o                    
/home/myeates/ATLAS/fullerene/src/threads/blas/level3/ATL_dtgemm_CE.o                    
/home/myeates/ATLAS/fullerene/src/blas/gemm/ATL_dFindCE_mm.o
/home/myeates/ATLAS/fullerene/lib/libatlas.a -lpthread -lm
/home/myeates/ATLAS/fullerene/lib/libatlas.a(ATL_thread_start.o)(.text+0x79):
In function `ATL_thread_start':
: undefined reference to `pthread_attr_setaffinity_np'
collect2: ld returned 1 exit status


this function, pthread_attr_setaffinity_np, doesn't even seem to exist
in my libpthread


Mathew

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Math-atlas-devel mailing list
Math-atlas-devel@...
https://lists.sourceforge.net/lists/listinfo/math-atlas-devel

Re: pthread problem

by Dmitri A. Sergatskov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jan 15, 2009 at 12:27 PM, Mathew Yeates <myeates@...> wrote:

>
> this function, pthread_attr_setaffinity_np, doesn't even seem to exist
> in my libpthread
>

It is in glibc from version 2.3.4 on...

>
> Mathew
>

Dmitri.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Math-atlas-devel mailing list
Math-atlas-devel@...
https://lists.sourceforge.net/lists/listinfo/math-atlas-devel

Re: pthread problem

by Clint Whaley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Post this kind of question to the support tracker.

**************************************************************************
** R. Clint Whaley, PhD ** Assist Prof, UTSA ** www.cs.utsa.edu/~whaley **
**************************************************************************

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Math-atlas-devel mailing list
Math-atlas-devel@...
https://lists.sourceforge.net/lists/listinfo/math-atlas-devel