vendredi 20 décembre 2019

blacs testing fails after succesful compiling with the error "libpthread.so.0 so try adding it to the linker command line"

I have compiled BLACS with mpif77 of mpich vendor. After succesful compiling, I just go on with testing. At the end of the testing process, I got the error saying that "pthread_mutexattr_settype@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line". I have tried the solutions found in stackoverflow previous sessions. Nothing works. For instance, adding LDFLAGS with -lthread does not work. I think I should link "libpthread.so.0 " library explicitly in the makefile. But mpif77/mpicc in mpich does not have any option for -pthread. Any help will be greatly appreciated.

thanks. ipek

Aucun commentaire:

Enregistrer un commentaire