You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qpath, data =CC.Methods.get_bandpath(harmonic_dyn.structure.unit_cell,
@@ -322,8 +323,9 @@ In the next part of the code, we perform the harmonic phonon calculation using c
322
323
323
324
324
325
The method `compute_phonons_finite_displacements` is documented in the CellConstructor guide. It requires the structure (in this case `gold_structure_relaxed`), the force-field (`calculator`) and the supercell for the calculation. In this case we use a 4x4x4 (equivalent to 64 atoms). This may not be sufficient to converge all the properties, especially at very high temperature, but it is just a start.
325
-
326
-
Note that `compute_phonons_finite_displacements` works in parallel with MPI, therefore, if the script is executed with `mpirun -np 16 python myscript.py` it will split the calculations of the finite displacements across 16 processors. You need to have mpi4py installed.
326
+
Starting from version 1.3 of Cellconstructor, this automatically exploits the symmetry of the structure to reduce the number of displacements to compute.
327
+
This is extremely efficient for big supercells.
328
+
Note that `compute_phonons_finite_displacements` works in parallel with MPI, therefore, if the script is executed with `mpirun -np 4 python myscript.py` it will split the calculations of the finite displacements across 4 processors. You need to have mpi4py installed.
327
329
328
330
After computing the harmonic phonons in gold_harmonic_dyn, we impose the correct symmetrization and the acousitic sum rule with the `Symmetrize` method, and save the result in the quantum ESPRESSO format with `save_qe`.
329
331
This should not be the case for Gold, however, if we have a structure which has imaginary phonon frequencies, we need to get rid of them before starting the SSCHA. This is achieved with `ForcePositiveDefinite` (see CellConstructor documentation for more details on how these methods work).
@@ -850,14 +852,14 @@ First of all, we need to configure a straight ssh connection. We have to add to
850
852
851
853
Host ela
852
854
HostName ela.cscs.ch
853
-
User lmonacel
855
+
User myusernameforela
854
856
Host daint
855
857
HostName daint.cscs.ch
856
858
ProxyJump ela
857
-
User lmonacel
859
+
User myusernamefordaint
858
860
859
861
860
-
These are two connection, one to ela (the front-end server of CSCS) and then one to daint.
862
+
These are two connection, one to ela (the front-end server of CSCS) and then one to daint (Piz Daint supercomputer).
861
863
To connect to daint, I must before access to ela, this is the reason of ProxyJump command inside the daint block.
862
864
The best way to connect is to configure your ssh private-public key so that you (and python-sscha) can login without password.
863
865
An example of how to do that is `Here <http://www.linuxproblem.org/art_9.html>`_, but you may find a lot of other on internet.
0 commit comments