wchao_at_ncsu_dot_edu
Date: Tue Oct 21 2008 - 12:45:07 PDT
Paul, Thanks for the patch! Yes, it's an old version of BLCR, I'll merge to newer one later. Thanks! Best regards, Chao > I regret that I can't provide much in the way of support for 0.4.x (and > a snapshot version at that!). > I would guess you must have a reason for using such an old version, but > I would encourage you to try something newer. > > If you can't move to something newer, you may find the attached patch > useful. It is an attempt to back-port the current version of the code > that issues the error message you are seeing. > > -Paul > > > wchao_at_ncsu_dot_edu wrote: >> Hi, >> >> I'm trying to run the benchmark of irs-1.4 on an x86-64 machine with the >> kernel of 2.6.16. >> >> For some reason, I used the following versions for LAM/MPI and BLCR: >> blcr-0.4.pre3_snapshot_2006_11_09 >> lam-7.2b1r10399 >> >> I successfully built irs, however, it failed to run with the following >> error: >> >> cr_pthread.c:71 cri_pthread_init: Unable to ensure pthread_atfork() will >> run. >> If you dlopen(libcr.so) or use some versions of the libraries/loaders, >> then you may need to link libpthread explicitly (or use LD_PRELOAD). >> >> Then, I tried to use -lpthread (or -Wl,-rpath-link=/usr/lib64) to fix >> this >> bug, but it still doesn't work. I read through Bug #460 at >> http://upc-bugs.lbl.gov/bugzilla/show_bug.cgi?id=460, but I couldn't >> figure out the solution. >> >> Would you please give me some suggestions? Any comments are welcome! >> Thanks a lot! >> >> Best regards, >> Chao >> > > > -- > Paul H. Hargrove PHHargrove_at_lbl_dot_gov > Future Technologies Group > HPC Research Department Tel: +1-510-495-2352 > Lawrence Berkeley National Laboratory Fax: +1-510-486-6900 > >