[CP2K-user] [CP2K:18667] Re: Error in compiling Cp2k with PLUMED
Rajorshi Chattopadhyay
rajorshichat at gmail.com
Fri Apr 14 23:06:43 UTC 2023
Hello all,
To provide some more information, I am trying to compile cp2k.ssmp and
cp2k.sdbg with PLUMED. I have configured PLUMED with the disabled mpi
option.
On Fri, 14 Apr 2023 at 19:22, Rajorshi Chattopadhyay <rajorshichat at gmail.com>
wrote:
> Hello all,
>
> I am trying to compile CP2k-9.1 with PLUMED 2.8.2. I could install PLUMED
> separately, but when I try to compile CP2k with PLUMED, I get the following
> error:
>
>
> /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
>
> I find that the libxsmm library was installed successfully in the previous
> step.
> I have attached the entire output of make and the arch file for reference.
> --
> With Regards,
> Rajorshi Chattopadhyay,
> PhD Researcher in Mineralogy/Crystallography,
> Institut für Geologie und Mineralogie,
> Universität zu Köln, Germany
>
>
--
With Regards,
Rajorshi Chattopadhyay,
PhD Researcher in Mineralogy/Crystallography,
Institut für Geologie und Mineralogie,
Universität zu Köln, Germany
--
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+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/CACTJSRcWQSW-ZCHy2bcZ9Yg%2B57fo0tVJ8jxXwLc%2BF8u3JEjUiA%40mail.gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230415/aa3f046e/attachment.htm>
More information about the CP2K-user
mailing list