Hi Matthias, <div><br /></div><div>thanks you so much,</div><div><br /></div><div>you are right, i can get my fes.dat running your code.</div><div><br /></div><div>Regards,</div><div><br /></div><div>Nacho</div><div><br /></div><div><br /></div><div><br /></div><div><br /><br /></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">El viernes, 17 de febrero de 2023 a las 9:24:19 UTC+1, Krack Matthias escribió:<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 Nacho<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 should be able to run the docker container from any host system path, e.g. where your data files are located, so just cd there.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><docker image> is your docker container and <graph flags> are the command flags for the graph.psmp code.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">You can also try to run
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Consolas">docker run --shm-size=1g -ti -v $</span><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">PWD</span><span style="font-size:11.0pt;font-family:Consolas">:/mnt cp2k_prod_psmp
</span><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">graph.psmp <flags and arguments of graph.psmp></span><span lang="EN-US" style="font-size:11.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">like for the cp2k code. Maybe, that will work as well.<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></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>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Matthias<u></u><u></u></span></p>
<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 Nacho Sanz Martinez <<a href data-email-masked rel="nofollow">naxo.san...@gmail.com</a>><br>
<b>Date: </b>Thursday, 16 February 2023 at 18:52<br>
<b>To: </b>cp2k <<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>><br>
<b>Subject: </b>Re: [CP2K:18459] fes.dat generation (docker)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Hi Matthias,<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">thanks for the help.<u></u><u></u></span></p>
<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">I'm triying to run:<u></u><u></u></span></p>
</div>
<div>
<p style="margin-left:36.0pt">docker run --rm -it --mount src=$PWD,target=/mnt,type=bind --entrypoint /opt/cp2k/exe/local/graph.psmp <docker image> <graph flags><u></u><u></u></p>
<p style="margin-left:36.0pt"> But i have some questions.<u></u><u></u></p>
<p style="margin-left:36.0pt">i don't have my input files in $PWD, can i modify the command to use /media/disk 3/cp2k directory because it is in this directory where my input files are?<u></u><u></u></p>
<p style="margin-left:36.0pt">i don't understand what's the meaning of <docker image> <graph flags>, can you help me with this?<u></u><u></u></p>
<p style="margin-left:36.0pt">in summary, i have my restar file in one directory (/media/disk3/cp2k), the same directory where i ran my metadynamic using this command:<u></u><u></u></p>
<p style="margin-left:36.0pt"><u></u> <u></u></p>
<p style="margin-left:36.0pt">docker run --shm-size=1g -ti -v "$(pwd)":/mnt cp2k_prod_psmp mpiexec -genv OMP_NUM_THREADS=N -np N cp2k -i filename.inp -o filename.out<u></u><u></u></p>
<p style="margin-left:36.0pt"><u></u> <u></u></p>
<p style="margin-left:36.0pt">but currently i can't get the fes.dat from the METADYN-1.restart<u></u><u></u></p>
<p style="margin-left:36.0pt"><u></u> <u></u></p>
<p style="margin-left:36.0pt">Regards,<u></u><u></u></p>
<p style="margin-left:36.0pt"><u></u> <u></u></p>
<p style="margin-left:36.0pt">Nacho<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">El jueves, 16 de febrero de 2023 a las 18:14:00 UTC+1, Krack Matthias escribió:<u></u><u></u></span></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="margin-left:36.0pt">
<span lang="DE-CH" style="font-size:11.0pt">Hi Nacho</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="DE-CH" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt">In principle, there should be a graph binary in your docker container. You can try to run</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt;font-family:Consolas"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt;font-family:Consolas">docker run --rm -it --mount src=$PWD,target=/mnt,type=bind --entrypoint /opt/cp2k/exe/local/graph.psmp <docker image> <graph flags></span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt">assuming that the input files are in $PWD of your host environment.</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt">Best</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt"> </span><span style="font-size:11.0pt"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt">Matthias</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt"> </span><span 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-bottom:12.0pt;margin-left:72.0pt">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black"><span><a href data-email-masked rel="nofollow">cp...@googlegroups.com</a></span> <<span><a href data-email-masked rel="nofollow">cp...@googlegroups.com</a></span>> on behalf of Nacho Sanz Martinez <<span><a href data-email-masked rel="nofollow">naxo.san...@gmail.com</a></span>><br>
<b>Date: </b>Thursday, 16 February 2023 at 17:14<br>
<b>To: </b>cp2k <<span><a href data-email-masked rel="nofollow">cp...@googlegroups.com</a></span>><br>
<b>Subject: </b>[CP2K:18457] fes.dat generation (docker)</span><span style="font-size:11.0pt"><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">Hi all.<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">we were trying to install cp2k in the workstation but we couldn't, but a colleague could install cp2k in a docker.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">i can run cp2k with<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">$run docker ....<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">in fact, i've a metadynamic finished (with this METADYN_1.restart ), but i have a problem, i can't get the fes.dat to see the energy.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">i try to search something similar a graph.() in my docker but it doesn't have it or i can't find it.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">Can someone give me tips to get this file or how i can install graph-tools in the docker?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">Regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt">Nacho<u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:72.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
<span><a href data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a></span>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/4603b153-4acb-481a-9967-e8d083f51f46n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=es&q=https://groups.google.com/d/msgid/cp2k/4603b153-4acb-481a-9967-e8d083f51f46n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1676711273151000&usg=AOvVaw0JLANnhIdi9hfCX6hedocP">
https://groups.google.com/d/msgid/cp2k/4603b153-4acb-481a-9967-e8d083f51f46n%40googlegroups.com</a>.<u></u><u></u></span></p>
</div>
</div>
</blockquote>
</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></span></p></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">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/90b27b34-65ab-43b6-af07-72f3d6e0f7e0n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=es&q=https://groups.google.com/d/msgid/cp2k/90b27b34-65ab-43b6-af07-72f3d6e0f7e0n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1676711273151000&usg=AOvVaw2U0zXMSLK-L816cB7W9NTC">
https://groups.google.com/d/msgid/cp2k/90b27b34-65ab-43b6-af07-72f3d6e0f7e0n%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/b6cd8c9b-737c-4c50-a824-1da99c2481efn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/b6cd8c9b-737c-4c50-a824-1da99c2481efn%40googlegroups.com</a>.<br />