[CP2K-user] [CP2K:16782] Re: Cannot use CP2K via Docker/Singularity
Ole Schütt
ole.schuett at cp2k.org
Tue Mar 29 10:54:23 UTC 2022
Hi,
how exactly did you try to run via Docker?
Note that the docker image is pretty new and you are one of the first to
use it. So any feedback is appreciated.
> Then when using singularity instead of docker, I get the following error
message:
Unfortunately, I don't have any experience with Singularity. You could try
commenting those lines in the prod_entrypoint.sh
<https://github.com/cp2k/cp2k/blob/master/tools/docker/scripts/prod_entrypoint.sh#L17>
script and instead use the absolute path of the binary.
If that works, I'll move the creation of those symlinks to the build phase
(or replace them with aliases).
-Ole
On Sunday, March 27, 2022 at 6:57:12 PM UTC+2 lenardc... at gmail.com wrote:
> Hi there, I hope you are doing well.
>
> I tried using CP2K via Docker following this
> https://hub.docker.com/r/cp2k/cp2k
> but I get the following error message:
> /opt/cp2k/prod_entrypoint.sh: line 20: 443 Illegal instruction "$@"
>
> Then when using singularity instead of docker, I get the following error
> message:
> ln: failed to create symbolic link '/opt/cp2k/exe/local/cp2k': Read-only
> file system
>
> Can you help me resolve this? I've been trying to get CP2K working for a
> month now at my local HPC. I have failed, so I turned to asking help from
> admin, but they too cannot get it right. So now I am trying to go for a
> container, but I get the above error messages.
>
>
>
>
--
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/d890a752-00f0-4eaa-8e35-6320a5cd20ban%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20220329/5364b5e1/attachment-0001.htm>
More information about the CP2K-user
mailing list