Hi Nacho
In principle, there should be a graph binary in your docker container. You can try to run
docker run --rm -it --mount src=$PWD,target=/mnt,type=bind --entrypoint /opt/cp2k/exe/local/graph.psmp <docker image> <graph flags>
assuming that the input files are in $PWD of your host environment.
Best
Matthias
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/4603b153-4acb-481a-9967-e8d083f51f46n%40googlegroups.com.
docker run --rm -it --mount src=$PWD,target=/mnt,type=bind --entrypoint /opt/cp2k/exe/local/graph.psmp <docker image> <graph flags>
But i have some questions.
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?
i don't understand what's the meaning of <docker image> <graph flags>, can you help me with this?
in summary, i have my restar file in one directory (/media/disk3/cp2k), the same directory where i ran my metadynamic using this command:
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
but currently i can't get the fes.dat from the METADYN-1.restart
Regards,
Nacho
Hi Nacho
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.
<docker image> is your docker container and <graph flags> are the command flags for the graph.psmp code.
You can also try to run
docker run --shm-size=1g -ti -v $PWD:/mnt cp2k_prod_psmp graph.psmp <flags and arguments of graph.psmp>
like for the cp2k code. Maybe, that will work as well.
HTH
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/90b27b34-65ab-43b6-af07-72f3d6e0f7e0n%40googlegroups.com.