[CP2K-user] [CP2K:17780] Error with spglib installation

Krack Matthias (PSI) matthias.krack at psi.ch
Fri Sep 30 07:58:52 UTC 2022


Hi MUS

That’s the strange, the download of https://github.com/spglib/spglib/archive/v1.16.2.tar.gz  works for me.

Matthias

From: "cp2k at googlegroups.com" <cp2k at googlegroups.com> on behalf of captain mus <captainmozak at gmail.com>
Reply to: "cp2k at googlegroups.com" <cp2k at googlegroups.com>
Date: Friday, 30 September 2022 at 04:56
To: "cp2k at googlegroups.com" <cp2k at googlegroups.com>
Subject: Re: [CP2K:17780] Error with spglib installation

HI Matthias
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 " https://github.com/atztogo/spglib/archive/v${spglib_ver}.tar.gz \".. I tried to change manually to "https://github.com/spglib/spglib/archive/v${spglib_ver}.tar.gz \" 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 ?

Sincerely
MUS

On Tuesday, September 13, 2022 at 4:55:31 PM UTC+7 Matthias Krack wrote:
Hi

This problem has been reported and fixed recently, see issue https://github.com/cp2k/cp2k/issues/2262

HTH

Matthias

From: "cp... at googlegroups.com" <cp... at googlegroups.com> on behalf of Arseniy Otlyotov <miose... at gmail.com>
Reply to: "cp... at googlegroups.com" <cp... at googlegroups.com>
Date: Monday, 12 September 2022 at 18:36
To: "cp... at googlegroups.com" <cp... at googlegroups.com>
Subject: [CP2K:17656] Error with spglib installation

Dear CP2K developers and users,
could I ask your advice on a small technical question.
I'm trying to install CP2K with

./install_cp2k_toolchain.sh

and facing an error with spglib:

spglib-1.16.2.tar.gz is found
Installing from scratch into /home/soft/programs/cp2k/cp2k-2022.1/tools/toolchain/install/spglib-1.16.2
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
ERROR: (./scripts/stage7/install_spglib.sh, line 40) Non-zero exit code detected.

This seems to appear because of the outdated link in the script to

https://github.com/atztogo/spglib/archive/v1.16.2.tar.gz

I tried installing spglib with

pip install --user spglib

but it did not fix the error. Could you, please, advise how to install this lib correctly?
--
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+uns... at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/6bb0b38d-c0f1-401b-943e-51aa6012dfd7n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/6bb0b38d-c0f1-401b-943e-51aa6012dfd7n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/0109c89c-f557-437f-98c3-19d8b94531e8n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/0109c89c-f557-437f-98c3-19d8b94531e8n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/EEC2D75B-F796-4574-9F82-B8017CD49C41%40psi.ch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20220930/4027cf86/attachment-0001.htm>


More information about the CP2K-user mailing list