Hi I have been following the below format as suggested but showing the error. Please help me out in installing cp2k.<div><br><b>1. cp</b> <i><b>cp2k-2022.2/tools/toolchain/install/arch</b></i> <i><b>cp2k-2022.2/arch</b></i><div><b>2.</b> <b style="font-style: italic;">source /home/biomedical/cp2k-2022.2/tools/toolchain/install/setup </b></div><div><b><i>3. cd</i></b> <b style="font-style: italic;">cp2k-2022.2</b></div><div><b>4.</b> <b style="font-style: italic;">$ make -j 32 ARCH=local VERSION="ssmp sdbg psmp pdbg" </b> but it shows the following errors while I have already exported the path </div><div><b>5.</b> <b><i>export PATH=${PATH}:/usr/bin/python3</i></b></div><div><b><i><br></i></b></div><div>/usr/bin/env: ‘python3’: Not a directory<br>/usr/bin/env: ‘python3’: Not a directory<br>/usr/bin/env: ‘python3’: Not a directory<br>/usr/bin/env: ‘python3’: Not a directory<br>/usr/bin/env: ‘python3’: Not a directory<br>/usr/bin/env: ‘python3’: Not a directory<br>make -C /home/biomedical/cp2k-2022.2/exts/dbcsr -f /home/biomedical/cp2k-2022.2/exts/build_dbcsr/Makefile \<br>make -C /home/biomedical/cp2k-2022.2/exts/dbcsr -f /home/biomedical/cp2k-2022.2/exts/build_dbcsr/Makefile \<br> ARCHFILE=/home/biomedical/cp2k-2022.2/arch/local.sdbg \<br> ARCHFILE=/home/biomedical/cp2k-2022.2/arch/local.ssmp \<br> LIBDIR=/home/biomedical/cp2k-2022.2/lib/local/sdbg/exts/dbcsr \<br> LIBDIR=/home/biomedical/cp2k-2022.2/lib/local/ssmp/exts/dbcsr \<br> OBJDIR=/home/biomedical/cp2k-2022.2/obj/local/sdbg/exts/dbcsr \<br> OBJDIR=/home/biomedical/cp2k-2022.2/obj/local/ssmp/exts/dbcsr \<br> USE_ACCEL="" \<br> USE_ACCEL="" \<br> ACC="" \<br> ACC="" \<br> ACCFLAGS=""<br> ACCFLAGS=""<br>make -C /home/biomedical/cp2k-2022.2/exts/dbcsr -f /home/biomedical/cp2k-2022.2/exts/build_dbcsr/Makefile \<br>make -C /home/biomedical/cp2k-2022.2/exts/dbcsr -f /home/biomedical/cp2k-2022.2/exts/build_dbcsr/Makefile \<br> ARCHFILE=/home/biomedical/cp2k-2022.2/arch/local.pdbg \<br> ARCHFILE=/home/biomedical/cp2k-2022.2/arch/local.psmp \<br> LIBDIR=/home/biomedical/cp2k-2022.2/lib/local/pdbg/exts/dbcsr \<br> LIBDIR=/home/biomedical/cp2k-2022.2/lib/local/psmp/exts/dbcsr \<br> OBJDIR=/home/biomedical/cp2k-2022.2/obj/local/pdbg/exts/dbcsr \<br> OBJDIR=/home/biomedical/cp2k-2022.2/obj/local/psmp/exts/dbcsr \<br> USE_ACCEL="" \<br> USE_ACCEL="" \<br> ACC="" \<br> ACC="" \<br> ACCFLAGS=""<br> ACCFLAGS=""<br>Removing stale archives for ssmp ... <br>Removing stale archives for sdbg ... <br>/usr/bin/env: ‘python3’: Not a directory<br>make[2]: *** [/home/biomedical/cp2k-2022.2/Makefile:462: makedep] Error 126<br>make[2]: *** Waiting for unfinished jobs....<br>/usr/bin/env: ‘python3’: Not a directory<br>make[2]: *** [/home/biomedical/cp2k-2022.2/Makefile:462: makedep] Error 126<br>make[2]: *** Waiting for unfinished jobs....<br>Removing stale archives for psmp ... <br>Removing stale archives for pdbg ... <br>/usr/bin/env: ‘python3’: Not a directory<br>make[2]: *** [/home/biomedical/cp2k-2022.2/Makefile:462: makedep] Error 126<br>make[2]: *** Waiting for unfinished jobs....<br>/usr/bin/env: ‘python3’: Not a directory<br>make[2]: *** [/home/biomedical/cp2k-2022.2/Makefile:462: makedep] Error 126<br>make[2]: *** Waiting for unfinished jobs....<br>Removing stale archives ... <br>Removing stale archives ... <br>/usr/bin/env: ‘python3’: Not a directory<br>/usr/bin/env: ‘python3’: Not a directory<br>make[3]: *** [/home/biomedical/cp2k-2022.2/exts/build_dbcsr/Makefile:224: makedep] Error 126<br>make[3]: *** [/home/biomedical/cp2k-2022.2/exts/build_dbcsr/Makefile:224: makedep] Error 126<br>make[2]: *** [/home/biomedical/cp2k-2022.2/exts/Makefile.inc:38: dbcsr] Error 2<br>make[2]: *** [/home/biomedical/cp2k-2022.2/exts/Makefile.inc:38: dbcsr] Error 2<br>make[1]: *** [/home/biomedical/cp2k-2022.2/Makefile:125: ssmp] Error 2<br>make[1]: *** Waiting for unfinished jobs....<br>make[1]: *** [/home/biomedical/cp2k-2022.2/Makefile:125: sdbg] Error 2<br>Removing stale archives ... <br>Removing stale archives ... <br>/usr/bin/env: ‘python3’/usr/bin/env: ‘python3’: Not a directory<br>: Not a directory<br>make[3]: *** [/home/biomedical/cp2k-2022.2/exts/build_dbcsr/Makefile:224: makedep] Error 126<br>make[3]: *** [/home/biomedical/cp2k-2022.2/exts/build_dbcsr/Makefile:224: makedep] Error 126<br>make[2]: *** [/home/biomedical/cp2k-2022.2/exts/Makefile.inc:38: dbcsr] Error 2<br>make[2]: *** [/home/biomedical/cp2k-2022.2/exts/Makefile.inc:38: dbcsr] Error 2<br>make[1]: *** [/home/biomedical/cp2k-2022.2/Makefile:125: psmp] Error 2<br>make[1]: *** [/home/biomedical/cp2k-2022.2/Makefile:125: pdbg] Error 2<br>make: *** [Makefile:120: all] Error 2<br><br></div></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Wednesday, October 12, 2022 at 4:38:39 PM UTC+9 Matthias Krack wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word">
<div>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:11.0pt">Hi<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">You can copy the arch files from cp2k/tools/toolchain/install/arch generated by the toolchain into the existing folder cp2k/arch. There shouldn’t be conflicts. Then
you have to run one of the make commands in cp2k/ as suggested by the toolchain to compile/build a cp2k binary in cp2k/exe/local.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">HTH<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Matthias<u></u><u></u></span></p></div></div><div lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word"><div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black"><a href data-email-masked rel="nofollow">cp...@googlegroups.com</a> <<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>> on behalf of Shivam Gupta <<a href data-email-masked rel="nofollow">shivam...@pharmafoods.co.jp</a>><br>
<b>Date: </b>Wednesday, 12 October 2022 at 03:41<br>
<b>To: </b>cp2k <<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>><br>
<b>Subject: </b>[CP2K:17843] confirmation of the cp2k installation<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Hi All,<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">I have used the latest <b>install_cp2k_toolchain.sh
</b>downloaded<b> </b>from <a href="https://github.com/cp2k/cp2k/blob/master/tools/toolchain/install_cp2k_toolchain.sh" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://github.com/cp2k/cp2k/blob/master/tools/toolchain/install_cp2k_toolchain.sh&source=gmail&ust=1665728598640000&usg=AOvVaw2V9fnidmsZDYmh2OTF5MhQ">git-hub repository</a>. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">upon completion of this script, I followed the following steps.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">1. cp /home/biomedical/cp2k-2022.2/tools/toolchain/install/arch/* /home/biomedical/cp2k-2022.2/arch/<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">2. source /home/biomedical/cp2k-2022.2/tools/toolchain/install/setup<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">but I am able to confirm the installation of the cp2k. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">How to do it?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">--> query: For the first step, Do I need to create a new directory <b>cp2k/arch/ </b>to copy all the arch files rather copying into already existed arch folder?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Thanks<u></u><u></u></span></p>
</div>
</div></div><div lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word"><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">--
<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 data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/c661158e-2790-4a84-b097-1f22b00f9debn%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/c661158e-2790-4a84-b097-1f22b00f9debn%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1665728598640000&usg=AOvVaw3QgXzyiuzrfSHjftO6vahQ">
https://groups.google.com/d/msgid/cp2k/c661158e-2790-4a84-b097-1f22b00f9debn%40googlegroups.com</a>.<u></u><u></u></span></p>
</div>
</div>
</blockquote></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/de61d564-d101-45ef-ad0a-0299f3ba1b52n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/de61d564-d101-45ef-ad0a-0299f3ba1b52n%40googlegroups.com</a>.<br />