Closed Srilok closed 4 years ago
Hi @Srilok,
It seems like there might be nothing wrong! Basically, this line:
Total number of atoms in each sphere: 2400
indicates how many atoms will be used for the optimization, it scales to about N^4, so 2400 is, from my experience, very large. It will probably take about 25 hours to complete only 1 iteration on an average CPU.
The good news is that you can easily change the number of cells you want to run the optimization on by specifying it with the -n
options. I suggest you start with:
p2ptrans -I POSCAR.0 -F POSCAR.1 -n 30
That should finish in less than 10 min.
-n
30 is the number of primtive cells of the structure that has the most atoms in its unit cell, in your case that is POSCAR.1.
In general, you want to choose -n
as large as you possibly can, but in practice, when you want to find a plausible or realistic transformation and not necessarly the absolute minimum you need to set -n
to a size that is "larger than the largest scale of transformation that you expect to find". For example, in your case, the minimum scale of the transformation is 1 unit cell of POSCAR.1 and I don't imagine that the transformation will occur on a scale of more than 20 times that so I set -n
to 30. At the end the algorithm will give you the scale of the transformation, if it is close to 30, than it would be safe to rerun the algorithm with a larger -n
.
More info: See the documentation for a tutorial and more info.
I will close the issue since there does not seem to be any actual issue with the code.
Hey Therrien,
First of all thanks a lot for your contribution and making it available to reuse!
I am trying to match crystal structures but when I run "p2ptrans -I POSCAR.0 -F POSCAR.1" I get the following output which says the progress is shown in progess.txt but there is no output in the progress.txt file (apart from the initial output when I first start the program) even after several hours. I am not sure if p2p is doing any computations or is it just stuck. Any help in this would be greatly appreciated. Please let me know if you need more information or the POSCAR files to diagnose whats going on
Thank you
Srilok
Contents of the progress.txt file