-
Hello, I'm looking to calculate the phonon-phonon interactions in a large twisted bilayer TMD system. My system has 42 atoms in the primitive cell, and I'm only looking at a 1x1x1 supercell. I'm running the ALM code to calculate the 2nd and 3rd order force constants. To minimize the number of displacements (which are >100000 for my system), I am using a cutoff of 10 for each atom, and I am using random displacements + the LASSO method described in the ALAMODE paper. This method works great on a smaller system monolayer system (3 atoms), and even slightly larger (12 atoms), but gets stuck in the CONSTRAINTS section of the code for the 42 atom system. Note that I have increased the number of OMP_THREADS to 114 Specifically this section of the output and immediately afterwards takes the longest (> 2400 seconds):
Looking into the running processes is showing that during this section there is no parallelization with OMP_THREADS, and might simply be a serial process. Is there some way to speed this section up? Thanks, Johnathan |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The ALM code generates all constraints between force constants (symmetry, translation, rotation) and merges them to make a single constraint matrix in rref (reduced row echelon form). This rref reduction is not parallelized and is likely the bottleneck point. Unfortunately, this is an algorithmic limitation and not easy to solve. One possible way to improve the performance is to set |
Beta Was this translation helpful? Give feedback.
The ALM code generates all constraints between force constants (symmetry, translation, rotation) and merges them to make a single constraint matrix in rref (reduced row echelon form). This rref reduction is not parallelized and is likely the bottleneck point. Unfortunately, this is an algorithmic limitation and not easy to solve.
One possible way to improve the performance is to set
FCSYM_BASIS = Cartesian
(https://alamode.readthedocs.io/en/latest/almdir/formalism_alm.html#constraints-between-ifcs).