issue with cr_pthread.c:71 cri_pthread_init: Unable to ensure pthread_atfork() will run.

wchao_at_ncsu_dot_edu
Date: Tue Oct 21 2008 - 09:43:13 PDT

  • Next message: Paul H. Hargrove: "Re: issue with cr_pthread.c:71 cri_pthread_init: Unable to ensure pthread_atfork() will run."
    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
    

  • Next message: Paul H. Hargrove: "Re: issue with cr_pthread.c:71 cri_pthread_init: Unable to ensure pthread_atfork() will run."