Maybe this is the reason? https://gitlab.com/QEF/q-e/-/merge_requests/3012

Paolo

On 11/9/26 10:36, Bishwas Nautiyal via users wrote:
Hi,
Thank you for your response I am attaching the input files to this email. I replied it to once I see it did not get posted to the thread for some reason but here are all the inputs I used and the outputs I have. I also noticed that asr='simple' in matdyn.x tends to remove any negatives in .freq file and zeros the translation but for my calculation it seems the correction is larger compared to asr='crystal'
I ran vc-relax with DFT-D3 with three-body as false
1. Vc relax input
&CONTROL
   calculation   = 'vc-relax'
   prefix        = 'm'
   outdir        = './tmp'
   pseudo_dir    = '/home/clay-mineralogy/Data/qe/pseudo/'
   tprnfor       = .true.
   tstress       = .true.
   forc_conv_thr = 1.0d-6
   etot_conv_thr = 1.0d-6
   nstep         = 300
/
&SYSTEM
   ibrav           = 0
   nat             = 41
   ntyp            = 6
   ecutwfc         = 120.0
   ecutrho         = 720.0
   occupations     = 'fixed'
   vdw_corr        = 'dft-d3'
   dftd3_version   = 3
   dftd3_threebody = .false.
   nosym           = .true.
/
&ELECTRONS
   conv_thr    = 1.0d-12
   mixing_beta = 0.4
/
&IONS
   ion_dynamics     = 'bfgs'
   bfgs_ndim        = 3
   trust_radius_ini = 0.05
   trust_radius_max = 0.2
/
&CELL
   cell_dynamics  = 'bfgs'
   cell_dofree    = 'all'
   press          = 0.0
   press_conv_thr = 0.1
/
ATOMIC_SPECIES
K   39.0983     K_ONCV_PBE-1.2.upf
Si  28.0855     Si_ONCV_PBE-1.2.upf
O   15.9994     O_ONCV_PBE-1.2.upf
Al  26.9815385  Al_ONCV_PBE-1.2.upf
H   1.00794     H_ONCV_PBE-1.2.upf
Mg  24.305      Mg_ONCV_PBE-1.2.upf
CELL_PARAMETERS (angstrom)
      5.189000000    0.000000000    0.000000000
      0.000000000    8.953000000    0.000000000
     -1.951789915    0.000000000    9.939172859
ATOMIC_POSITIONS (crystal)
K     0.51520000   0.01240000   0.00780000
Si    0.07410000   0.16180000   0.23120000
Si    0.92630000   0.83540000   0.76880000
Si    0.93020000   0.16420000   0.77030000
Si    0.07010000   0.83830000   0.22970000
Si    0.57380000   0.66190000   0.23110000
Si    0.42620000   0.33820000   0.76890000
Si    0.42990000   0.66410000   0.77020000
Si    0.57030000   0.33580000   0.22980000
O     0.00310000   0.00220000   0.13380000
O     0.99680000   0.00190000   0.86620000
O     0.50320000   0.50210000   0.13370000
O     0.49690000   0.49790000   0.86630000
O     0.34720000   0.18290000   0.18460000
O     0.65290000   0.81720000   0.81540000
O     0.65710000   0.18510000   0.81660000
O     0.34310000   0.81480000   0.18340000
O     0.84720000   0.68280000   0.18450000
O     0.15310000   0.31720000   0.81550000
O     0.15690000   0.68520000   0.81650000
O     0.84300000   0.31480000   0.18350000
O     0.14610000   0.17980000   0.39380000
O     0.85410000   0.82020000   0.60620000
O     0.85810000   0.18210000   0.60780000
O     0.14190000   0.81790000   0.39220000
O     0.64620000   0.67980000   0.39370000
O     0.35410000   0.32020000   0.60630000
O     0.35820000   0.68220000   0.60770000
O     0.64210000   0.31780000   0.39230000
O     0.04510000   0.50420000   0.38710000
O     0.95480000   0.49580000   0.61290000
O     0.54520000   0.00410000   0.38720000
O     0.45490000   0.99590000   0.61280000
Al    0.00420000   0.33120000   0.50310000
Al    0.99590000   0.66890000   0.49680000
Al    0.50410000   0.83110000   0.50290000
H     0.24620000   0.50780000   0.36720000
H     0.75380000   0.49210000   0.63280000
H     0.74610000   0.00790000   0.36710000
H     0.25390000   0.99220000   0.63290000
Mg    0.49610000   0.16890000   0.49690000
K_POINTS (automatic)
   4 4 2 0 0 0
The force threshold was unable to reach the 1.0E-6 but the structure looked pretty well converged
2. Output block for the forces pressure and Energies

      Forces acting on atoms (cartesian axes, Ry/au):

      atom    1 type  1   force =    -0.00000087    0.00000152    0.00000126
      atom    2 type  2   force =     0.00000046   -0.00000080    0.00000205
      atom    3 type  2   force =     0.00000167   -0.00000364   -0.00000158
      atom    4 type  2   force =    -0.00000126   -0.00000641   -0.00000125
      atom    5 type  2   force =    -0.00000070    0.00000164    0.00000241
      atom    6 type  2   force =    -0.00000152    0.00000041   -0.00000193
      atom    7 type  2   force =    -0.00000188   -0.00000491   -0.00000096
      atom    8 type  2   force =     0.00000177   -0.00000424    0.00000088
      atom    9 type  2   force =     0.00000034   -0.00000002    0.00000164
      atom   10 type  3   force =    -0.00000193    0.00000090    0.00000031
      atom   11 type  3   force =     0.00000172   -0.00000528   -0.00000003
      atom   12 type  3   force =    -0.00000298    0.00000031    0.00000170
      atom   13 type  3   force =    -0.00000137   -0.00000574   -0.00000188
      atom   14 type  3   force =     0.00000142   -0.00000025    0.00000286
      atom   15 type  3   force =     0.00000298   -0.00000690   -0.00000010
      atom   16 type  3   force =    -0.00000140   -0.00000454   -0.00000207
      atom   17 type  3   force =    -0.00000045    0.00000328   -0.00000003
      atom   18 type  3   force =     0.00000108    0.00000081    0.00000329
      atom   19 type  3   force =    -0.00000373   -0.00000380   -0.00000157
      atom   20 type  3   force =     0.00000398    0.00000168   -0.00000167
      atom   21 type  3   force =     0.00000201    0.00000230    0.00000242
      atom   22 type  3   force =    -0.00000048    0.00000044    0.00000119
      atom   23 type  3   force =     0.00000088    0.00000486   -0.00000213
      atom   24 type  3   force =     0.00000064   -0.00000241   -0.00000051
      atom   25 type  3   force =    -0.00000018    0.00000335    0.00000233
      atom   26 type  3   force =     0.00000236    0.00000332   -0.00000251
      atom   27 type  3   force =     0.00000287    0.00000125   -0.00000135
      atom   28 type  3   force =    -0.00000368    0.00000445    0.00000176
      atom   29 type  3   force =    -0.00000185    0.00000234    0.00000188
      atom   30 type  3   force =     0.00000229    0.00000259   -0.00000107
      atom   31 type  3   force =    -0.00000458    0.00000446   -0.00000128
      atom   32 type  3   force =     0.00000386   -0.00000014    0.00000086
      atom   33 type  3   force =    -0.00000022    0.00000280   -0.00000404
      atom   34 type  4   force =     0.00000046   -0.00000019   -0.00000143
      atom   35 type  4   force =    -0.00000304    0.00000229   -0.00000108
      atom   36 type  4   force =    -0.00000061   -0.00000030    0.00000075
      atom   37 type  5   force =     0.00000096    0.00001017    0.00000151
      atom   38 type  5   force =    -0.00000394   -0.00000006   -0.00000373
      atom   39 type  5   force =     0.00000377   -0.00000712   -0.00000463
      atom   40 type  5   force =     0.00000001    0.00000085    0.00000567
      atom   41 type  6   force =     0.00000113    0.00000070    0.00000207

      Total force =     0.000030     Total SCF correction =     0.000000


      Computing stress (Cartesian axis) and pressure

          total   stress  (Ry/bohr**3)                   (kbar)     P=        0.00   -0.00000000   0.00000000   0.00000001           -0.00        0.00    0.00    0.00000000   0.00000001   0.00000001            0.00        0.00    0.00    0.00000001   0.00000001   0.00000000            0.00        0.00    0.00

      Message from routine bfgs:
      history already reset at previous step: exiting
      Energy error            =      1.1E-09 Ry
      Gradient error          =      1.0E-05 Ry/Bohr
      Cell gradient error     =      1.7E-03 kbar

     bfgs failed after 117 scf cycles and 116 bfgs steps, convergence not achieved      (criteria: energy <  1.0E-06 Ry, force <  1.0E-06 Ry/Bohr, cell <  1.0E-01 kbar)
Then I ran a ground state energy calculation on the vc-relax outputs
3. SCF
&CONTROL
   calculation   = 'scf'
   prefix        = 'm'
   outdir        = './tmp'
   pseudo_dir    = '/home/clay-mineralogy/Data/qe/pseudo/'
   tprnfor       = .true.
   tstress       = .true.
/
&SYSTEM
   ibrav           = 0
   nat             = 41
   ntyp            = 6
   ecutwfc         = 120.0
   ecutrho         = 720.0
   occupations     = 'fixed'
   vdw_corr        = 'dft-d3'
   dftd3_version   = 3
   dftd3_threebody = .false.
   nosym           = .true.
/
&ELECTRONS
   conv_thr    = 1.0d-14
   mixing_beta = 0.4
/
ATOMIC_SPECIES
K   39.0983     K_ONCV_PBE-1.2.upf
Si  28.0855     Si_ONCV_PBE-1.2.upf
O   15.9994     O_ONCV_PBE-1.2.upf
Al  26.9815385  Al_ONCV_PBE-1.2.upf
H   1.00794     H_ONCV_PBE-1.2.upf
Mg  24.305      Mg_ONCV_PBE-1.2.upf
CELL_PARAMETERS (angstrom)
    5.238688489   0.000361432   0.004398106
   -0.000424373   9.047592380  -0.000827578
   -1.962161002  -0.001122169   9.961650048
ATOMIC_POSITIONS (crystal)
K                0.5004163716        0.0065976615        0.0001815364
Si               0.0816487055        0.1763016437        0.2300600697
Si               0.9107682332        0.8308380882        0.7690047472
Si               0.9190241428        0.1764516561        0.7703541365
Si               0.0902318686        0.8307072427        0.2313237276
Si               0.5887423421        0.6710693509        0.2287116986
Si               0.4115335618        0.3336742235        0.7729758122
Si               0.4122975189        0.6711705204        0.7716008948
Si               0.5891538601        0.3335825214        0.2274256088
O                0.0372272768        0.0021795705        0.1820157515
O                0.9636962003        0.0023333138        0.8183376394
O                0.5328246759        0.5031885102        0.1755430460
O                0.4683063061        0.5033092242        0.8247566900
O                0.3273973332        0.2359228317        0.1668969337
O                0.6705030123        0.7695699181        0.8349066720
O                0.6731440287        0.2359103134        0.8335325845
O                0.3305486394        0.7694698654        0.1654267579
O                0.8250126791        0.7422535061        0.1648403564
O                0.1840946911        0.2615693246        0.8443807077
O                0.1760373582        0.7424233398        0.8354631630
O                0.8164216458        0.2612299826        0.1560378372
O                0.1302156038        0.1936001505        0.3911313972
O                0.8490683992        0.8081946237        0.6055452340
O                0.8703922966        0.1937234035        0.6092833960
O                0.1518832549        0.8081280800        0.3947825538
O                0.6531426888        0.6837973386        0.3935520578
O                0.3391147589        0.3233949237        0.6108507768
O                0.3478798046        0.6838282164        0.6067632344
O                0.6615436712        0.3234385305        0.3895582388
O                0.0969918451        0.5021716003        0.3996624419
O                0.9039816923        0.5022694494        0.6007664971
O                0.5885276635       -0.0161738854        0.3909781676
O                0.4123452682        0.9838214577        0.6093263796
Al               0.0003585771        0.3355160365        0.5002084754
Al               1.0004955224        0.6614977961        0.5001742618
Al               0.5004886590        0.8340200572        0.5001485771
H                0.2799820254        0.5002268855        0.3946825433
H                0.7210342019        0.5004141982        0.6058333468
H                0.7716113652       -0.0147833408        0.3870099763
H                0.2292552108        0.9851528410        0.6132812637
Mg               0.5003571524        0.1643091330        0.5001849194
K_POINTS (automatic)
   4 4 2 0 0 0
I ran a D3hess to get the hessian file
4. D3Hess input(with everything set to default)
&input
   prefix  = 'm'
   outdir  = './tmp'
   filhess = 'm.hess'
/
And finally phonons with a conv threshold of 1E-16
5.Phonon input
Phonons on a 3x3x3 q-grid
&inputph
   prefix       = 'm'
   outdir       = './tmp'
   fildyn       = 'm.dyn'
   ldisp        = .true.
   nq1 = 3, nq2 = 3, nq3 = 3
   tr2_ph       = 1.0d-16
   alpha_mix(1) = 0.5
   nmix_ph      = 20
   dftd3_hess   = 'm.hess'
/
All the q-point and representation converged and these are the raw frequencies I got from gamma point dyn1
6. Raw frequencies
  freq (    1) =      -1.253134 [THz] =     -41.800045 [cm-1]
      freq (    2) =       0.820306 [THz] =      27.362469 [cm-1]
      freq (    3) =       0.922027 [THz] =      30.755518 [cm-1]
      freq (    4) =       1.760439 [THz] =      58.721914 [cm-1]
      freq (    5) =       2.465520 [THz] =      82.240883 [cm-1]
      freq (    6) =       2.540151 [THz] =      84.730327 [cm-1]
      freq (    7) =       2.885164 [THz] =      96.238721 [cm-1]
      freq (    8) =       2.940483 [THz] =      98.083965 [cm-1]
      freq (    9) =       2.999980 [THz] =     100.068575 [cm-1]
      freq (   10) =       3.172945 [THz] =     105.838050 [cm-1]
      freq (   11) =       3.301920 [THz] =     110.140206 [cm-1]
      freq (   12) =       3.713832 [THz] =     123.880099 [cm-1]
      freq (   13) =       3.825646 [THz] =     127.609807 [cm-1]
      freq (   14) =       4.728859 [THz] =     157.737749 [cm-1]
      freq (   15) =       4.932859 [THz] =     164.542477 [cm-1]
      freq (   16) =       5.202748 [THz] =     173.544978 [cm-1]
      freq (   17) =       5.330812 [THz] =     177.816740 [cm-1]
      freq (   18) =       5.426124 [THz] =     180.996025 [cm-1]
      freq (   19) =       5.646891 [THz] =     188.360009 [cm-1]
      freq (   20) =       5.684767 [THz] =     189.623421 [cm-1]
      freq (   21) =       5.875059 [THz] =     195.970866 [cm-1]
      freq (   22) =       6.140941 [THz] =     204.839726 [cm-1]
      freq (   23) =       6.314265 [THz] =     210.621203 [cm-1]
      freq (   24) =       6.805195 [THz] =     226.996876 [cm-1]
      freq (   25) =       6.981255 [THz] =     232.869611 [cm-1]
      freq (   26) =       7.099799 [THz] =     236.823787 [cm-1]
      freq (   27) =       7.531945 [THz] =     251.238638 [cm-1]
      freq (   28) =       7.731825 [THz] =     257.905927 [cm-1]
      freq (   29) =       7.938052 [THz] =     264.784906 [cm-1]
      freq (   30) =       8.169520 [THz] =     272.505840 [cm-1]
      freq (   31) =       8.189725 [THz] =     273.179809 [cm-1]
      freq (   32) =       8.462378 [THz] =     282.274556 [cm-1]
      freq (   33) =       8.848503 [THz] =     295.154276 [cm-1]
      freq (   34) =       8.957313 [THz] =     298.783804 [cm-1]
      freq (   35) =       9.050100 [THz] =     301.878843 [cm-1]
      freq (   36) =       9.151521 [THz] =     305.261870 [cm-1]
      freq (   37) =       9.225627 [THz] =     307.733789 [cm-1]
      freq (   38) =       9.338684 [THz] =     311.504952 [cm-1]
      freq (   39) =       9.431271 [THz] =     314.593353 [cm-1]
      freq (   40) =       9.518806 [THz] =     317.513178 [cm-1]
      freq (   41) =       9.650749 [THz] =     321.914321 [cm-1]
      freq (   42) =       9.989868 [THz] =     333.226135 [cm-1]
      freq (   43) =       9.996378 [THz] =     333.443273 [cm-1]
      freq (   44) =      10.086953 [THz] =     336.464545 [cm-1]
      freq (   45) =      10.421421 [THz] =     347.621200 [cm-1]
      freq (   46) =      10.472919 [THz] =     349.338967 [cm-1]
      freq (   47) =      10.828233 [THz] =     361.190987 [cm-1]
      freq (   48) =      10.925580 [THz] =     364.438135 [cm-1]
      freq (   49) =      11.034104 [THz] =     368.058102 [cm-1]
      freq (   50) =      11.453661 [THz] =     382.053009 [cm-1]
      freq (   51) =      11.480166 [THz] =     382.937128 [cm-1]
      freq (   52) =      11.536829 [THz] =     384.827208 [cm-1]
      freq (   53) =      11.868990 [THz] =     395.906877 [cm-1]
      freq (   54) =      11.986577 [THz] =     399.829185 [cm-1]
      freq (   55) =      12.108428 [THz] =     403.893696 [cm-1]
      freq (   56) =      12.143909 [THz] =     405.077189 [cm-1]
      freq (   57) =      12.379643 [THz] =     412.940431 [cm-1]
      freq (   58) =      12.401894 [THz] =     413.682642 [cm-1]
      freq (   59) =      12.755807 [THz] =     425.487937 [cm-1]
      freq (   60) =      12.875588 [THz] =     429.483372 [cm-1]
      freq (   61) =      13.068485 [THz] =     435.917738 [cm-1]
      freq (   62) =      13.332600 [THz] =     444.727674 [cm-1]
      freq (   63) =      13.490286 [THz] =     449.987488 [cm-1]
      freq (   64) =      13.816544 [THz] =     460.870314 [cm-1]
      freq (   65) =      14.092092 [THz] =     470.061580 [cm-1]
      freq (   66) =      14.303528 [THz] =     477.114347 [cm-1]
      freq (   67) =      14.536567 [THz] =     484.887698 [cm-1]
      freq (   68) =      14.981102 [THz] =     499.715775 [cm-1]
      freq (   69) =      14.987572 [THz] =     499.931575 [cm-1]
      freq (   70) =      15.185102 [THz] =     506.520470 [cm-1]
      freq (   71) =      15.539944 [THz] =     518.356728 [cm-1]
      freq (   72) =      15.695306 [THz] =     523.539068 [cm-1]
      freq (   73) =      16.166570 [THz] =     539.258726 [cm-1]
      freq (   74) =      16.261157 [THz] =     542.413803 [cm-1]
      freq (   75) =      16.269140 [THz] =     542.680097 [cm-1]
      freq (   76) =      16.483941 [THz] =     549.845076 [cm-1]
      freq (   77) =      16.510207 [THz] =     550.721229 [cm-1]
      freq (   78) =      17.298804 [THz] =     577.026004 [cm-1]
      freq (   79) =      17.687601 [THz] =     589.994846 [cm-1]
      freq (   80) =      17.962738 [THz] =     599.172444 [cm-1]
      freq (   81) =      19.229719 [THz] =     641.434394 [cm-1]
      freq (   82) =      19.677294 [THz] =     656.363887 [cm-1]
      freq (   83) =      19.857773 [THz] =     662.384004 [cm-1]
      freq (   84) =      20.098314 [THz] =     670.407602 [cm-1]
      freq (   85) =      20.135885 [THz] =     671.660831 [cm-1]
      freq (   86) =      20.328369 [THz] =     678.081413 [cm-1]
      freq (   87) =      20.396787 [THz] =     680.363590 [cm-1]
      freq (   88) =      21.086066 [THz] =     703.355458 [cm-1]
      freq (   89) =      21.112730 [THz] =     704.244876 [cm-1]
      freq (   90) =      22.795830 [THz] =     760.387027 [cm-1]
      freq (   91) =      22.949020 [THz] =     765.496922 [cm-1]
      freq (   92) =      23.342413 [THz] =     778.619072 [cm-1]
      freq (   93) =      23.581159 [THz] =     786.582788 [cm-1]
      freq (   94) =      23.616861 [THz] =     787.773673 [cm-1]
      freq (   95) =      23.922475 [THz] =     797.967864 [cm-1]
      freq (   96) =      24.814061 [THz] =     827.707964 [cm-1]
      freq (   97) =      24.894337 [THz] =     830.385690 [cm-1]
      freq (   98) =      25.533795 [THz] =     851.715737 [cm-1]
      freq (   99) =      26.434452 [THz] =     881.758417 [cm-1]
      freq (  100) =      26.970149 [THz] =     899.627336 [cm-1]
      freq (  101) =      27.584458 [THz] =     920.118487 [cm-1]
      freq (  102) =      27.813007 [THz] =     927.742041 [cm-1]
      freq (  103) =      27.934550 [THz] =     931.796289 [cm-1]
      freq (  104) =      28.561104 [THz] =     952.695872 [cm-1]
      freq (  105) =      28.842424 [THz] =     962.079716 [cm-1]
      freq (  106) =      28.860104 [THz] =     962.669449 [cm-1]
      freq (  107) =      28.909121 [THz] =     964.304490 [cm-1]
      freq (  108) =      29.598563 [THz] =     987.301788 [cm-1]
      freq (  109) =      29.628042 [THz] =     988.285093 [cm-1]
      freq (  110) =      29.754858 [THz] =     992.515223 [cm-1]
      freq (  111) =      29.759884 [THz] =     992.682872 [cm-1]
      freq (  112) =      30.406993 [THz] =    1014.268102 [cm-1]
      freq (  113) =      32.116388 [THz] =    1071.287383 [cm-1]
      freq (  114) =      32.162327 [THz] =    1072.819759 [cm-1]
      freq (  115) =      32.213061 [THz] =    1074.512063 [cm-1]
      freq (  116) =      32.470517 [THz] =    1083.099849 [cm-1]
      freq (  117) =      32.782578 [THz] =    1093.509090 [cm-1]
      freq (  118) =      33.180170 [THz] =    1106.771351 [cm-1]
      freq (  119) =      33.966893 [THz] =    1133.013608 [cm-1]
      freq (  120) =     110.610586 [THz] =    3689.571991 [cm-1]
      freq (  121) =     110.662506 [THz] =    3691.303863 [cm-1]
      freq (  122) =     111.542628 [THz] =    3720.661579 [cm-1]
      freq (  123) =     111.593215 [THz] =    3722.348966 [cm-1]

I ran dynmat.x with asr=crystal and it turns the translation modes to zero
7. Dynmat input and output frequencies
&input
   fildyn = 'm.dyn1'
   asr    = 'crystal'
   filout = 'm.dynmat.modes'
   filmol = 'm.dynmat.mold'
   filxsf = 'm.dynmat.axsf'
/

  Reading Dynamical Matrix from file q1/m.dyn1
      ...Force constants read
      ...epsilon and Z* read
      Acoustic Sum Rule: || Z*(ASR) - Z*(orig)|| =    2.211608E-03
      Acoustic Sum Rule: ||dyn(ASR) - dyn(orig)||=    1.724331E-02
      A direction for q was not specified:TO-LO splitting will be absent

      Polarizability (A^3 units)
      multiply by 0.662450 for Clausius-Mossotti correction
         60.207115   -0.000007    0.177010
         -0.000007   59.234652   -0.000005
          0.177010   -0.000005   52.920786

      IR activities are in (D/A)^2/amu units

# mode   [cm-1]    [THz]      IR
     1     -0.00   -0.0000    0.0000
     2      0.00    0.0000    0.0000
     3      0.00    0.0000    0.0000
     4     53.70    1.6099    0.1106
     5     82.23    2.4653    2.5883
     6     83.00    2.4882    0.3302
     7     96.01    2.8782    1.3487
     8     98.08    2.9405    0.0104
     9     99.23    2.9750    0.2498
    10    105.70    3.1688    0.0153
    11    108.63    3.2567    0.4754
    12    123.46    3.7014    0.2031
    13    127.73    3.8291    0.1843
    14    158.06    4.7386    0.4219
    15    164.53    4.9325    0.0005
    16    173.66    5.2062    0.0000
    17    177.69    5.3271    0.0024
    18    180.11    5.3996    0.2262
    19    188.14    5.6403    0.0155
    20    190.34    5.7064    1.6606
    21    196.24    5.8832    0.0159
    22    204.68    6.1360    0.0103
    23    210.61    6.3141    0.1357
    24    227.00    6.8054    0.1085
    25    233.22    6.9917    0.6600
    26    235.99    7.0747    2.8483
    27    250.94    7.5229    0.2896
    28    257.90    7.7317    0.0000
    29    264.25    7.9220    1.0069
    30    272.41    8.1665    0.2341
    31    273.17    8.1895    0.0041
    32    282.29    8.4630    0.1257
    33    295.04    8.8451    0.0498
    34    298.52    8.9495    0.1379
    35    301.90    9.0508    0.4277
    36    305.28    9.1522    1.6220
    37    307.57    9.2209    0.0138
    38    311.48    9.3380    0.1778
    39    314.68    9.4339    0.1667
    40    317.58    9.5209    0.5800
    41    321.92    9.6508    0.0249
    42    333.43    9.9960    0.3356
    43    333.47    9.9970    0.3555
    44    336.75   10.0954    3.4034
    45    347.57   10.4200    2.8686
    46    349.34   10.4728    0.0635
    47    361.11   10.8259    0.4449
    48    364.45   10.9258    0.0942
    49    367.79   11.0262    1.0656
    50    382.07   11.4541    0.5969
    51    382.74   11.4741    0.0130
    52    384.53   11.5278    0.1253
    53    395.88   11.8681    4.9698
    54    399.63   11.9806    5.9454
    55    403.37   12.0926   27.1028
    56    405.16   12.1463    0.5105
    57    413.00   12.3814    0.1529
    58    413.69   12.4020    0.7546
    59    425.51   12.7565    0.5390
    60    429.29   12.8697   36.9684
    61    436.00   13.0709    0.7484
    62    444.73   13.3327    4.2894
    63    449.92   13.4882   19.1258
    64    460.89   13.8172    4.9506
    65    470.30   14.0992    0.0514
    66    477.16   14.3050    2.3278
    67    484.87   14.5360    4.7983
    68    499.69   14.9804   13.7588
    69    499.81   14.9838   12.1973
    70    506.41   15.1817   20.5662
    71    518.34   15.5396    4.4340
    72    523.48   15.6934    9.7251
    73    539.27   16.1668    0.9285
    74    542.37   16.2597    0.3814
    75    542.83   16.2735   18.3690
    76    549.90   16.4855    1.1800
    77    550.68   16.5090    3.0605
    78    576.86   17.2938    0.0859
    79    589.05   17.6593    8.0150
    80    599.20   17.9635    0.1500
    81    641.62   19.2352    1.8504
    82    655.59   19.6542    6.1568
    83    662.44   19.8595    0.2788
    84    670.38   20.0976    0.3682
    85    671.61   20.1343    0.0016
    86    678.11   20.3291    0.5227
    87    680.36   20.3967    0.0196
    88    703.37   21.0864    0.2361
    89    704.32   21.1149    0.3181
    90    760.43   22.7972    1.2158
    91    765.50   22.9490    0.0096
    92    778.61   23.3421    0.3408
    93    786.66   23.5833    0.3957
    94    787.77   23.6169    0.2681
    95    797.98   23.9228    0.3226
    96    828.76   24.8457    5.4193
    97    830.33   24.8927    0.2746
    98    851.82   25.5370    2.7169
    99    881.76   26.4346   24.9047
   100    899.70   26.9723    2.1052
   101    920.59   27.5985   10.0347
   102    927.78   27.8141   12.4298
   103    931.79   27.9345    0.0189
   104    952.74   28.5625   23.7190
   105    962.13   28.8440    1.5143
   106    962.81   28.8643   53.8168
   107    964.31   28.9093   46.8205
   108    987.26   29.5975    5.7762
   109    988.31   29.6288   55.6966
   110    992.53   29.7552   11.6715
   111    992.69   29.7601   93.8727
   112   1014.33   30.4089    0.0097
   113   1071.31   32.1170    1.9350
   114   1072.82   32.1623    0.6175
   115   1074.51   32.2129    4.6323
   116   1083.10   32.4705    0.0845
   117   1093.50   32.7824    0.4685
   118   1106.77   33.1802    0.0997
   119   1133.02   33.9672    5.9685
   120   3689.57  110.6106    0.0465
   121   3691.54  110.6695   11.7538
   122   3720.66  111.5427    0.1076
   123   3722.48  111.5973    6.6021
8. And finally q2r and matdyn.x with zasr and asr crytsal
&input
   fildyn = 'm.dyn'
   zasr   = 'crystal'
   flfrc  = 'm.fc'
/
&input
   asr      = 'crystal'
   flfrc    = 'm.fc'
   amass(1) = 38.9637065
   dos      = .true.
   nk1 = 8, nk2 = 8, nk3 = 8
   deltaE   = 1.0
   fldos    = 'm.k39.dos'
   flfrq    = 'm.k39.freq'
   flvec    = 'm.k39.modes'
/
9 Output from q2r and matdyn.x

  q-space grid ok, #points =   27

       fft-check warning: sum of imaginary terms = 2.436095E-12

The freq file from matdyn.x has negative translation near gamma
&plot nbnd= 123, nks= 170 /
             0.000000  0.000000  0.000000  0.001953
   -25.4030  -24.1658  -20.5509   54.2956   82.9501   90.0093
    98.0848   98.2365  105.3914  108.5475  108.9882  123.6404
   128.4145  161.3507  164.5470  173.4712  177.7483  180.3268
   188.3228  191.9883  196.3465  204.6744  210.6406  227.0024
   232.1894  236.5505  250.8958  257.9071  263.6238  272.4846
   273.1755  282.2306  295.0649  298.4571  302.1800  305.1177
   307.6435  311.4401  314.6509  317.6485  321.9210  333.4782
   333.5631  335.8760  347.8960  349.3904  361.0615  364.4414
   368.3845  382.0761  382.7262  384.2172  395.8639  399.2047
   403.3884  404.6824  412.9460  414.1691  425.5676  429.2739
   436.5667  447.7348  450.0906  460.8903  470.4607  479.2055
   484.6907  499.8335  501.5362  506.4163  518.3532  527.9044
   539.4250  542.2614  549.1750  550.2757  572.6883  577.1887
   597.6723  599.2089  641.6089  659.8079  662.9446  671.5860
   671.5946  678.1113  680.3593  703.3867  704.8960  761.4855
   766.5691  779.5772  786.3978  787.7163  798.0723  827.2345
   830.5278  852.1957  893.5260  902.2122  919.9951  928.1304
   931.7941  955.5080  962.1395  963.3985  987.2961  988.3140
   991.6192  992.6103 1014.3248 1053.6414 1071.2913 1072.8324
  1074.4802 1083.2602 1093.4962 1107.0191 1133.0359 3689.5710
  3691.6128 3720.6684 3722.5109
             0.000257  0.000000  0.065710  0.003906
   -17.3262   -3.5667    8.0111   55.0148   83.1380   89.7385
    96.8251  100.6583  104.5597  107.6886  111.9026  122.7155
   128.6329  160.8799  163.9052  173.5409  177.5116  180.6095
   187.6426  192.4424  196.9843  204.4817  211.2626  226.8215
   233.0843  236.9366  251.1031  257.3699  264.1940  271.3856
   274.5064  282.3862  294.9161  298.5947  302.1617  306.1791
   307.8760  311.6139  314.4560  317.9936  322.3751  332.0485
   334.8971  336.4177  347.0931  350.1503  360.9353  364.2904
   368.7518  381.8378  382.8137  384.1147  395.8462  399.1400
   403.7249  404.6531  412.8082  414.4797  425.6772  429.2090
   436.8054  448.0418  450.0547  460.9959  470.3438  479.7041
   485.0383  499.7878  501.4875  506.5424  518.0263  527.9022
   539.3645  542.2091  549.1140  550.1850  572.2701  577.1623
   597.8050  599.2083  641.0162  659.2297  662.9089  667.6897
   674.8180  677.7967  680.9186  703.0657  704.9355  761.3830
   766.3729  779.3102  786.6761  787.5112  798.2059  827.1392
   830.1996  851.6925  894.4025  902.9085  919.6735  927.4607
   931.7823  956.0886  962.1547  963.3434  987.3246  988.2680
   991.5846  992.6350 1013.5680 1053.7259 1070.6153 1073.3686
  1074.5335 1083.3400 1093.2528 1108.0320 1132.1468 3689.6104
  3691.5882 3720.7057 3722.5185
And I also get a negative tail in DOS file starting at -25.40cm-1? Is this a parameter issue that I might have missed in my input files?
Despite asr being set to crystal?
I hope these inputs and outputs are helpful.

Thank You
Best Regards

---
Bishwas Nautiyal
PhD Student
Institute of Geological Sciences, PAS
ul. Senacka 1,31-002 Krakow, Poland


On 2026-11-05 10:18, Lorenzo Paulatto wrote:


1. What causes such a large raw ASR violation in ph.x, and is there a way to reduce it? 2. Why does dynmat.x with asr = 'crystal' remove it at Gamma while matdyn.x with asr = 'crystal' does not? Is it related to the long- range (dipole) term that matdyn adds after the correction?

Probably yes, but you do not provide any detail that allows us to tell if it so.

Full input and output are more useful than a cute cat.

kind regards



--
Dr. Lorenzo Paulatto
IR IMPMC - CNRS UMR 7590 / Sorbonne Université / MNHN
phone: +33 (0)1 442 79822 / telegram: lpaulatto
people.impmc.fr/lpaulatto <http://people.impmc.fr/lpaulatto/> - anharmonic.github.io <https://anharmonic.github.io/>
23-24/423 B115, 4 place Jussieu 75252 Paris CX 05

_______________________________________________________________________________
The Quantum ESPRESSO Foundation stands in solidarity with all civilians worldwide who are victims of terrorism, military aggression, and indiscriminate warfare.
--------------------------------------------------------------------------------
Quantum ESPRESSO is supported by MaX (www.max-centre.eu <http:// www.max-centre.eu>) users mailing list [email protected] <mailto:[email protected]> https://lists.quantum-espresso.org/mailman/listinfo/users <https:// lists.quantum-espresso.org/mailman/listinfo/users>

_______________________________________________________________________________
The Quantum ESPRESSO Foundation stands in solidarity with all civilians 
worldwide who are victims of terrorism, military aggression, and indiscriminate 
warfare.
--------------------------------------------------------------------------------
Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
users mailing list [email protected]
https://lists.quantum-espresso.org/mailman/listinfo/users

--
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine Italy, +39-0432-558216

_______________________________________________________________________________
The Quantum ESPRESSO Foundation stands in solidarity with all civilians 
worldwide who are victims of terrorism, military aggression, and indiscriminate 
warfare.
--------------------------------------------------------------------------------
Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
users mailing list [email protected]
https://lists.quantum-espresso.org/mailman/listinfo/users

Reply via email to