/usr/bin/ld: /home/rajorshi/cp2k-9.1/tools/toolchain/install/libxsmm-1.17/lib/libxsmm.a(libxsmm_malloc.o): in function `libxsmm_xget_scratch_allocator':
libxsmm_malloc.c:(.text.libxsmm_xget_scratch_allocator+0x111): undefined reference to `pthread_yield'
/usr/bin/ld: /home/rajorshi/cp2k-9.1/tools/toolchain/install/libxsmm-1.17/lib/libxsmm.a(libxsmm_malloc.o): in function `libxsmm_xrelease_scratch':
libxsmm_malloc.c:(.text.libxsmm_xrelease_scratch+0x101): undefined reference to `pthread_yield'
/usr/bin/ld: /home/rajorshi/cp2k-9.1/tools/toolchain/install/libxsmm-1.17/lib/libxsmm.a(libxsmm_main.o):libxsmm_main.c:(.text.libxsmm_finalize+0xf1): more undefined references to `pthread_yield' follow
collect2: error: ld returned 1 exit status
make[3]: *** [/home/rajorshi/cp2k-9.1/obj/local/ssmp/all.dep:150: /home/rajorshi/cp2k-9.1/exe/local/grid_unittest.ssmp] Error 1
make[2]: *** [/home/rajorshi/cp2k-9.1/Makefile:158: all] Error 2
make[1]: *** [/home/rajorshi/cp2k-9.1/Makefile:140: ssmp] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [/home/rajorshi/cp2k-9.1/Makefile:158: all] Error 2
make[1]: *** [/home/rajorshi/cp2k-9.1/Makefile:140: sdbg] Error 2
make: *** [Makefile:135: all] Error 2
Hi
Did you try to add the linker flag “-lpthread”.
HTH
Matthias
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
cp2k+uns...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/cp2k/CACTJSRcWQSW-ZCHy2bcZ9Yg%2B57fo0tVJ8jxXwLc%2BF8u3JEjUiA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/ZRAP278MB0827DC0DCDBE58EEB5D598E9F49E9%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM.