Zhiwei,
please try adding -lpthread to your linker options:
F77LOADFLAGS = -lpthread
CCLOADFLAGS = -lpthread
Piotr
On 7/11/2007 8:37 PM, Zhiwei Niu wrote:
hello,erverbody,
I am a ScaLapack new user. I meet a problem with BLACS install, which is
based of ScaLapack.
My computer configure:
P4 2.8G HT, 1G memory, Fedaro 7 Linux
I had installed MPICH2 in my computer and I can run MPICH2 example
without any problem. And the Lapack was installed in my computer
successfuly. Interl Fortran compiler was installed in my PC also.
I can compile the BLACS1.1 source files and got three libraries with the
command "make mpi", but I meet a problem when i test the BLACS with
command "make tester". There are lots of fowlling information showed in
screen:
/usr/mpich2/lib/libmpich.a(attr_get.o): In function `MPI_Attr_get':
attr_get.c:(.text+0x53): undefined reference to `pthread_getspecific'
attr_get.c:(.text+0x89): undefined reference to `pthread_setspecific'
attr_get.c:(.text+0x339): undefined reference to `pthread_getspecific'
attr_get.c:(.text+0x36f): undefined reference to `pthread_setspecific'
attr_get.c:(.text+0x3e9): undefined reference to `pthread_getspecific'
attr_get.c:(.text+0x41f): undefined reference to `pthread_setspecific'
/usr/mpich2/lib/libmpich.a(comm_get_attr.o): In function
`MPI_Comm_get_attr':
comm_get_attr.c:(.text+0x4c): undefined reference to `pthread_getspecific'
comm_get_attr.c:(.text+0x82): undefined reference to `pthread_setspecific'
comm_get_attr.c:(.text+0x6e8): undefined reference to `pthread_getspecific'
comm_get_attr.c:(.text+0x71e): undefined reference to `pthread_setspecific'
/usr/mpich2/lib/libmpich.a(comm_create.o): In function `MPI_Comm_create':
comm_create.c:(.text+0x64): undefined reference to `pthread_getspecific'
comm_create.c:(.text+0x9a): undefined reference to `pthread_setspecific'
comm_create.c:(.text+0x7ae): undefined reference to `pthread_getspecific'
comm_create.c:(.text+0x7e4): undefined reference to `pthread_setspecific'
/usr/mpich2/lib/libmpich.a(comm_dup.o): In function `MPI_Comm_dup':
comm_dup.c:(.text+0x4d): undefined reference to `pthread_getspecific'
comm_dup.c:(.text+0x83): undefined reference to `pthread_setspecific'
comm_dup.c:(.text+0x377): undefined reference to `pthread_getspecific'
comm_dup.c:(.text+0x3ad): undefined reference to `pthread_setspecific'
......
could you help me?
--
Mr. Niu Zhiwei
No. 1, Xikang Road, Nanjing, China
No. 280 mailbox,Hohai University
Post Code:210098
TEL: +86-25-83786281(office)
Moblie Phone:+86-13912965412
QQ:793915
SKYPE:nzwhhu
E_mail:nzwhhu@Domain.Removed <mailto:E_mail:nzwhhu@Domain.Removed>
nzwhhu@Domain.Removed
<mailto:nzwhhu@Domain.Removed>
MSN:nzwhhu@Domain.Removed <mailto:MSN:nzwhhu@Domain.Removed>
Http://nzw.hohai.net
????????????
????????????????????????????????????????????280???????? 210098
------------------------------------------------------------------------
_______________________________________________
Scalapack mailing list
Scalapack@Domain.Removed
http://lists.cs.utk.edu/listinfo/scalapack
|