<div dir="ltr">Hello all,<div><br></div><div>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:</div><div> </div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/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':</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">libxsmm_malloc.c:(.text.libxsmm_xget_scratch_allocator+0x111): undefined reference to `pthread_yield'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/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':</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">libxsmm_malloc.c:(.text.libxsmm_xrelease_scratch+0x101): undefined reference to `pthread_yield'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/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</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">collect2: error: ld returned 1 exit status</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">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</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[2]: *** [/home/rajorshi/cp2k-9.1/Makefile:158: all] Error 2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[1]: *** [/home/rajorshi/cp2k-9.1/Makefile:140: ssmp] Error 2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[1]: *** Waiting for unfinished jobs....</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[2]: *** [/home/rajorshi/cp2k-9.1/Makefile:158: all] Error 2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[1]: *** [/home/rajorshi/cp2k-9.1/Makefile:140: sdbg] Error 2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make: *** [Makefile:135: all] Error 2</span></p>
<div><br></div>I find that the libxsmm library was installed successfully in the previous step. <br class="gmail-Apple-interchange-newline"><div>I have attached the entire output of make and the arch file for reference. </div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font face="Arial, sans-serif"><span style="line-height:16.12px">With Regards,</span></font></div><div><font face="Arial, sans-serif">Rajorshi Chattopadhyay,</font></div><div><font face="Arial, sans-serif">PhD Researcher in Mineralogy/Crystallography,</font></div><div><font face="Arial, sans-serif"><span style="line-height:16.12px">Institut für Geologie und Mineralogie,</span></font></div><div><font face="Arial, sans-serif"><span style="line-height:16.12px">Universität zu Köln, Germany<br></span></font></div><div style="font-size:small"><br></div><div style="font-size:small"><span style="line-height:16.12px;font-size:12.8px"></span></div></div></div></div></div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/CACTJSRdV0gN_%2B%3DnwaU9tu6hjhCjtiLGigy9FjFVQUTF3Y2wQ4g%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/CACTJSRdV0gN_%2B%3DnwaU9tu6hjhCjtiLGigy9FjFVQUTF3Y2wQ4g%40mail.gmail.com</a>.<br />