<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="DE-CH" style="mso-fareast-language:EN-US">Hi <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">You have to delete the tar file in the folder cp2k/tools/toolchain/build in which the libs are built. Just remove that build folder. For an installation from scratch, it is the best
 to remove the build as well as the install folder in cp2k/tools/toolchain.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">HTH<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Matthias<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">"cp2k@googlegroups.com" <cp2k@googlegroups.com> on behalf of Shivam Gupta <shivam-gupta@pharmafoods.co.jp><br>
<b>Reply to: </b>"cp2k@googlegroups.com" <cp2k@googlegroups.com><br>
<b>Date: </b>Tuesday, 4 October 2022 at 09:25<br>
<b>To: </b>"cp2k@googlegroups.com" <cp2k@googlegroups.com><br>
<b>Subject: </b>Re: [CP2K:17802] Error with spglib installation<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt">Dear Matt <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">I was facing the same problem while installing spglib. I have manually downloaded downloaded  <a href="https://github.com/spglib/spglib/archive/v1.16.2.tar.gz">https://github.com/spglib/spglib/archive/v1.16.2.tar.gz</a> and
 extracted in the "/home/biomedical/cp2k/cp2k-9.1/tools/toolchain/install" folder. but still it shows the following error.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">Please guide me over it.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">Thanks<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<span style="color:black;background:gray">==================== Installing spglib ====================<br>
spglib-1.16.2.tar.gz is found<br>
Installing from scratch into /home/biomedical/cp2k/cp2k-9.1/tools/toolchain/install/spglib-1.16.2<br>
<br>
gzip: stdin: unexpected end of file<br>
tar: Child returned status 1<br>
tar: Error is not recoverable: exiting now<br>
ERROR: (./scripts/stage7/install_spglib.sh, line 40) Non-zero exit code detected.</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">On Saturday, October 1, 2022 at 7:58:30 AM UTC+9 captai...@gmail.com wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
HI Matthias <br>
<br>
Thanks for your info. Now it works. What I'm doing is change the link "<a href="https://github.com/spglib/spglib/archive/v$%7Bspglib_ver%7D.tar.gz" target="_blank">https://github.com/spglib/spglib/archive/v${spglib_ver}.tar.gz</a> \" to the one you write "<a href="https://github.com/spglib/spglib/archive/v1.16.2.tar.gz" target="_blank">https://github.com/spglib/spglib/archive/v1.16.2.tar.gz</a>
 \" , and before that I delete the spglib-1.16.2.tar.gz (<b>with 0 size</b>) at  build directory. Once again thanks for the advise, and have a nice day
<br>
<br>
Sincerely <br>
MUS<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">On Friday, September 30, 2022 at 2:59:19 PM UTC+7 Matthias Krack wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt">
<span lang="DE-CH">Hi MUS</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt">
<span lang="DE-CH"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt">
<span lang="EN-US">That’s the strange, the download of <a href="https://github.com/spglib/spglib/archive/v1.16.2.tar.gz" target="_blank">
https://github.com/spglib/spglib/archive/v1.16.2.tar.gz</a>  works for me.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt">
<span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt">
<span lang="EN-US">Matthias</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt">
<span lang="EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">"cp...@googlegroups.com" <cp...@googlegroups.com> on behalf of captain mus <captai...@gmail.com><br>
<b>Reply to: </b>"cp...@googlegroups.com" <cp...@googlegroups.com><br>
<b>Date: </b>Friday, 30 September 2022 at 04:56<br>
<b>To: </b>"cp...@googlegroups.com" <cp...@googlegroups.com><br>
<b>Subject: </b>Re: [CP2K:17780] Error with spglib installation</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
 <o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;margin-left:72.0pt">
HI Matthias <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
Thank you for your information.  I recently download the tar.bz2 of the latest CP2K(cp2k.2022.1) but in the file "install_spglib.sh"  the github address is still the old one "
<a href="https://github.com/atztogo/spglib/archive/v$%7Bspglib_ver%7D.tar.gz" target="_blank">
https://github.com/atztogo/spglib/archive/v${spglib_ver}.tar.gz</a> \".. I tried to change manually to "<a href="https://github.com/spglib/spglib/archive/v$%7Bspglib_ver%7D.tar.gz" target="_blank">https://github.com/spglib/spglib/archive/v${spglib_ver}.tar.gz</a>
 \" as showed on the link you provided. It does download the "spglib-1.16.2.tar.gz" and placed it at build directory. However, the problem is the tar file is empty (0 k) and return the same error as miose had. Any advise ?<br>
<br>
Sincerely <br>
MUS<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
 <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
On Tuesday, September 13, 2022 at 4:55:31 PM UTC+7 Matthias Krack wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="DE-CH">Hi</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="DE-CH"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="EN-US">This problem has been reported and fixed recently, see issue </span>
<span lang="DE-CH"><a href="https://github.com/cp2k/cp2k/issues/2262" target="_blank"><span lang="EN-US">https://github.com/cp2k/cp2k/issues/2262</span></a>
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="EN-US">HTH</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="EN-US">Matthias</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">"cp...@googlegroups.com" <cp...@googlegroups.com> on behalf of Arseniy Otlyotov <miose...@gmail.com><br>
<b>Reply to: </b>"cp...@googlegroups.com" <cp...@googlegroups.com><br>
<b>Date: </b>Monday, 12 September 2022 at 18:36<br>
<b>To: </b>"cp...@googlegroups.com" <cp...@googlegroups.com><br>
<b>Subject: </b>[CP2K:17656] Error with spglib installation</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
 <o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
Dear CP2K developers and users, <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
could I ask your advice on a small technical question.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
I'm trying to install CP2K with <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
./install_cp2k_toolchain.sh <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
and facing an error with spglib:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
spglib-1.16.2.tar.gz is found<br>
Installing from scratch into /home/soft/programs/cp2k/cp2k-2022.1/tools/toolchain/install/spglib-1.16.2<br>
gzip: stdin: unexpected end of file<br>
tar: Child returned status 1<br>
tar: Error is not recoverable: exiting now<br>
ERROR: (./scripts/stage7/install_spglib.sh, line 40) Non-zero exit code detected.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
This seems to appear because of the outdated link in the script to<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
<a href="https://github.com/atztogo/spglib/archive/v1.16.2.tar.gz" target="_blank">https://github.com/atztogo/spglib/archive/v1.16.2.tar.gz</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
I tried installing spglib with <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
pip install --user spglib<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
but it did not fix the error. Could you, please, advise how to install this lib correctly?<o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;margin-left:108.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 cp2k+uns...@googlegroups.com.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/6bb0b38d-c0f1-401b-943e-51aa6012dfd7n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">
https://groups.google.com/d/msgid/cp2k/6bb0b38d-c0f1-401b-943e-51aa6012dfd7n%40googlegroups.com</a>.<o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.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 cp2k+uns...@googlegroups.com.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;margin-left:72.0pt">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/0109c89c-f557-437f-98c3-19d8b94531e8n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">
https://groups.google.com/d/msgid/cp2k/0109c89c-f557-437f-98c3-19d8b94531e8n%40googlegroups.com</a>.<o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:36.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="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/ea22e434-b7e2-42a7-80a1-b55d0c3b89a3n%40googlegroups.com?utm_medium=email&utm_source=footer">
https://groups.google.com/d/msgid/cp2k/ea22e434-b7e2-42a7-80a1-b55d0c3b89a3n%40googlegroups.com</a>.<br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>

<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/00848F5D-7B48-4D08-A2EA-84D931EE7C6C%40psi.ch?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/00848F5D-7B48-4D08-A2EA-84D931EE7C6C%40psi.ch</a>.<br />