<div dir="ltr">Hi,<div><br></div><div>I think it is a small bug that we (in this case, I) introduced in the upgrade to plumed 2.2. I will fix it asap in the plumed repository. Meanwhile:</div><div><br></div><div>open <span style="font-size:12.8px">/home/tarak/software/plumed-2/</span><span style="font-size:12.8px">lib/plumed/src/lib/Plumed.inc</span></div><div><br></div><div>look for a line that looks like:<br></div><div>PLUMED_STATIC_LOAD= ... list of objects ... ... list of options ...</div><div><br></div><div>then edit the variable PLUMED_STATIC_DEPENDENCIES so that it is equal to the same list of objects.</div><div><br></div><div>In my case:</div><div><br></div><div>*** before correction:</div><div><div>PLUMED_RUNTIME_LOAD= "/Users/bussi/test-install-plumed/lib/plumed/obj/Plumed.o" -ldl</div><div>PLUMED_STATIC_LOAD= "/Users/bussi/test-install-plumed/lib/plumed/obj/kernel.o" "/Users/bussi/test-install-plumed/lib/plumed/obj/PlumedStatic.o" -ldl -lstdc++ -lxdrfile -lgsl -lgslcblas -lz -lmatheval -ldl -lmolfile_plugin -llapack -lblas</div><div>PLUMED_SHARED_LOAD= "/Users/bussi/test-install-plumed/lib/libplumed.dylib" -ldl</div><div>PLUMED_RUNTIME_DEPENDENCIES=</div><div>PLUMED_STATIC_DEPENDENCIES= "/Users/bussi/test-install-plumed/lib/plumed/obj/PlumedStatic.o"</div><div>PLUMED_SHARED_DEPENDENCIES= "/Users/bussi/test-install-plumed/lib/libplumed.dylib"</div></div><div>*** after correction:</div><div><div>PLUMED_RUNTIME_LOAD= "/Users/bussi/test-install-plumed/lib/plumed/obj/Plumed.o" -ldl</div><div>PLUMED_STATIC_LOAD= "/Users/bussi/test-install-plumed/lib/plumed/obj/kernel.o" "/Users/bussi/test-install-plumed/lib/plumed/obj/PlumedStatic.o" -ldl -lstdc++ -lxdrfile -lgsl -lgslcblas -lz -lmatheval -ldl -lmolfile_plugin -llapack -lblas</div><div>PLUMED_SHARED_LOAD= "/Users/bussi/test-install-plumed/lib/libplumed.dylib" -ldl</div><div>PLUMED_RUNTIME_DEPENDENCIES=</div><div>PLUMED_STATIC_DEPENDENCIES= "/Users/bussi/test-install-plumed/lib/plumed/obj/kernel.o" "/Users/bussi/test-install-plumed/lib/plumed/obj/PlumedStatic.o"</div><div>PLUMED_SHARED_DEPENDENCIES= "/Users/bussi/test-install-plumed/lib/libplumed.dylib"</div></div><div><br></div><div>Let us know if this fixes your issue.</div><div><br></div><div>Many thanks!</div><div><br></div><div>Giovanni</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 4, 2016 at 6:50 PM, tarak karmakar <span dir="ltr"><<a href="mailto:tarak...@gmail.com" target="_blank">tarak...@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear All, <div>I have successfully installed Plumed-2.2.0 in my system. Now, my next task is to patch it with CP2K-3_0. I followed the following steps,</div><div><br></div><div>1) added -D__PLUMED2 in DFLAGS, </div><div><br></div><div>2) added the following two lines in 'Linux-x86-64-intel-mic.popt' file,</div><div> include /home/tarak/software/plumed-2/lib/plumed/src/lib/Plumed.inc<br></div><div><div> EXTERNAL_OBJECTS=$(PLUMED_STATIC_DEPENDENCIES)</div></div><div><br></div><div>2) make -j 4 ARCH=Linux-x86-64-intel-mic VERSION=popt</div><div><br>Whiling doing so, I encountered the following error,<br></div><div>-----------------------------------------------------------------------------------------------------------------</div><div><div>/home/tarak/software/plumed-2/lib/plumed/obj/PlumedStatic.o:(.data+0x0): undefined reference to `plumedmain_create'</div><div>/home/tarak/software/plumed-2/lib/plumed/obj/PlumedStatic.o:(.data+0x8): undefined reference to `plumedmain_cmd'</div><div>/home/tarak/software/plumed-2/lib/plumed/obj/PlumedStatic.o:(.data+0x10): undefined reference to `plumedmain_finalize'</div><div>make[3]: *** [/home/tarak/software/cp2k-3.0/exe/Linux-x86-64-intel-mic/graph.popt] Error 1</div><div>make[3]: *** Waiting for unfinished jobs....</div><div>make[2]: *** [all] Error 2</div><div>make[1]: *** [popt] Error 2</div><div>make: *** [all] Error 2</div><div>-----------------------------------------------------------------------------------------------------------------</div><div>I would appreciate any suggestion.</div><div><br></div><div>Regards,</div><div>Tarak</div><span><font color="#888888">
</font></span></div></div><span><font color="#888888">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "PLUMED users" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:plumed-users...@googlegroups.com" target="_blank">plumed-users...@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:plumed...@googlegroups.com" target="_blank">plumed...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/plumed-users" target="_blank">https://groups.google.com/group/plumed-users</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/plumed-users/CAGZMOouB989WaXVd1E8%3DAVmi_BM7EnSpzN7P-NBjR%2BLXjWYV8A%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/plumed-users/CAGZMOouB989WaXVd1E8%3DAVmi_BM7EnSpzN7P-NBjR%2BLXjWYV8A%40mail.gmail.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</font></span></blockquote></div><br></div></div>