libc6-dev was installed by build-essential package. I was changing wrapers and added the line:<br><br>LINKFLAGS = "$(CCFLAGS) -lpthread"<br><br>but it didnt help. Im sending full log of this "section" errors and full Make.Linux_PII_CBLAS file, im building it on testing wersion of the system (it have only root account).<br>
<br>/usr/lib/libmpich.a(comm_free.o): In function `MPI_Comm_free':<br>(.text+0x2e): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(comm_free.o): In function `MPI_Comm_free':<br>(.text+0x2fe): undefined reference to `pthread_setspecific'<br>
/usr/lib/libmpich.a(comm_free.o): In function `MPI_Comm_free':<br>(.text+0x341): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(comm_free.o): In function `MPI_Comm_free':<br>(.text+0x372): undefined reference to `pthread_setspecific'<br>
/usr/lib/libmpich.a(comm_split.o): In function `MPI_Comm_split':<br>(.text+0x5b): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(comm_split.o): In function `MPI_Comm_split':<br>(.text+0x3ef): undefined reference to `pthread_setspecific'<br>
/usr/lib/libmpich.a(comm_split.o): In function `MPI_Comm_split':<br>(.text+0x5e9): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(comm_split.o): In function `MPI_Comm_split':<br>(.text+0x61a): undefined reference to `pthread_setspecific'<br>
/usr/lib/libmpich.a(comm_split.o): In function `MPI_Comm_split':<br>(.text+0x8ec): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(comm_split.o): In function `MPI_Comm_split':<br>(.text+0x920): undefined reference to `pthread_setspecific'<br>
/usr/lib/libmpich.a(commutil.o): In function `MPIR_Get_contextid':<br>(.text+0xc16): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(commutil.o): In function `MPIR_Get_contextid':<br>(.text+0xc4f): undefined reference to `pthread_setspecific'<br>
/usr/lib/libmpich.a(commutil.o): In function `MPIR_Get_intercomm_contextid':<br>(.text+0x1654): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(commutil.o): In function `MPIR_Get_intercomm_contextid':<br>
(.text+0x1685): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_vector.o): In function `MPI_Type_vector':<br>(.text+0x36): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_vector.o): In function `MPI_Type_vector':<br>
(.text+0x460): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_vector.o): In function `MPI_Type_vector':<br>(.text+0x479): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_vector.o): In function `MPI_Type_vector':<br>
(.text+0x4ac): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_struct.o): In function `MPI_Type_struct':<br>(.text+0x3b): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_struct.o): In function `MPI_Type_struct':<br>
(.text+0x50a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_struct.o): In function `MPI_Type_struct':<br>(.text+0x619): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_struct.o): In function `MPI_Type_struct':<br>
(.text+0x64c): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_free.o): In function `MPI_Type_free':<br>(.text+0x2e): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_free.o): In function `MPI_Type_free':<br>
(.text+0x374): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_free.o): In function `MPI_Type_free':<br>(.text+0x421): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_free.o): In function `MPI_Type_free':<br>
(.text+0x452): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(errutil.o): In function `MPIR_Err_return_comm':<br>(.text+0xd81): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(errutil.o): In function `MPIR_Err_return_comm':<br>
(.text+0xdb2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(errutil.o): In function `MPIR_Err_return_win':<br>(.text+0xf34): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(errutil.o): In function `MPIR_Err_return_win':<br>
(.text+0xf68): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(errutil.o): In function `MPIR_Nest_decr_export':<br>(.text+0x1019): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(errutil.o): In function `MPIR_Nest_decr_export':<br>
(.text+0x1046): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(errutil.o): In function `MPIR_Nest_incr_export':<br>(.text+0x1079): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(errutil.o): In function `MPIR_Nest_incr_export':<br>
(.text+0x10a6): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(abort.o): In function `MPI_Abort':<br>(.text+0x39): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(abort.o): In function `MPI_Abort':<br>
(.text+0x372): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(abort.o): In function `MPI_Abort':<br>(.text+0x401): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(abort.o): In function `MPI_Abort':<br>
(.text+0x432): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(init.o): In function `MPI_Init':<br>(.text+0x149): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(init.o): In function `MPI_Init':<br>
(.text+0x17a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(initthread.o): In function `MPIR_Init_thread':<br>(.text+0x309): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(initthread.o): In function `MPIR_Init_thread':<br>
(.text+0x336): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(initthread.o): In function `MPIR_Thread_CS_Finalize':<br>(.text+0x3c6): undefined reference to `pthread_key_delete'<br>/usr/lib/libmpich.a(initthread.o): In function `MPIR_Thread_CS_Finalize':<br>
(.text+0x3e1): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(initthread.o): In function `MPIR_Thread_CS_Finalize':<br>(.text+0x404): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(initthread.o): In function `MPIR_Thread_CS_Finalize':<br>
(.text+0x433): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(initthread.o): In function `MPIR_Thread_CS_Init':<br>(.text+0x456): undefined reference to `pthread_key_create'<br>/usr/lib/libmpich.a(initthread.o): In function `MPI_Init_thread':<br>
(.text+0x5b9): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(initthread.o): In function `MPI_Init_thread':<br>(.text+0x5ea): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(finalize.o): In function `MPI_Finalize':<br>
(.text+0x31): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(finalize.o): In function `MPI_Finalize':<br>(.text+0x420): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(finalize.o): In function `MPI_Finalize':<br>
(.text+0x453): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(finalize.o): In function `MPI_Finalize':<br>(.text+0x480): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(finalize.o): In function `MPI_Finalize':<br>
(.text+0x492): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(finalize.o): In function `MPI_Finalize':<br>(.text+0x4c5): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(iprobe.o): In function `MPI_Iprobe':<br>
(.text+0x2f): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(iprobe.o): In function `MPI_Iprobe':<br>(.text+0x3d9): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(iprobe.o): In function `MPI_Iprobe':<br>
(.text+0x431): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(iprobe.o): In function `MPI_Iprobe':<br>(.text+0x462): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(irecv.o): In function `MPI_Irecv':<br>
(.text+0x35): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(irecv.o): In function `MPI_Irecv':<br>(.text+0x544): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(irecv.o): In function `MPI_Irecv':<br>
(.text+0x641): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(irecv.o): In function `MPI_Irecv':<br>(.text+0x672): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(issend.o): In function `MPI_Issend':<br>
(.text+0x36): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(issend.o): In function `MPI_Issend':<br>(.text+0x544): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(issend.o): In function `MPI_Issend':<br>
(.text+0x641): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(issend.o): In function `MPI_Issend':<br>(.text+0x672): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(recv.o): In function `MPI_Recv':<br>
(.text+0x36): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(recv.o): In function `MPI_Recv':<br>(.text+0x28e): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(recv.o): In function `MPI_Recv':<br>
(.text+0x6a1): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(recv.o): In function `MPI_Recv':<br>(.text+0x6d2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(send.o): In function `MPI_Send':<br>
(.text+0x35): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(send.o): In function `MPI_Send':<br>(.text+0x57a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(send.o): In function `MPI_Send':<br>
(.text+0x679): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(send.o): In function `MPI_Send':<br>(.text+0x6aa): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(ssend.o): In function `MPI_Ssend':<br>
(.text+0x35): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(ssend.o): In function `MPI_Ssend':<br>(.text+0x57a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(ssend.o): In function `MPI_Ssend':<br>
(.text+0x679): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(ssend.o): In function `MPI_Ssend':<br>(.text+0x6aa): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(wait.o): In function `MPI_Wait':<br>
(.text+0x3d): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(wait.o): In function `MPI_Wait':<br>(.text+0x35a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(wait.o): In function `MPI_Wait':<br>
(.text+0x3d9): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(wait.o): In function `MPI_Wait':<br>(.text+0x40c): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(mpir_request.o): In function `MPIR_Request_get_error':<br>
(.text+0x949): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(mpir_request.o): In function `MPIR_Request_get_error':<br>(.text+0x97a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(mpir_request.o): In function `MPIR_Request_complete':<br>
(.text+0xd61): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(mpir_request.o): In function `MPIR_Request_complete':<br>(.text+0xd95): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(mpir_request.o): In function `MPIR_Request_complete':<br>
(.text+0xf04): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(mpir_request.o): In function `MPIR_Request_complete':<br>(.text+0xf38): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(mpid_type_debug.o): In function `MPIDI_Datatype_printf':<br>
(.text+0x939): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(mpid_type_debug.o): In function `MPIDI_Datatype_printf':<br>(.text+0x966): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(ch3u_handle_recv_req.o): In function `MPIDI_CH3_ReqHandler_AccumRespDerivedDTComplete':<br>
(.text+0x1591): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(ch3u_handle_recv_req.o): In function `MPIDI_CH3_ReqHandler_AccumRespDerivedDTComplete':<br>(.text+0x15c2): undefined reference to `pthread_setspecific'<br>
/usr/lib/libmpich.a(ch3u_handle_recv_req.o): In function `MPIDI_CH3_ReqHandler_PutAccumRespComplete':<br>(.text+0x1cb9): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(ch3u_handle_recv_req.o): In function `MPIDI_CH3_ReqHandler_PutAccumRespComplete':<br>
(.text+0x1cea): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(ch3u_rma_sync.o): In function `MPIDI_Win_post':<br>(.text+0x23a1): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(ch3u_rma_sync.o): In function `MPIDI_Win_post':<br>
(.text+0x23d4): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(ch3u_rma_sync.o): In function `MPIDI_Win_complete':<br>(.text+0x5c31): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(ch3u_rma_sync.o): In function `MPIDI_Win_complete':<br>
(.text+0x5c64): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(ch3u_rma_sync.o): In function `MPIDI_Win_fence':<br>(.text+0x69b1): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(ch3u_rma_sync.o): In function `MPIDI_Win_fence':<br>
(.text+0x69e4): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(ch3u_rma_sync.o): In function `MPIDI_CH3_PktHandler_Accumulate':<br>(.text+0x7581): undefined reference to `pthread_getspecific'<br>
/usr/lib/libmpich.a(ch3u_rma_sync.o): In function `MPIDI_CH3_PktHandler_Accumulate':<br>(.text+0x75b2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(mpid_finalize.o): In function `MPID_Finalize':<br>
(.text+0x181): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(mpid_finalize.o): In function `MPID_Finalize':<br>(.text+0x1b2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(allreduce.o): In function `MPIR_Allreduce_inter':<br>
(.text+0x239): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(allreduce.o): In function `MPIR_Allreduce_inter':<br>(.text+0x26a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(allreduce.o): In function `MPIR_Allreduce':<br>
(.text+0x62f): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(allreduce.o): In function `MPIR_Allreduce':<br>(.text+0x668): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(allreduce.o): In function `MPI_Allreduce':<br>
(.text+0x10ff): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(allreduce.o): In function `MPI_Allreduce':<br>(.text+0x16a2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(allreduce.o): In function `MPI_Allreduce':<br>
(.text+0x17cc): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(allreduce.o): In function `MPI_Allreduce':<br>(.text+0x1800): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(allreduce.o): In function `MPI_Allreduce':<br>
(.text+0x1ec8): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(allreduce.o): In function `MPI_Allreduce':<br>(.text+0x1ef9): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(barrier.o): In function `MPI_Barrier':<br>
(.text+0x3ef): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(barrier.o): In function `MPI_Barrier':<br>(.text+0x664): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(barrier.o): In function `MPI_Barrier':<br>
(.text+0x739): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(barrier.o): In function `MPI_Barrier':<br>(.text+0x76a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(barrier.o): In function `MPI_Barrier':<br>
(.text+0x812): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(barrier.o): In function `MPI_Barrier':<br>(.text+0x846): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(op_create.o): In function `MPI_Op_create':<br>
(.text+0x37): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(op_create.o): In function `MPI_Op_create':<br>(.text+0x195): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(op_create.o): In function `MPI_Op_create':<br>
(.text+0x1a9): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(op_create.o): In function `MPI_Op_create':<br>(.text+0x1da): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(bcast.o): In function `MPIR_Bcast':<br>
(.text+0x1501): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(bcast.o): In function `MPIR_Bcast':<br>(.text+0x1532): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(bcast.o): In function `MPI_Bcast':<br>
(.text+0x202f): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(bcast.o): In function `MPI_Bcast':<br>(.text+0x247b): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(bcast.o): In function `MPI_Bcast':<br>
(.text+0x25d9): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(bcast.o): In function `MPI_Bcast':<br>(.text+0x260a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPIR_Reduce':<br>
(.text+0x419): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPIR_Reduce':<br>(.text+0x44c): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPIR_Reduce':<br>
(.text+0xe2f): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPIR_Reduce':<br>(.text+0xe68): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPIR_Reduce':<br>
(.text+0x1185): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPIR_Reduce':<br>(.text+0x11be): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPIR_Reduce_inter':<br>
(.text+0x1859): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPIR_Reduce_inter':<br>(.text+0x188a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPI_Reduce':<br>
(.text+0x1b76): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPI_Reduce':<br>(.text+0x210f): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPI_Reduce':<br>
(.text+0x2249): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPI_Reduce':<br>(.text+0x227a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPI_Reduce':<br>
(.text+0x3284): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(reduce.o): In function `MPI_Reduce':<br>(.text+0x32b5): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(allgather.o): In function `MPI_Allgather':<br>
(.text+0xfef): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(allgather.o): In function `MPI_Allgather':<br>(.text+0x15ad): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(allgather.o): In function `MPI_Allgather':<br>
(.text+0x1701): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(allgather.o): In function `MPI_Allgather':<br>(.text+0x1732): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(allgather.o): In function `MPI_Allgather':<br>
(.text+0x1c00): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(allgather.o): In function `MPI_Allgather':<br>(.text+0x1c31): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(red_scat.o): In function `MPIR_Reduce_scatter':<br>
(.text+0xb81): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(red_scat.o): In function `MPIR_Reduce_scatter':<br>(.text+0xbba): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(red_scat.o): In function `MPI_Reduce_scatter':<br>
(.text+0x2b6b): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(red_scat.o): In function `MPI_Reduce_scatter':<br>(.text+0x2e66): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(red_scat.o): In function `MPI_Reduce_scatter':<br>
(.text+0x32a1): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(red_scat.o): In function `MPI_Reduce_scatter':<br>(.text+0x32d2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(red_scat.o): In function `MPI_Reduce_scatter':<br>
(.text+0x3740): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(red_scat.o): In function `MPI_Reduce_scatter':<br>(.text+0x3774): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(helper_fns.o): In function `MPIR_Localcopy':<br>
(.text+0x441): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(helper_fns.o): In function `MPIR_Localcopy':<br>(.text+0x472): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(helper_fns.o): In function `MPIC_Sendrecv_replace':<br>
(.text+0x1049): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(helper_fns.o): In function `MPIC_Sendrecv_replace':<br>(.text+0x107a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(opsum.o): In function `MPIR_SUM':<br>
(.text+0xdbb): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(opsum.o): In function `MPIR_SUM':<br>(.text+0xdec): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(opmax.o): In function `MPIR_MAXF':<br>
(.text+0xc24): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(opmax.o): In function `MPIR_MAXF':<br>(.text+0xc55): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(opmin.o): In function `MPIR_MINF':<br>
(.text+0xc24): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(opmin.o): In function `MPIR_MINF':<br>(.text+0xc55): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(opband.o): In function `MPIR_BAND':<br>
(.text+0x87b): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(opband.o): In function `MPIR_BAND':<br>(.text+0x8ac): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(opbor.o): In function `MPIR_BOR':<br>
(.text+0x87b): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(opbor.o): In function `MPIR_BOR':<br>(.text+0x8ac): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(opbxor.o): In function `MPIR_BXOR':<br>
(.text+0x87b): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(opbxor.o): In function `MPIR_BXOR':<br>(.text+0x8ac): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(opland.o): In function `MPIR_LAND':<br>
(.text+0xe0f): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(opland.o): In function `MPIR_LAND':<br>(.text+0xe40): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(oplor.o): In function `MPIR_LOR':<br>
(.text+0xe7a): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(oplor.o): In function `MPIR_LOR':<br>(.text+0xeab): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(oplxor.o): In function `MPIR_LXOR':<br>
(.text+0xfe1): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(oplxor.o): In function `MPIR_LXOR':<br>(.text+0x1012): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(opprod.o): In function `MPIR_PROD':<br>
(.text+0x1098): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(opprod.o): In function `MPIR_PROD':<br>(.text+0x10c9): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(opminloc.o): In function `MPIR_MINLOC':<br>
(.text+0x471): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(opminloc.o): In function `MPIR_MINLOC':<br>(.text+0x4a2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(opmaxloc.o): In function `MPIR_MAXLOC':<br>
(.text+0x471): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(opmaxloc.o): In function `MPIR_MAXLOC':<br>(.text+0x4a2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(comm_group.o): In function `MPI_Comm_group':<br>
(.text+0x2e): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(comm_group.o): In function `MPI_Comm_group':<br>(.text+0x2e3): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(comm_group.o): In function `MPI_Comm_group':<br>
(.text+0x371): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(comm_group.o): In function `MPI_Comm_group':<br>(.text+0x3a2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_indexed.o): In function `MPI_Type_indexed':<br>
(.text+0x3d): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_indexed.o): In function `MPI_Type_indexed':<br>(.text+0x58b): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_indexed.o): In function `MPI_Type_indexed':<br>
(.text+0x64c): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_indexed.o): In function `MPI_Type_indexed':<br>(.text+0x682): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(group_free.o): In function `MPI_Group_free':<br>
(.text+0x2f): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(group_free.o): In function `MPI_Group_free':<br>(.text+0x2fe): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(group_free.o): In function `MPI_Group_free':<br>
(.text+0x311): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(group_free.o): In function `MPI_Group_free':<br>(.text+0x342): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(group_translate_ranks.o): In function `MPI_Group_translate_ranks':<br>
(.text+0x2e): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(group_translate_ranks.o): In function `MPI_Group_translate_ranks':<br>(.text+0x3f0): undefined reference to `pthread_setspecific'<br>
/usr/lib/libmpich.a(group_translate_ranks.o): In function `MPI_Group_translate_ranks':<br>(.text+0x449): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(group_translate_ranks.o): In function `MPI_Group_translate_ranks':<br>
(.text+0x47a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(ch3u_comm_spawn_multiple.o): In function `MPIDI_Comm_spawn_multiple':<br>(.text+0x371): undefined reference to `pthread_getspecific'<br>
/usr/lib/libmpich.a(ch3u_comm_spawn_multiple.o): In function `MPIDI_Comm_spawn_multiple':<br>(.text+0x3aa): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(gather.o): In function `MPI_Gather':<br>
(.text+0xf1e): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(gather.o): In function `MPI_Gather':<br>(.text+0x1402): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(gather.o): In function `MPI_Gather':<br>
(.text+0x1501): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(gather.o): In function `MPI_Gather':<br>(.text+0x1532): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(gather.o): In function `MPI_Gather':<br>
(.text+0x2083): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(gather.o): In function `MPI_Gather':<br>(.text+0x20b7): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(scatterv.o): In function `MPI_Scatterv':<br>
(.text+0x42f): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(scatterv.o): In function `MPI_Scatterv':<br>(.text+0x92b): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(scatterv.o): In function `MPI_Scatterv':<br>
(.text+0xa21): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(scatterv.o): In function `MPI_Scatterv':<br>(.text+0xa52): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(scatterv.o): In function `MPI_Scatterv':<br>
(.text+0x1551): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(scatterv.o): In function `MPI_Scatterv':<br>(.text+0x1582): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_contiguous.o): In function `MPI_Type_contiguous':<br>
(.text+0x2f): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_contiguous.o): In function `MPI_Type_contiguous':<br>(.text+0x3f2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_contiguous.o): In function `MPI_Type_contiguous':<br>
(.text+0x409): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_contiguous.o): In function `MPI_Type_contiguous':<br>(.text+0x43a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_hvector.o): In function `MPI_Type_hvector':<br>
(.text+0x37): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_hvector.o): In function `MPI_Type_hvector':<br>(.text+0x4d3): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_hvector.o): In function `MPI_Type_hvector':<br>
(.text+0x4e9): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_hvector.o): In function `MPI_Type_hvector':<br>(.text+0x51c): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(type_create_struct.o): In function `MPI_Type_create_struct':<br>
(.text+0x3b): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_create_struct.o): In function `MPI_Type_create_struct':<br>(.text+0x5e9): undefined reference to `pthread_setspecific'<br>
/usr/lib/libmpich.a(type_create_struct.o): In function `MPI_Type_create_struct':<br>(.text+0x659): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(type_create_struct.o): In function `MPI_Type_create_struct':<br>
(.text+0x68c): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(waitall.o): In function `MPI_Waitall':<br>(.text+0x49): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(waitall.o): In function `MPI_Waitall':<br>
(.text+0x521): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(waitall.o): In function `MPI_Waitall':<br>(.text+0x5c9): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(waitall.o): In function `MPI_Waitall':<br>
(.text+0x5fc): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(info_get.o): In function `MPI_Info_get':<br>(.text+0x2e): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(info_get.o): In function `MPI_Info_get':<br>
(.text+0x378): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(info_get.o): In function `MPI_Info_get':<br>(.text+0x391): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(info_get.o): In function `MPI_Info_get':<br>
(.text+0x3c2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(info_getn.o): In function `MPI_Info_get_nkeys':<br>(.text+0x2e): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(info_getn.o): In function `MPI_Info_get_nkeys':<br>
(.text+0x2af): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(info_getn.o): In function `MPI_Info_get_nkeys':<br>(.text+0x2c1): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(info_getn.o): In function `MPI_Info_get_nkeys':<br>
(.text+0x2f2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(info_getnth.o): In function `MPI_Info_get_nthkey':<br>(.text+0x32): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(info_getnth.o): In function `MPI_Info_get_nthkey':<br>
(.text+0x2e2): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(info_getnth.o): In function `MPI_Info_get_nthkey':<br>(.text+0x2f9): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(info_getnth.o): In function `MPI_Info_get_nthkey':<br>
(.text+0x32a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>(.text+0x2e): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>
(.text+0x368): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>(.text+0x381): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>
(.text+0x3b2): undefined reference to `pthread_setspecific'<br>collect2: ld returned 1 exit status<br>make[2]: *** [dexe.grd] Bł±d 1<br>make[1]: *** [build_tst] Bł±d 2<br>make: *** [build] Bł±d 2<br><br><br>Make.Linux_PII_CBLAS<br>
<br><br># <br># -- High Performance Computing Linpack Benchmark (HPL) <br># HPL - 2.0 - September 10, 2008 <br># Antoine P. Petitet <br>
# University of Tennessee, Knoxville <br># Innovative Computing Laboratory <br># (C) Copyright 2000-2008 All Rights Reserved <br>
# <br># -- Copyright notice and Licensing terms: <br># <br>
# Redistribution and use in source and binary forms, with or without<br># modification, are permitted provided that the following conditions<br># are met: <br>
# <br># 1. Redistributions of source code must retain the above copyright<br># notice, this list of conditions and the following disclaimer. <br>
# <br># 2. Redistributions in binary form must reproduce the above copyright<br># notice, this list of conditions, and the following disclaimer in the<br>
# documentation and/or other materials provided with the distribution. <br># <br># 3. All advertising materials mentioning features or use of this<br>
# software must display the following acknowledgement: <br># This product includes software developed at the University of<br># Tennessee, Knoxville, Innovative Computing Laboratory. <br>
# <br># 4. The name of the University, the name of the Laboratory, or the<br># names of its contributors may not be used to endorse or promote<br>
# products derived from this software without specific written<br># permission. <br># <br>
# -- Disclaimer: <br># <br># THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS<br>
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<br># LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR<br># A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY<br>
# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,<br># SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT<br># LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,<br>
# DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY<br># THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT<br># (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE<br>
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <br># ######################################################################<br># <br># ----------------------------------------------------------------------<br>
# - shell --------------------------------------------------------------<br># ----------------------------------------------------------------------<br>#<br>SHELL = /bin/sh<br>#<br>CD = cd<br>CP = cp<br>
LN_S = ln -s<br>MKDIR = mkdir<br>RM = /bin/rm -f<br>TOUCH = touch<br>#<br># ----------------------------------------------------------------------<br># - Platform identifier ------------------------------------------------<br>
# ----------------------------------------------------------------------<br>#<br>ARCH = Linux_PII_CBLAS<br>#<br># ----------------------------------------------------------------------<br># - HPL Directory Structure / HPL library ------------------------------<br>
# ----------------------------------------------------------------------<br>#<br>TOPdir = /root/hpl<br>INCdir = $(TOPdir)/include<br>BINdir = $(TOPdir)/bin/$(ARCH)<br>LIBdir = $(TOPdir)/lib/$(ARCH)<br>
#<br>HPLlib = $(LIBdir)/libhpl.a <br>#<br># ----------------------------------------------------------------------<br># - Message Passing library (MPI) --------------------------------------<br># ----------------------------------------------------------------------<br>
# MPinc tells the C compiler where to find the Message Passing library<br># header files, MPlib is defined to be the name of the library to be<br># used. The variable MPdir is only used for defining MPinc and MPlib.<br>
#<br>MPdir = /usr/lib<br>MPinc = -I/usr/include/mpich2<br>MPlib = /usr/lib/libmpich.a<br>#<br># ----------------------------------------------------------------------<br># - Linear Algebra library (BLAS or VSIPL) -----------------------------<br>
# ----------------------------------------------------------------------<br># LAinc tells the C compiler where to find the Linear Algebra library<br># header files, LAlib is defined to be the name of the library to be<br>
# used. The variable LAdir is only used for defining LAinc and LAlib.<br>#<br>#LAdir = /root/hpl/netlib/ARCHIVES/Linux_PII<br>LAinc =<br>LAlib = /usr/lib/libcblas.a /usr/lib/libatlas.a<br>#<br># ----------------------------------------------------------------------<br>
# - F77 / C interface --------------------------------------------------<br># ----------------------------------------------------------------------<br># You can skip this section if and only if you are not planning to use<br>
# a BLAS library featuring a Fortran 77 interface. Otherwise, it is<br># necessary to fill out the F2CDEFS variable with the appropriate<br># options. **One and only one** option should be chosen in **each** of<br>
# the 3 following categories:<br>#<br># 1) name space (How C calls a Fortran 77 routine)<br>#<br># -DAdd_ : all lower case and a suffixed underscore (Suns,<br># Intel, ...), [default]<br>
# -DNoChange : all lower case (IBM RS6000),<br># -DUpCase : all upper case (Cray),<br># -DAdd__ : the FORTRAN compiler in use is f2c.<br>#<br># 2) C and Fortran 77 integer mapping<br>#<br># -DF77_INTEGER=int : Fortran 77 INTEGER is a C int, [default]<br>
# -DF77_INTEGER=long : Fortran 77 INTEGER is a C long,<br># -DF77_INTEGER=short : Fortran 77 INTEGER is a C short.<br>#<br># 3) Fortran 77 string handling<br>#<br># -DStringSunStyle : The string address is passed at the string loca-<br>
# tion on the stack, and the string length is then<br># passed as an F77_INTEGER after all explicit<br># stack arguments, [default]<br>
# -DStringStructPtr : The address of a structure is passed by a<br># Fortran 77 string, and the structure is of the<br># form: struct {char *cp; F77_INTEGER len;},<br>
# -DStringStructVal : A structure is passed by value for each Fortran<br># 77 string, and the structure is of the form:<br># struct {char *cp; F77_INTEGER len;},<br># -DStringCrayStyle : Special option for Cray machines, which uses<br>
# Cray fcd (fortran character descriptor) for<br># interoperation.<br>#<br>F2CDEFS =<br>#<br># ----------------------------------------------------------------------<br>
# - HPL includes / libraries / specifics -------------------------------<br># ----------------------------------------------------------------------<br>#<br>HPL_INCLUDES = -I$(INCdir) -I$(INCdir)/$(ARCH) $(LAinc) $(MPinc)<br>
HPL_LIBS = $(HPLlib) $(LAlib) $(MPlib)<br>#<br># - Compile time options -----------------------------------------------<br>#<br># -DHPL_COPY_L force the copy of the panel L before bcast;<br># -DHPL_CALL_CBLAS call the cblas interface;<br>
# -DHPL_CALL_VSIPL call the vsip library;<br># -DHPL_DETAILED_TIMING enable detailed timers;<br>#<br># By default HPL will:<br># *) not copy L before broadcast,<br># *) call the BLAS Fortran 77 interface,<br>
# *) not display detailed timing information.<br>#<br>HPL_OPTS = -DHPL_CALL_CBLAS<br>#<br># ----------------------------------------------------------------------<br>#<br>HPL_DEFS = $(F2CDEFS) $(HPL_OPTS) $(HPL_INCLUDES)<br>
#<br># ----------------------------------------------------------------------<br># - Compilers / linkers - Optimization flags ---------------------------<br># ----------------------------------------------------------------------<br>
#<br>#CC = /usr/bin/gcc<br>CC = /usr/bin/mpicc<br>CCNOOPT = $(HPL_DEFS)<br>CCFLAGS = $(HPL_DEFS) -fomit-frame-pointer -O3 -funroll-loops<br>#<br># On some platforms, it is necessary to use the Fortran linker to find<br>
# the Fortran internals used in the BLAS library.<br>#<br>LINKER = /usr/bin/mpif90<br>LINKFLAGS = "$(CCFLAGS) -lpthread"<br>#<br>ARCHIVER = ar<br>ARFLAGS = r<br>RANLIB = echo<br>#<br># ----------------------------------------------------------------------<br>
<br><br>i hope this will give you more information. After the last try ive left mpicc and mpiff90 progs.<br>Gregory<br><br><div class="gmail_quote">2010/7/28 Dave Goodell <span dir="ltr"><<a href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It looks more like a linking problem to me. Make sure you are using the mpicc/mpicxx/mpif77/mpif90 wrappers to compile your program, they should include a "-lpthread" on the link line. If that's not working, try inserting "-lpthread" manually on the link line.<br>
<font color="#888888"><br>
-Dave<br>
</font><div><div></div><div class="h5"><br>
On Jul 28, 2010, at 12:46 PM CDT, Ivan Pulido wrote:<br>
<br>
><br>
><br>
> On Wed, Jul 28, 2010 at 12:19 PM, Grzegorz Dwornicki <<a href="mailto:gd1100@gmail.com">gd1100@gmail.com</a>> wrote:<br>
> Ive reinstaled the distribution to clean debian squeeze. Now when im compiling im getting:<br>
><br>
> /usr/lib/libmpich.a(info_getnth.o): In function `MPI_Info_get_nthkey':<br>
> (.text+0x2f9): undefined reference to `pthread_getspecific'<br>
> /usr/lib/libmpich.a(info_getnth.o): In function `MPI_Info_get_nthkey':<br>
> (.text+0x32a): undefined reference to `pthread_setspecific'<br>
> /usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>
> (.text+0x2e): undefined reference to `pthread_getspecific'<br>
> /usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>
> (.text+0x368): undefined reference to `pthread_setspecific'<br>
> /usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>
> (.text+0x381): undefined reference to `pthread_getspecific'<br>
> /usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>
> (.text+0x3b2): undefined reference to `pthread_setspecific'<br>
><br>
><br>
> Ive made a symlink from /usr/bin/gfortran to /ust/bin/g77. It worked before but not it doesn work. Any ideas? This errors are slim part of full output but they are are nearly the same (same kind but diferent sections). I have only 1 idea but it might blow everything up. The idea is to try using gfortran from lenny. But it wil require to change a lot of libs and some programs including gcc it self.<br>
><br>
><br>
> Not sure if this is the problem, forgive me if it isn't. But those pthread functions are declared in pthread.h (make sure you have it, usually it's in /usr/include/pthread.h). On Debian you should accomplish this by installing "libc6-dev" package. Hope this helps.<br>
><br>
> Gregory<br>
><br>
> 2010/7/21 Grzegorz Dwornicki <<a href="mailto:gd1100@gmail.com">gd1100@gmail.com</a>><br>
> yea ive typed apt-get remove mpich-bin. And then ive used "make clean" and "make arch=Linux_PII_CBLAS". Hmm i can doo even more - If some liblaries are messing things up I will reinstall distribution to be sure. I'll update this topic on monday :)<br>
><br>
> Gregory.<br>
><br>
> 2010/7/21 Pavan Balaji <<a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>><br>
><br>
><br>
> > [0] Aborting program !<br>
> > [0] Aborting program!<br>
> > p0_3435: p4_error: : 9039<br>
><br>
> Well, P4 is used in MPICH-1, not MPICH-2. So, you cannot get the same error if you are not using MPICH-1 :-).<br>
><br>
> Did you recompile with MPICH2?<br>
><br>
> -- Pavan<br>
><br>
><br>
> On 07/21/2010 11:16 AM, Grzegorz Dwornicki wrote:<br>
> Ive remove mpich-bin package and recompiled the hpl linpack. But im geting the same error :(<br>
><br>
> 2010/7/19 Grzegorz Dwornicki <<a href="mailto:gd1100@gmail.com">gd1100@gmail.com</a> <mailto:<a href="mailto:gd1100@gmail.com">gd1100@gmail.com</a>>><br>
><br>
><br>
> Thx you both for such fast reply. Ill try your advices on wednesday<br>
> and report results.<br>
> Gregory.<br>
><br>
> 2010/7/19 Dave Goodell <<a href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a><br>
> <mailto:<a href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>>><br>
><br>
><br>
> On Jul 19, 2010, at 11:51 AM CDT, Grzegorz Dwornicki wrote:<br>
><br>
> > If im writing double message on list pls let me know.<br>
> ><br>
> > Im writing a graduating paper on my university about MPICH<br>
> and im having some trouble launching programs. For example I<br>
> need to run perfomance tests on cluster, to determine it max.<br>
> potencial. To do this Im using hpl linpack from<br>
> <a href="http://www.netlib.org/benchmark/hpl/" target="_blank">http://www.netlib.org/benchmark/hpl/</a>. Compilation goes without<br>
> any errors but when I type f.e:<br>
> ><br>
> > mpirun -np 4 ./xhpl<br>
> ><br>
> > Im getting output like this:<br>
> > 0 - <NO ERROR MESSAGE> : Could not convert index 1140850688<br>
> into a pointer<br>
> > The index may be an incorrect argument.<br>
><br>
> You have somehow mixed MPICH2's mpi.h or mpif.h headers with<br>
> the library from MPICH:<br>
><br>
> % perl -e 'printf("%#x\n",1140850688);'<br>
> 0x44000000<br>
> % grep 0x44000000 mpi.h<br>
> #define MPI_COMM_WORLD ((MPI_Comm)0x44000000)<br>
><br>
> As Pavan suggested, uninstall MPICH and make sure that MPICH2 is<br>
> fully installed. Also, make sure that you recompile your<br>
> application once the MPICH installation is removed. Make sure<br>
> to use the compiler wrappers provided by MPICH2 (mpicc, mpif90,<br>
> etc) when building your application.<br>
><br>
> -Dave<br>
><br>
> _______________________________________________<br>
> mpich-discuss mailing list<br>
> <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a> <mailto:<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>><br>
><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
><br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
><br>
> _______________________________________________<br>
> mpich-discuss mailing list<br>
> <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
><br>
> --<br>
> Pavan Balaji<br>
> <a href="http://www.mcs.anl.gov/%7Ebalaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
> _______________________________________________<br>
> mpich-discuss mailing list<br>
> <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> mpich-discuss mailing list<br>
> <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Ivan Pulido<br>
> Estudiante de Física<br>
> Universidad Nacional de Colombia<br>
> _______________________________________________<br>
> mpich-discuss mailing list<br>
> <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</div></div></blockquote></div><br>