MICCoM School 2017 Ex#3 : The GW self-energy

We are going to dive into the GW calculation done in Exercise #1.

In this excercixe we will focus on the input for wfreq.x.

[1]:
# download the pseudopotentials
!wget -N -q http://www.quantum-simulation.org/potentials/sg15_oncv/upf/Si_ONCV_PBE-1.2.upf
!wget -N -q http://www.quantum-simulation.org/potentials/sg15_oncv/upf/H_ONCV_PBE-1.2.upf

# download the input files
!wget -N -q https://west-code.org/doc/training/silane/pw.in
!wget -N -q https://west-code.org/doc/training/silane/wstat.in
!wget -N -q https://west-code.org/doc/training/silane/wfreq.in

We need to read the output of a DFT calculation, therefore as first step we run the DFT calculation invoking the executable pw.x on 8 cores.

[ ]:
!mpirun -n 8 pw.x -i pw.in > pw.out

We also need the dielectric matrix eigenpotentials in order to build G and W, therefore as second step we run the PDEP calculation invoking the executable wstat.x on 8 cores.

[ ]:
!mpirun -n 8 wstat.x -i wstat.in > wstat.out

3.1 : Calculation of the GW self-energy

Let’s give a quick look at the input for wfreq.x (description of the input variables for wfreq.x can be found here: https://west-code.org/doc/West/latest/manual.html#wfreq-control).

[2]:
!cat wfreq.in
input_west:
    qe_prefix: silane
    west_prefix: silane
    outdir: ./

wstat_control:
    wstat_calculation: S
    n_pdep_eigen: 50

wfreq_control:
    wfreq_calculation: XWGQ
    n_pdep_eigen_to_use: 50
    qp_bandrange: [1,5]
    n_refreq: 300
    ecut_refreq: 2.0

The keywords “XWGQ” instruct the code to compute the exact exchange operator (“X”), the screened Coulomb operator (“W”), the Green’s function (“G”), and the quasiparticle energies (“Q”).

In this case we are using the 50 eigenpotentials \(\phi_i\) obtained by wstat.x.

We are going to compute the GW energy of the states 1, 2, 3, 4 (HOMO), and 5 (LUMO). Remember that in this example (spin-unpolarized) each state can host two electrons.

The frequency cutoff controls the contour deformation integration.

Details about the implementation are described in J. Chem. Theory Comput. 11, 2680 (2015) :

7b57df18aec140f5828b12ebaf3895a9

[ ]:
!mpirun -n 8 wfreq.x -i wfreq.in > wfreq.out

We now load the output (JSON) of the wfreq.x calculation, which can be found in the wfreq.save folder.

[3]:
import json

# read data from JSON file
with open('silane.wfreq.save/wfreq.json', 'r') as file:
    data = json.load(file)

# pretty print the data
print(json.dumps(data, indent=2))
{
  "runjob": {
    "startdate": "17Aug2022",
    "starttime": "11:49:24",
    "completed": true,
    "endtime": "11:49:53",
    "enddate": "17Aug2022"
  },
  "software": {
    "package": "WEST",
    "program": "WFREQ",
    "version": "5.0.0",
    "westgit": "v5.0.0-117-ga4764c0",
    "website": "https://west-code.org",
    "citation": "M. Govoni et al., J. Chem. Theory Comput. 11, 2680 (2015).",
    "qeversion": "7.1"
  },
  "config": {
    "io": {
      "islittleendian": true
    }
  },
  "parallel": {
    "nranks": 2,
    "nimage": 1,
    "npool": 1,
    "nbgrp": 1,
    "nrg": 2,
    "nproc": 36,
    "nthreads": 18
  },
  "input": {
    "input_west": {
      "qe_prefix": "silane",
      "west_prefix": "silane",
      "outdir": "./"
    },
    "wstat_control": {
      "wstat_calculation": "S",
      "n_pdep_eigen": 50,
      "n_pdep_times": 4,
      "n_pdep_maxiter": 100,
      "n_dfpt_maxiter": 250,
      "n_pdep_read_from_file": 0,
      "n_steps_write_restart": 1,
      "trev_pdep": 0.001,
      "trev_pdep_rel": 0.1,
      "tr2_dfpt": 1e-12,
      "l_kinetic_only": false,
      "l_minimize_exx_if_active": false,
      "l_use_ecutrho": false,
      "qlist": [
        1
      ]
    },
    "wfreq_control": {
      "wfreq_calculation": "XWGQ",
      "n_pdep_eigen_to_use": 50,
      "qp_bandrange": [
        1,
        5
      ],
      "macropol_calculation": "N",
      "n_lanczos": 30,
      "n_imfreq": 128,
      "n_refreq": 300,
      "ecut_imfreq": 100.0,
      "ecut_refreq": 2.0,
      "wfreq_eta": 0.0036749308824745378,
      "n_secant_maxiter": 21,
      "trev_secant": 0.0036749308824745378,
      "l_enable_lanczos": true,
      "o_restart_time": 0.0,
      "ecut_spectralf": [
        -2.0,
        1.0
      ],
      "n_spectralf": 204
    }
  },
  "system": {
    "basis": {
      "npw": {
        "proc": [
          0,
          0
        ],
        "min": 0,
        "max": 0,
        "sum": 0
      },
      "ngm": {
        "proc": [
          33761,
          33761
        ],
        "min": 33761,
        "max": 33761,
        "sum": 67522
      },
      "gamma_only": true,
      "ecutwfc:ry": 25.0,
      "ecutrho:ry": 100.0
    },
    "cell": {
      "units": "a.u.",
      "omega": 8000.0,
      "a1": [
        20.0,
        0.0,
        0.0
      ],
      "a2": [
        0.0,
        20.0,
        0.0
      ],
      "a3": [
        0.0,
        0.0,
        20.0
      ],
      "b1": [
        0.3141592653589793,
        0.0,
        0.0
      ],
      "b2": [
        0.0,
        0.3141592653589793,
        0.0
      ],
      "b3": [
        0.0,
        0.0,
        0.3141592653589793
      ],
      "alat": 20.0,
      "tpiba": 0.3141592653589793
    },
    "electron": {
      "nbnd": 10,
      "nkstot": 1,
      "nspin": 1,
      "nelec": 8.0,
      "npol": 1,
      "lsda": false,
      "noncolin": false,
      "lspinorb": false
    },
    "3dfft": {
      "s": [
        64,
        64,
        64
      ],
      "p": [
        64,
        64,
        64
      ]
    },
    "bzsamp": {
      "k": [
        {
          "id": 1,
          "crystcoord": [
            0.0,
            0.0,
            0.0
          ]
        }
      ]
    }
  },
  "exec": {
    "Q": {
      "secitr": 3,
      "en": [
        {
          "ksb": [
            1,
            1,
            1
          ],
          "ein": [
            -13.236948730745993,
            -16.274079895237996,
            -16.113118881544086
          ],
          "eout": [
            -16.274079895237996,
            -16.113118881544086,
            -16.135751705765212
          ],
          "sc_ein": [
            [
              1.7648786805436507,
              0.014572339286581349
            ],
            [
              3.5765028709322677,
              0.07577914694131388
            ],
            [
              3.4384458185468487,
              0.11603251905188436
            ]
          ]
        },
        {
          "ksb": [
            1,
            1,
            2
          ],
          "ein": [
            -8.231838447080957,
            -12.152440223683891,
            -12.045168866769844
          ],
          "eout": [
            -12.152440223683891,
            -12.045168866769844,
            -12.047981701915175
          ],
          "sc_ein": [
            [
              0.009840666434917919,
              0.003269648759422666
            ],
            [
              0.7294770853239745,
              0.008919886475089428
            ],
            [
              0.7063683707165244,
              0.0087855155566386
            ]
          ]
        },
        {
          "ksb": [
            1,
            1,
            3
          ],
          "ein": [
            -8.230714368411038,
            -12.14867626806817,
            -12.041327347372851
          ],
          "eout": [
            -12.14867626806817,
            -12.041327347372851,
            -12.044133556216615
          ],
          "sc_ein": [
            [
              0.012755402617866242,
              0.0032697391091808365
            ],
            [
              0.7319348278418772,
              0.008920672846219913
            ],
            [
              0.7088194370441542,
              0.008786259213802905
            ]
          ]
        },
        {
          "ksb": [
            1,
            1,
            4
          ],
          "ein": [
            -8.230556032205104,
            -12.147747634498469,
            -12.04036492867603
          ],
          "eout": [
            -12.147747634498469,
            -12.04036492867603,
            -12.0431690105994
          ],
          "sc_ein": [
            [
              0.01361081347029257,
              0.0032697883548870464
            ],
            [
              0.7326835382931621,
              0.008921251741771392
            ],
            [
              0.7095636523063199,
              0.008786812381482984
            ]
          ]
        },
        {
          "ksb": [
            1,
            1,
            5
          ],
          "ein": [
            -0.46558623738333965,
            0.6657316496384642,
            0.6646203810762062
          ],
          "eout": [
            0.6657316496384642,
            0.6646203810762062,
            0.6646203810762062
          ],
          "sc_ein": [
            [
              -0.3489198339072822,
              -1.0634900239576885e-05
            ],
            [
              -0.3727187208565701,
              -0.0001168438798018746
            ],
            [
              -0.37269430531199454,
              -0.0001168438798018746
            ]
          ]
        }
      ]
    }
  },
  "output": {
    "Q": {
      "bandmap": [
        1,
        2,
        3,
        4,
        5
      ],
      "K000001": {
        "sigmax": [
          -17.60635669245776,
          -15.766143243592401,
          -15.765429517122184,
          -15.765268997624062,
          -0.5872822308075556
        ],
        "vxcl": [
          -11.249695614342661,
          -11.24302566873253,
          -11.242586632689184,
          -11.242488637916345,
          -2.0901841930028935
        ],
        "vxcnl": [
          0.0,
          0.0,
          0.0,
          0.0,
          0.0
        ],
        "hf": [
          -6.356661078115098,
          -4.523117574859871,
          -4.522842884433,
          -4.522780359707718,
          1.502901962195338
        ],
        "z": [
          0.6614275027706701,
          0.8686818593568523,
          0.8687108432939544,
          0.8687168584206324,
          0.980359972038844
        ],
        "eks": [
          -13.236948730745993,
          -8.231838447080957,
          -8.230714368411038,
          -8.230556032205104,
          -0.46558623738333965
        ],
        "eqpLin": [
          -16.274079895237996,
          -12.152440223683891,
          -12.14867626806817,
          -12.147747634498469,
          0.6657316496384642
        ],
        "eqpSec": [
          -16.135751705765212,
          -12.047981701915175,
          -12.044133556216615,
          -12.0431690105994,
          0.6646203810762062
        ],
        "sigmac_eks": {
          "re": [
            1.7648786805436507,
            0.009840666434917919,
            0.012755402617866242,
            0.01361081347029257,
            -0.3489198339072822
          ],
          "im": [
            0.014572339286581349,
            0.003269648759422666,
            0.0032697391091808365,
            0.0032697883548870464,
            -1.0634900239576885e-05
          ]
        },
        "sigmac_eqpLin": {
          "re": [
            3.5765028709322677,
            0.7294770853239745,
            0.7319348278418772,
            0.7326835382931621,
            -0.3727187208565701
          ],
          "im": [
            0.07577914694131388,
            0.008919886475089428,
            0.008920672846219913,
            0.008921251741771392,
            -0.0001168438798018746
          ]
        },
        "sigmac_eqpSec": {
          "re": [
            3.4384458185468487,
            0.7063683707165244,
            0.7088194370441542,
            0.7095636523063199,
            -0.37269430531199454
          ],
          "im": [
            0.11603251905188436,
            0.0087855155566386,
            0.008786259213802905,
            0.008786812381482984,
            -0.0001168438798018746
          ]
        },
        "sigma_diff": [
          -0.022632824221126488,
          -0.00281283514533227,
          -0.002806208843762687,
          -0.0028040819233693345,
          0.0
        ]
      }
    }
  },
  "timing": {
    "WFREQ": {
      "cpu:sec": 433.02074700000003,
      "cpu:hum": "07m-13.0s",
      "wall:sec": 28.02621102333069,
      "wall:hum": "28.0s",
      "nocalls": 2
    },
    "wfreq_readin": {
      "cpu:sec": 1.4224249999999998,
      "cpu:hum": "01.4s",
      "wall:sec": 0.5878539085388184,
      "wall:hum": "00.5s",
      "nocalls": 1
    },
    "fetch_input": {
      "cpu:sec": 0.11673500000000003,
      "cpu:hum": "00.1s",
      "wall:sec": 0.013164997100830078,
      "wall:hum": "< 00.1s",
      "nocalls": 2
    },
    "fft": {
      "cpu:sec": 0.7475280000000002,
      "cpu:hum": "00.7s",
      "wall:sec": 0.4337337017059326,
      "wall:hum": "00.4s",
      "nocalls": 14
    },
    "fft_scatter": {
      "cpu:sec": 79.40591099999807,
      "cpu:hum": "01m-19.4s",
      "wall:sec": 5.015791416168213,
      "wall:hum": "05.0s",
      "nocalls": 14473
    },
    "init_vloc": {
      "cpu:sec": 0.18284699999999976,
      "cpu:hum": "00.1s",
      "wall:sec": 0.012270927429199219,
      "wall:hum": "< 00.1s",
      "nocalls": 2
    },
    "init_us_1": {
      "cpu:sec": 0.2363050000000002,
      "cpu:hum": "00.2s",
      "wall:sec": 0.016676902770996094,
      "wall:hum": "< 00.1s",
      "nocalls": 2
    },
    "v_of_rho": {
      "cpu:sec": 0.7574919999999999,
      "cpu:hum": "00.7s",
      "wall:sec": 0.04927706718444824,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    },
    "v_xc": {
      "cpu:sec": 1.115234,
      "cpu:hum": "01.1s",
      "wall:sec": 0.07056808471679688,
      "wall:hum": "< 00.1s",
      "nocalls": 2
    },
    "v_h": {
      "cpu:sec": 0.05118299999999998,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.0036971569061279297,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    },
    "do_setup": {
      "cpu:sec": 0.420706,
      "cpu:hum": "00.4s",
      "wall:sec": 0.0266110897064209,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    },
    "init_pw_ar": {
      "cpu:sec": 0.36714,
      "cpu:hum": "00.3s",
      "wall:sec": 0.02280116081237793,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    },
    "hinit0": {
      "cpu:sec": 0.2794049999999999,
      "cpu:hum": "00.2s",
      "wall:sec": 0.017242908477783203,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    },
    "solve_hf": {
      "cpu:sec": 2.3319,
      "cpu:hum": "02.3s",
      "wall:sec": 0.14495205879211426,
      "wall:hum": "00.1s",
      "nocalls": 1
    },
    "sigmavxc": {
      "cpu:sec": 0.21133500000000005,
      "cpu:hum": "00.2s",
      "wall:sec": 0.013345956802368164,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    },
    "init_us_2": {
      "cpu:sec": 0.13846300000000156,
      "cpu:hum": "00.1s",
      "wall:sec": 0.009094953536987305,
      "wall:hum": "< 00.1s",
      "nocalls": 3
    },
    "init_us_2:cp": {
      "cpu:sec": 0.13784399999997277,
      "cpu:hum": "00.1s",
      "wall:sec": 0.009055852890014648,
      "wall:hum": "< 00.1s",
      "nocalls": 3
    },
    "fftw": {
      "cpu:sec": 300.84294200000045,
      "cpu:hum": "05m-00.8s",
      "wall:sec": 18.790026664733887,
      "wall:hum": "18.7s",
      "nocalls": 14439
    },
    "sigmax": {
      "cpu:sec": 1.681152,
      "cpu:hum": "01.6s",
      "wall:sec": 0.10448408126831055,
      "wall:hum": "00.1s",
      "nocalls": 1
    },
    "sqvc_init": {
      "cpu:sec": 0.25548900000006824,
      "cpu:hum": "00.2s",
      "wall:sec": 0.03452634811401367,
      "wall:hum": "< 00.1s",
      "nocalls": 11
    },
    "ffts": {
      "cpu:sec": 0.681279,
      "cpu:hum": "00.6s",
      "wall:sec": 0.04274606704711914,
      "wall:hum": "< 00.1s",
      "nocalls": 20
    },
    "write_hf": {
      "cpu:sec": 0.011789000000000271,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.0008139610290527344,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    },
    "wlanczos": {
      "cpu:sec": 193.496094,
      "cpu:hum": "03m-13.4s",
      "wall:sec": 12.330339908599854,
      "wall:hum": "12.3s",
      "nocalls": 1
    },
    "pdep_read": {
      "cpu:sec": 1.6891720000000987,
      "cpu:hum": "01.6s",
      "wall:sec": 0.18372178077697754,
      "wall:hum": "00.1s",
      "nocalls": 100
    },
    "alphapc": {
      "cpu:sec": 4.381300000000294,
      "cpu:hum": "04.3s",
      "wall:sec": 0.27483534812927246,
      "wall:hum": "00.2s",
      "nocalls": 283
    },
    "lan_H": {
      "cpu:sec": 381.59998600000006,
      "cpu:hum": "06m-21.5s",
      "wall:sec": 23.84375834465027,
      "wall:hum": "23.8s",
      "nocalls": 9
    },
    "h_psi": {
      "cpu:sec": 326.9270000000007,
      "cpu:hum": "05m-26.9s",
      "wall:sec": 20.43570113182068,
      "wall:hum": "20.4s",
      "nocalls": 270
    },
    "h_psi:pot": {
      "cpu:sec": 325.50325600000025,
      "cpu:hum": "05m-25.5s",
      "wall:sec": 20.345640420913696,
      "wall:hum": "20.3s",
      "nocalls": 270
    },
    "vloc_psi": {
      "cpu:sec": 320.40288400000026,
      "cpu:hum": "05m-20.4s",
      "wall:sec": 20.026703596115112,
      "wall:hum": "20.0s",
      "nocalls": 270
    },
    "h_psi:calbec": {
      "cpu:sec": 2.607253000000128,
      "cpu:hum": "02.6s",
      "wall:sec": 0.16390728950500488,
      "wall:hum": "00.1s",
      "nocalls": 270
    },
    "calbec": {
      "cpu:sec": 2.5379690000000323,
      "cpu:hum": "02.5s",
      "wall:sec": 0.1596684455871582,
      "wall:hum": "00.1s",
      "nocalls": 270
    },
    "add_vuspsi": {
      "cpu:sec": 2.3486820000000534,
      "cpu:hum": "02.3s",
      "wall:sec": 0.14653515815734863,
      "wall:hum": "00.1s",
      "nocalls": 270
    },
    "brak": {
      "cpu:sec": 7.758552000000066,
      "cpu:hum": "07.7s",
      "wall:sec": 0.49863171577453613,
      "wall:hum": "00.4s",
      "nocalls": 9
    },
    "sw_restart": {
      "cpu:sec": 0.41395099999996887,
      "cpu:hum": "00.4s",
      "wall:sec": 0.08451104164123535,
      "wall:hum": "< 00.1s",
      "nocalls": 4
    },
    "chi_invert": {
      "cpu:sec": 0.02574999999998795,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.03121185302734375,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    },
    "glanczos": {
      "cpu:sec": 235.154872,
      "cpu:hum": "03m-55.1s",
      "wall:sec": 14.784619808197021,
      "wall:hum": "14.7s",
      "nocalls": 1
    },
    "write_over": {
      "cpu:sec": 0.07077600000008033,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.004719734191894531,
      "wall:hum": "< 00.1s",
      "nocalls": 5
    },
    "write_gfreq": {
      "cpu:sec": 0.17641399999996565,
      "cpu:hum": "00.1s",
      "wall:sec": 0.014179229736328125,
      "wall:hum": "< 00.1s",
      "nocalls": 5
    },
    "sg_restart": {
      "cpu:sec": 0.057460999999989326,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.004120349884033203,
      "wall:hum": "< 00.1s",
      "nocalls": 5
    },
    "solve_qp": {
      "cpu:sec": 0.07704000000001088,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.10379791259765625,
      "wall:hum": "00.1s",
      "nocalls": 1
    },
    "coll_gw": {
      "cpu:sec": 0.029298999999980424,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.03835892677307129,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    },
    "read_over": {
      "cpu:sec": 0.0005629999999428037,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.002696990966796875,
      "wall:hum": "< 00.1s",
      "nocalls": 5
    },
    "read_gfreq": {
      "cpu:sec": 0.0013369999999781612,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.006660938262939453,
      "wall:hum": "< 00.1s",
      "nocalls": 5
    },
    "read_hf": {
      "cpu:sec": 0.0,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.0009639263153076172,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    },
    "sigmac_i": {
      "cpu:sec": 0.021983999999974912,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.022049903869628906,
      "wall:hum": "< 00.1s",
      "nocalls": 4
    },
    "sigmac_r": {
      "cpu:sec": 0.00026799999994864265,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.0002789497375488281,
      "wall:hum": "< 00.1s",
      "nocalls": 4
    },
    "wfreq_db": {
      "cpu:sec": 0.0027069999999866923,
      "cpu:hum": "< 00.1s",
      "wall:sec": 0.004580020904541016,
      "wall:hum": "< 00.1s",
      "nocalls": 1
    }
  }
}

We plot the energy levels of DFT and GW.

[4]:
import numpy as np
import matplotlib.pyplot as plt

# extracting energy levels from the data
y = {}
y['dft'] = data['output']['Q']['K000001']['eks']
y['gw']  = data['output']['Q']['K000001']['eqpSec']

# colors
c = {}
c['dft'] = 'red'
c['gw']  = 'green'

# plot
x = list(range(1, len(y)+1))
labels = y.keys()

fig, ax = plt.subplots(1, 1)
counter = 0
for i in labels :
    for a in y[i] :
        ax.hlines(a, x[counter]-0.25, x[counter]+0.25, color=c[i])
    counter += 1

plt.xticks(x, labels)

plt.ylabel('Energy (eV)')
plt.title('Electronic structure')

plt.show()
../../_images/tutorials_MICCoM_School_2017_miccom_003_14_0.png

Let’s plot the density of states (DOS) of DFT and GW, obtained as a sum of Gaussian functions

\begin{equation} \text{DOS}(E) = \sum_{i=1}^{N_{\text{states}}} \frac{1}{\sqrt{2\pi\sigma^2}} e^{-\frac{(E-E_i)^2}{2\sigma^2}} \end{equation}

We are going to set \(\sigma=0.2eV\).

[5]:
from westpy import *

es = ElectronicStructure()

for key in ['dft','gw'] :
    es.addKey(key,key)
    b = 0
    for energy in y[key] :
        es.addDataPoint([1,1,b+1],key,y[key][b])
        b += 1

es.plotDOS(kk=[1],ss=[1],energyKeys=['dft','gw'],energyRange=[-18.,2.,0.01],fname='dos.png')

 _    _ _____ _____ _____
| |  | |  ___/  ___|_   _|
| |  | | |__ \ `--.  | |_ __  _   _
| |/\| |  __| `--. \ | | '_ \| | | |
\  /\  / |___/\__/ / | | |_) | |_| |
 \/  \/\____/\____/  \_/ .__/ \__, |
                       | |     __/ |
                       |_|    |___/

WEST version     :  5.2.0
Today            :  2022-10-07 12:29:53.167016
Requested (emin,emax) :  -18.0 2.0
Detected  (emin,emax) :  -16.135751705765212 0.6646203810762062
output written in :  dos.png
waiting for user to close image preview...
../../_images/tutorials_MICCoM_School_2017_miccom_003_16_1.png

5.2 : GW-full and GW-linear

The algorithms implemented in WEST make affordable the calculation of the quasiparticle equation self-consistently, which we can call GW-full

\begin{equation} E^{\text{GW-full}}_n = \varepsilon^{\text{DFT}}_n + \left\langle \psi_n \right | \Sigma(E^{\text{GW-full}}_n) - V_{\text{xc}}\left| \psi_n \right\rangle \end{equation}

However, in literature one often introduces a Taylor expansion of the self-energy \(\Sigma\) around the DFT energy

\begin{equation} \Sigma(E^{\text{QP}}_n) = \Sigma(\varepsilon^{\text{DFT}}_n) + \left.\frac{d\Sigma}{dE}\right|_{E=\varepsilon^{\text{DFT}}_n} (E^{\text{QP}}_n-\varepsilon^{\text{DFT}}_n)+\cdots \end{equation}

In this way, called here GW-linear, operators can be evaluated one time at DFT energies only (no iteration is needed)

\begin{equation} E^{\text{GW-linear}}_n = \varepsilon^{\text{DFT}}_n + Z_n \left\langle \psi_n \right | \Sigma(\varepsilon^{\text{DFT}}_n) - V_{\text{xc}}\left| \psi_n \right\rangle \end{equation}

where \(Z_n=\left(1-\left.\frac{d\Sigma}{dE}\right|_{E=\varepsilon^{\text{DFT}}_n}\right)^{-1}\).

WEST will always aim at computing GW-full, using a secant iteration scheme, however GW-linear is saved in output as it corresponds to the first iteration of the secant method.

We plot the energy levels of DFT and GW-full and GW-linear.

[6]:
import numpy as np
import matplotlib.pyplot as plt

# extracting energy levels from the data
y = {}
y['dft']     = data['output']['Q']['K000001']['eks']
y['gw-lin']  = data['output']['Q']['K000001']['eqpLin']
y['gw-full'] = data['output']['Q']['K000001']['eqpSec']

print('gw-lin :' , y['gw-lin'])
print('gw-full :', y['gw-full'])

# colors
c = {}
c['dft']     = 'red'
c['gw-lin']  = 'green'
c['gw-full'] = 'blue'

# plot
x = list(range(1, len(y)+1))
labels = y.keys()

fig, ax = plt.subplots(1, 1)
counter = 0
for i in labels :
    for a in y[i] :
        ax.hlines(a, x[counter]-0.25, x[counter]+0.25, color=c[i])
    counter += 1

plt.xticks(x, labels)

plt.ylabel('Energy (eV)')
plt.title('Electronic structure')

plt.show()
gw-lin : [-16.274079895237996, -12.152440223683891, -12.14867626806817, -12.147747634498469, 0.6657316496384642]
gw-full : [-16.135751705765212, -12.047981701915175, -12.044133556216615, -12.0431690105994, 0.6646203810762062]
../../_images/tutorials_MICCoM_School_2017_miccom_003_19_1.png

GW-linear and GW-full give similar results. In order to understand why Taylor exapanding the self-energy \(\Sigma\) around DFT energies, we redo the calculation turning on the runlevel P, which will compute \(\Sigma(E)\) on a regular mesh of energies.

Let’s add the part related to the plot of the self-energy in wfreq.in.

[7]:
import yaml

# read data wfreq.in
with open('wfreq.in', 'r') as file:
    input_data = yaml.load(file, Loader=yaml.FullLoader)

# pretty print
print('input_data')
print(yaml.dump(input_data, sort_keys=False))

# modify the input_data
input_data['wfreq_control']['wfreq_calculation'] = 'XWGQP'
input_data['wfreq_control']['qp_bandrange'] = [4,5]
input_data['wfreq_control']['ecut_spectralf'] = [-1.5,0.5]
input_data['wfreq_control']['n_spectralf'] = 300

# write data to YAML file
with open('wfreq_P.in', 'w') as file:
    yaml.dump(input_data, file, sort_keys=False)

# show content of the file
print('wfreq_P.in')
!cat wfreq_P.in
input_data
input_west:
  qe_prefix: silane
  west_prefix: silane
  outdir: ./
wstat_control:
  wstat_calculation: S
  n_pdep_eigen: 50
wfreq_control:
  wfreq_calculation: XWGQ
  n_pdep_eigen_to_use: 50
  qp_bandrange:
  - 1
  - 5
  n_refreq: 300
  ecut_refreq: 2.0

wfreq_P.in
input_west:
  qe_prefix: silane
  west_prefix: silane
  outdir: ./
wstat_control:
  wstat_calculation: S
  n_pdep_eigen: 50
wfreq_control:
  wfreq_calculation: XWGQP
  n_pdep_eigen_to_use: 50
  qp_bandrange:
  - 4
  - 5
  n_refreq: 300
  ecut_refreq: 2.0
  ecut_spectralf:
  - -1.5
  - 0.5
  n_spectralf: 300
[ ]:
!mpirun -n 8 wfreq.x -i wfreq_P.in > wfreq_P.out

We plot the self-energy.

[8]:
import json
import numpy as np

# Load the output data
with open('silane.wfreq.save/wfreq_P.json', 'r') as json_file:
    data = json.load(json_file)

# Extract converged quasiparticle (QP) corrections
k = 1
kindex = f'K{k:06d}'

bandmap = data['output']['Q']['bandmap']
eqp = data['output']['Q'][kindex]

freqlist = np.array(data['output']['P']['freqlist'], dtype='f8')
spf = data['output']['P'][kindex]

# Plot
import matplotlib.pyplot as plt

for i, b in enumerate(bandmap) :

    eks, eqpLin, eqpSec = eqp['eks'][i], eqp['eqpLin'][i], eqp['eqpSec'][i]

    # Print QP corrections
    print(f"{'k':^10} | {'band':^10} | {'eks [eV]':^15} | {'eqpLin [eV]':^15} | {'eqpSec [eV]':^15}")
    print(77*'-')
    print(f'{k:^10} | {b:^10} | {eks:^15.3f} | {eqpLin:^15.3f} | {eqpSec:^15.3f}')

    sigmax, vxcl, vxcnl = eqp['sigmax'][i], eqp['vxcl'][i], eqp['vxcnl'][i]
    sigmac_eks = eqp['sigmac_eks']['re'][i]
    sigmac_eqpLin = eqp['sigmac_eqpLin']['re'][i]
    sigmac_eqpSec = eqp['sigmac_eqpSec']['re'][i]
    z = eqp['z'][i]

    bindex = f'B{b:06d}'
    sigmac = np.array(spf[bindex]['sigmac']['re'], dtype='f8')

    # Left-hand side of QP equation
    plt.plot(freqlist,freqlist-eks,'r-',label=r'$E-\varepsilon_{KS}$')

    # Right-hand side of QP equation without linearization
    plt.plot(freqlist,sigmac+sigmax-vxcl-vxcnl,'b-',label=r'$\Sigma(E)-V_{xc}$')

    # Right-hand side of QP equation with linearization
    plt.plot(freqlist,sigmac_eks+sigmax-vxcl-vxcnl+(1-1/z)*(freqlist-eks),'g-',label=r'$\Sigma^{lin}(E)-V_{xc}$')

    plt.legend()
    plt.title(kindex+' '+bindex)
    plt.xlabel('frequency (eV)')
    plt.ylabel('function (eV)')
    xmin, xmax = min(eks, eqpLin, eqpSec), max(eks, eqpLin, eqpSec)
    ymin, ymax = min(sigmac_eks, sigmac_eqpLin, sigmac_eqpSec), max(sigmac_eks, sigmac_eqpLin, sigmac_eqpSec)
    ymin += sigmax - vxcl -vxcnl
    ymax += sigmax - vxcl -vxcnl
    plt.vlines(x=eks,ymin=ymin-0.2*(ymax-ymin),ymax=ymax+0.2*(ymax-ymin),ls='--')
    plt.vlines(x=eqpLin,ymin=ymin-0.2*(ymax-ymin),ymax=ymax+0.2*(ymax-ymin),ls=':',color='g')
    plt.vlines(x=eqpSec,ymin=ymin-0.2*(ymax-ymin),ymax=ymax+0.2*(ymax-ymin),ls=':',color='b')
    plt.xlim([xmin-0.2*(xmax-xmin),xmax+0.2*(xmax-xmin)])
    plt.ylim([ymin-0.2*(ymax-ymin),ymax+0.2*(ymax-ymin)])
    plt.show()
    k      |    band    |    eks [eV]     |   eqpLin [eV]   |   eqpSec [eV]
-----------------------------------------------------------------------------
    1      |     1      |     -13.238     |     -16.275     |     -16.138
../../_images/tutorials_MICCoM_School_2017_miccom_003_24_1.png
    k      |    band    |    eks [eV]     |   eqpLin [eV]   |   eqpSec [eV]
-----------------------------------------------------------------------------
    1      |     2      |     -8.232      |     -12.153     |     -12.048
../../_images/tutorials_MICCoM_School_2017_miccom_003_24_3.png
    k      |    band    |    eks [eV]     |   eqpLin [eV]   |   eqpSec [eV]
-----------------------------------------------------------------------------
    1      |     3      |     -8.232      |     -12.150     |     -12.045
../../_images/tutorials_MICCoM_School_2017_miccom_003_24_5.png
    k      |    band    |    eks [eV]     |   eqpLin [eV]   |   eqpSec [eV]
-----------------------------------------------------------------------------
    1      |     4      |     -8.231      |     -12.149     |     -12.044
../../_images/tutorials_MICCoM_School_2017_miccom_003_24_7.png
    k      |    band    |    eks [eV]     |   eqpLin [eV]   |   eqpSec [eV]
-----------------------------------------------------------------------------
    1      |     5      |     -0.466      |      0.665      |      0.664
../../_images/tutorials_MICCoM_School_2017_miccom_003_24_9.png

Question: Why for SiH4 GW-linear energies are lower than GW-full ones?

5.3 : Convergence of GW with respect to npdep

The basis set used to represent the dielectric matrix needs to be converged. We have computed \(50\) eigenpotentials. We can now use fewer eigenpotentials in GW and test the convergece.

Let’s prepare the input for 5 calculations done with 10, 20, 30, 40, 50 eigenpotentials. We will also stash the output file for later comparison.

[9]:
import yaml

# we need to create 5 files, each with a different value of the variable n_pdep_eigen_to_use
for npdep in [10, 20, 30, 40, 50] :

    # read data wfreq.in
    with open('wfreq.in', 'r') as file:
        input_data = yaml.load(file, Loader=yaml.FullLoader)

    # modify the input_data
    input_data['wfreq_control']['n_pdep_eigen_to_use'] = npdep

    # write data to YAML file
    with open('wfreq_'+str(npdep)+'.in', 'w') as file:
        yaml.dump(input_data, file, sort_keys=False)
[10]:
# give a quick look
!cat wfreq_10.in
!cat wfreq_20.in
!cat wfreq_30.in
!cat wfreq_40.in
!cat wfreq_50.in
input_west:
  qe_prefix: silane
  west_prefix: silane
  outdir: ./
wstat_control:
  wstat_calculation: S
  n_pdep_eigen: 50
wfreq_control:
  wfreq_calculation: XWGQ
  n_pdep_eigen_to_use: 10
  qp_bandrange:
  - 1
  - 5
  n_refreq: 300
  ecut_refreq: 2.0
input_west:
  qe_prefix: silane
  west_prefix: silane
  outdir: ./
wstat_control:
  wstat_calculation: S
  n_pdep_eigen: 50
wfreq_control:
  wfreq_calculation: XWGQ
  n_pdep_eigen_to_use: 20
  qp_bandrange:
  - 1
  - 5
  n_refreq: 300
  ecut_refreq: 2.0
input_west:
  qe_prefix: silane
  west_prefix: silane
  outdir: ./
wstat_control:
  wstat_calculation: S
  n_pdep_eigen: 50
wfreq_control:
  wfreq_calculation: XWGQ
  n_pdep_eigen_to_use: 30
  qp_bandrange:
  - 1
  - 5
  n_refreq: 300
  ecut_refreq: 2.0
input_west:
  qe_prefix: silane
  west_prefix: silane
  outdir: ./
wstat_control:
  wstat_calculation: S
  n_pdep_eigen: 50
wfreq_control:
  wfreq_calculation: XWGQ
  n_pdep_eigen_to_use: 40
  qp_bandrange:
  - 1
  - 5
  n_refreq: 300
  ecut_refreq: 2.0
input_west:
  qe_prefix: silane
  west_prefix: silane
  outdir: ./
wstat_control:
  wstat_calculation: S
  n_pdep_eigen: 50
wfreq_control:
  wfreq_calculation: XWGQ
  n_pdep_eigen_to_use: 50
  qp_bandrange:
  - 1
  - 5
  n_refreq: 300
  ecut_refreq: 2.0
[ ]:
# run them all and stash the output

!mpirun -n 8 wfreq.x -i wfreq_10.in > wfreq_10.out
!mv silane.wfreq.save/wfreq.json wfreq_10.json

!mpirun -n 8 wfreq.x -i wfreq_20.in > wfreq_20.out
!mv silane.wfreq.save/wfreq.json wfreq_20.json

!mpirun -n 8 wfreq.x -i wfreq_30.in > wfreq_30.out
!mv silane.wfreq.save/wfreq.json wfreq_30.json

!mpirun -n 8 wfreq.x -i wfreq_40.in > wfreq_40.out
!mv silane.wfreq.save/wfreq.json wfreq_40.json

!mpirun -n 8 wfreq.x -i wfreq_50.in > wfreq_50.out
!mv silane.wfreq.save/wfreq.json wfreq_50.json
[11]:
!ls -lrt wfreq_*json
-rw-r--r--  1 vwzyu  staff  19408 Oct  7 12:41 wfreq_10.json
-rw-r--r--  1 vwzyu  staff  19406 Oct  7 12:41 wfreq_20.json
-rw-r--r--  1 vwzyu  staff  19423 Oct  7 12:41 wfreq_30.json
-rw-r--r--  1 vwzyu  staff  19417 Oct  7 12:41 wfreq_40.json
-rw-r--r--  1 vwzyu  staff  19408 Oct  7 12:41 wfreq_50.json

Load the files.

[12]:
import json

data = {}

for npdep in [10, 20, 30, 40, 50] :

    # read data wfreq_XX.json
    with open('wfreq_'+str(npdep)+'.json', 'r') as file:
        data[npdep] = json.load(file)

print(json.dumps(data, indent=2))
{
  "10": {
    "runjob": {
      "startdate": " 7Oct2022",
      "starttime": "12:35:58",
      "completed": true,
      "endtime": "12:36: 2",
      "enddate": " 7Oct2022"
    },
    "software": {
      "package": "WEST",
      "program": "WFREQ",
      "version": "5.2.0",
      "westgit": "v5.2.0-4-ga2c3fe0",
      "website": "https://west-code.org",
      "citation": "M. Govoni et al., J. Chem. Theory Comput. 11, 2680 (2015).",
      "qeversion": "7.1"
    },
    "config": {
      "io": {
        "islittleendian": true
      }
    },
    "parallel": {
      "nranks": 4,
      "nimage": 1,
      "npool": 1,
      "nbgrp": 1,
      "nrg": 4,
      "nproc": 4,
      "nthreads": 1
    },
    "input": {
      "input_west": {
        "qe_prefix": "silane",
        "west_prefix": "silane",
        "outdir": "./"
      },
      "wstat_control": {
        "wstat_calculation": "S",
        "n_pdep_eigen": 50,
        "n_pdep_times": 4,
        "n_pdep_maxiter": 100,
        "n_dfpt_maxiter": 250,
        "n_pdep_read_from_file": 0,
        "n_steps_write_restart": 1,
        "trev_pdep": 0.001,
        "trev_pdep_rel": 0.1,
        "tr2_dfpt": 1e-12,
        "l_kinetic_only": false,
        "l_minimize_exx_if_active": false,
        "l_use_ecutrho": false,
        "qlist": [
          1
        ]
      },
      "wfreq_control": {
        "wfreq_calculation": "XWGQ",
        "n_pdep_eigen_to_use": 10,
        "qp_bandrange": [
          1,
          5
        ],
        "qp_bands": [
          0
        ],
        "macropol_calculation": "N",
        "n_lanczos": 30,
        "n_imfreq": 128,
        "n_refreq": 300,
        "ecut_imfreq": 100.0,
        "ecut_refreq": 2.0,
        "wfreq_eta": 0.0036749308824745378,
        "n_secant_maxiter": 21,
        "trev_secant": 0.0036749308824745378,
        "l_enable_lanczos": true,
        "l_enable_off_diagonal": false,
        "o_restart_time": 0.0,
        "ecut_spectralf": [
          -2.0,
          1.0
        ],
        "n_spectralf": 204
      }
    },
    "system": {
      "basis": {
        "npw": {
          "proc": [
            0,
            0,
            0,
            0
          ],
          "min": 0,
          "max": 0,
          "sum": 0
        },
        "ngm": {
          "proc": [
            16881,
            16880,
            16881,
            16880
          ],
          "min": 16880,
          "max": 16881,
          "sum": 67522
        },
        "gamma_only": true,
        "ecutwfc:ry": 25.0,
        "ecutrho:ry": 100.0
      },
      "cell": {
        "units": "a.u.",
        "omega": 8000.0,
        "a1": [
          20.0,
          0.0,
          0.0
        ],
        "a2": [
          0.0,
          20.0,
          0.0
        ],
        "a3": [
          0.0,
          0.0,
          20.0
        ],
        "b1": [
          0.3141592653589793,
          0.0,
          0.0
        ],
        "b2": [
          0.0,
          0.3141592653589793,
          0.0
        ],
        "b3": [
          0.0,
          0.0,
          0.3141592653589793
        ],
        "alat": 20.0,
        "tpiba": 0.3141592653589793
      },
      "electron": {
        "nbnd": 10,
        "nkstot": 1,
        "nspin": 1,
        "nelec": 8.0,
        "npol": 1,
        "lsda": false,
        "noncolin": false,
        "lspinorb": false
      },
      "3dfft": {
        "s": [
          64,
          64,
          64
        ],
        "p": [
          64,
          64,
          64
        ]
      },
      "bzsamp": {
        "k": [
          {
            "id": 1,
            "crystcoord": [
              0.0,
              0.0,
              0.0
            ]
          }
        ]
      }
    },
    "exec": {
      "Q": {
        "secitr": 3,
        "en": [
          {
            "ksb": [
              1,
              1,
              1
            ],
            "ein": [
              -13.237801251667781,
              -16.10114908186098,
              -15.996926773724638
            ],
            "eout": [
              -16.10114908186098,
              -15.996926773724638,
              -15.996069868657381
            ],
            "sc_ein": [
              [
                2.174215265684058,
                0.013088932776563526
              ],
              [
                3.651350702151748,
                0.10369252948604364
              ],
              [
                3.5988731749975758,
                0.0639837647821608
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              2
            ],
            "ein": [
              -8.232337181481201,
              -11.826655980420275,
              -11.751061056952013
            ],
            "eout": [
              -11.826655980420275,
              -11.751061056952013,
              -11.749570833702585
            ],
            "sc_ein": [
              [
                0.47604267728628913,
                0.002742712462116818
              ],
              [
                1.015679912286032,
                0.007130766748654207
              ],
              [
                1.006011205583271,
                0.007104461297743382
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              3
            ],
            "ein": [
              -8.231818167024082,
              -11.826053048682086,
              -11.75211364777671
            ],
            "eout": [
              -11.826053048682086,
              -11.75211364777671,
              -11.748938391716393
            ],
            "sc_ein": [
              [
                0.4760265625681688,
                0.002743013817220383
              ],
              [
                1.0137552857611338,
                0.00710465490842237
              ],
              [
                1.0061933077526124,
                0.00710465490842237
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              4
            ],
            "ein": [
              -8.2314429871655,
              -11.82554675775416,
              -11.751600925661647
            ],
            "eout": [
              -11.82554675775416,
              -11.751600925661647,
              -11.748425188469648
            ],
            "sc_ein": [
              [
                0.4760250328657089,
                0.0027431582198368266
              ],
              [
                1.013750814496553,
                0.007105103333653587
              ],
              [
                1.0061880664384744,
                0.007105103333653587
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              5
            ],
            "ein": [
              -0.4659075354101419,
              0.7956422598915397,
              0.7948357168266033
            ],
            "eout": [
              0.7956422598915397,
              0.7948357168266033,
              0.7948357168266033
            ],
            "sc_ein": [
              [
                -0.22478052433353662,
                -8.605070554690743e-06
              ],
              [
                -0.24219403328296762,
                -3.7369340874557545e-05
              ],
              [
                -0.24218240496305504,
                -3.7369340874557545e-05
              ]
            ]
          }
        ]
      }
    },
    "output": {
      "Q": {
        "bandmap": [
          1,
          2,
          3,
          4,
          5
        ],
        "indexmap": [
          [
            1,
            1
          ],
          [
            2,
            2
          ],
          [
            3,
            3
          ],
          [
            4,
            4
          ],
          [
            5,
            5
          ]
        ],
        "K000001": {
          "eks": [
            -13.237801251667781,
            -8.232337181481201,
            -8.231818167024082,
            -8.2314429871655,
            -0.4659075354101419
          ],
          "z": [
            0.6846028000268984,
            0.888141466625856,
            0.8881315611869276,
            0.8881302802413489,
            0.9870156947783238
          ],
          "eqpLin": [
            -16.10114908186098,
            -11.826655980420275,
            -11.826053048682086,
            -11.82554675775416,
            0.7956422598915397
          ],
          "eqpSec": [
            -15.996069868657381,
            -11.749570833702585,
            -11.748938391716393,
            -11.748425188469648,
            0.7948357168266033
          ],
          "sigma_diff": [
            0.0008569050672560701,
            0.0014902232494293398,
            0.003175256060317917,
            0.003175737191998,
            0.0
          ],
          "occupation": [
            2.0,
            2.0,
            2.0,
            2.0,
            0.0
          ],
          "sigmax": [
            -17.606465467514493,
            -15.766052671933085,
            -15.765818857651459,
            -15.765460140908123,
            -0.5873351382106943
          ],
          "vxcl": [
            -11.249755140342666,
            -11.242998415968598,
            -11.242830067038435,
            -11.242614669027583,
            -2.0902612908009486
          ],
          "vxcnl": [
            0.0,
            0.0,
            0.0,
            0.0,
            0.0
          ],
          "hf": [
            -6.356710327171826,
            -4.523054255964487,
            -4.522988790613024,
            -4.52284547188054,
            1.5029261525902546
          ],
          "sigmac_eks": {
            "re": [
              2.174215265684058,
              0.47604267728628913,
              0.4760265625681688,
              0.4760250328657089,
              -0.22478052433353662
            ],
            "im": [
              0.013088932776563526,
              0.002742712462116818,
              0.002743013817220383,
              0.0027431582198368266,
              -8.605070554690743e-06
            ]
          },
          "sigmac_eqpLin": {
            "re": [
              3.651350702151748,
              1.015679912286032,
              1.0137552857611338,
              1.013750814496553,
              -0.24219403328296762
            ],
            "im": [
              0.10369252948604364,
              0.007130766748654207,
              0.00710465490842237,
              0.007105103333653587,
              -3.7369340874557545e-05
            ]
          },
          "sigmac_eqpSec": {
            "re": [
              3.5988731749975758,
              1.006011205583271,
              1.0061933077526124,
              1.0061880664384744,
              -0.24218240496305504
            ],
            "im": [
              0.0639837647821608,
              0.007104461297743382,
              0.00710465490842237,
              0.007105103333653587,
              -3.7369340874557545e-05
            ]
          }
        }
      }
    },
    "timing": {
      "WFREQ": {
        "cpu:sec": 2.4901519999999997,
        "cpu:hum": "02.4s",
        "wall:sec": 3.264983892440796,
        "wall:hum": "03.2s",
        "nocalls": 2
      },
      "wfreq_readin": {
        "cpu:sec": 0.145668,
        "cpu:hum": "00.1s",
        "wall:sec": 0.489901065826416,
        "wall:hum": "00.4s",
        "nocalls": 1
      },
      "fetch_input": {
        "cpu:sec": 0.011429999999999996,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.01293182373046875,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "fft": {
        "cpu:sec": 0.02885600000000005,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.31255483627319336,
        "wall:hum": "00.3s",
        "nocalls": 14
      },
      "fft_scatter": {
        "cpu:sec": 0.5060280000000055,
        "cpu:hum": "00.5s",
        "wall:sec": 0.5161497592926025,
        "wall:hum": "00.5s",
        "nocalls": 2953
      },
      "init_vloc": {
        "cpu:sec": 0.01743,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.01848912239074707,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "init_us_1": {
        "cpu:sec": 0.008261999999999992,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.008288860321044922,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "v_of_rho": {
        "cpu:sec": 0.025735000000000008,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.03683805465698242,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "v_xc": {
        "cpu:sec": 0.04188000000000003,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.054329872131347656,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "v_h": {
        "cpu:sec": 0.0012840000000000074,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0020880699157714844,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "do_setup": {
        "cpu:sec": 0.015502000000000016,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.03807187080383301,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "init_pw_ar": {
        "cpu:sec": 0.014538999999999969,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.036032915115356445,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "hinit0": {
        "cpu:sec": 0.012971999999999984,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.012979984283447266,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "solve_hf": {
        "cpu:sec": 0.06270500000000001,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.07216715812683105,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sigmavxc": {
        "cpu:sec": 0.0040979999999999905,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.005167961120605469,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "init_us_2": {
        "cpu:sec": 0.0010930000000000106,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0014700889587402344,
        "wall:hum": "< 00.1s",
        "nocalls": 3
      },
      "init_us_2:cp": {
        "cpu:sec": 0.0010719999999999619,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0014271736145019531,
        "wall:hum": "< 00.1s",
        "nocalls": 3
      },
      "fftw": {
        "cpu:sec": 1.6233739999999977,
        "cpu:hum": "01.6s",
        "wall:sec": 1.6384150981903076,
        "wall:hum": "01.6s",
        "nocalls": 2919
      },
      "sigmax": {
        "cpu:sec": 0.040997000000000006,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.04510807991027832,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sqvc_init": {
        "cpu:sec": 0.01136399999999993,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.01149296760559082,
        "wall:hum": "< 00.1s",
        "nocalls": 7
      },
      "ffts": {
        "cpu:sec": 0.01988000000000001,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.021718502044677734,
        "wall:hum": "< 00.1s",
        "nocalls": 20
      },
      "write_hf": {
        "cpu:sec": 0.0,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0010061264038085938,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "wlanczos": {
        "cpu:sec": 1.0261799999999999,
        "cpu:hum": "01.0s",
        "wall:sec": 1.2358100414276123,
        "wall:hum": "01.2s",
        "nocalls": 1
      },
      "pdep_read": {
        "cpu:sec": 0.003907000000000549,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.14247751235961914,
        "wall:hum": "00.1s",
        "nocalls": 20
      },
      "alphapc": {
        "cpu:sec": 0.05563600000000024,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0576786994934082,
        "wall:hum": "< 00.1s",
        "nocalls": 283
      },
      "lan_H": {
        "cpu:sec": 2.023953,
        "cpu:hum": "02.0s",
        "wall:sec": 2.039839744567871,
        "wall:hum": "02.0s",
        "nocalls": 9
      },
      "h_psi": {
        "cpu:sec": 1.7498499999999977,
        "cpu:hum": "01.7s",
        "wall:sec": 1.7637388706207275,
        "wall:hum": "01.7s",
        "nocalls": 270
      },
      "h_psi:pot": {
        "cpu:sec": 1.7412260000000002,
        "cpu:hum": "01.7s",
        "wall:sec": 1.7550592422485352,
        "wall:hum": "01.7s",
        "nocalls": 270
      },
      "vloc_psi": {
        "cpu:sec": 1.696180000000002,
        "cpu:hum": "01.6s",
        "wall:sec": 1.7097551822662354,
        "wall:hum": "01.7s",
        "nocalls": 270
      },
      "h_psi:calbec": {
        "cpu:sec": 0.023135000000005235,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.023275136947631836,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "calbec": {
        "cpu:sec": 0.022531999999997776,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.022742748260498047,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "add_vuspsi": {
        "cpu:sec": 0.020642999999998413,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.020958900451660156,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "brak": {
        "cpu:sec": 0.010528999999999566,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.011275529861450195,
        "wall:hum": "< 00.1s",
        "nocalls": 9
      },
      "sw_restart": {
        "cpu:sec": 0.006092999999999904,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.036489009857177734,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "chi_invert": {
        "cpu:sec": 0.0011649999999998606,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0014259815216064453,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "glanczos": {
        "cpu:sec": 1.209952,
        "cpu:hum": "01.2s",
        "wall:sec": 1.3811120986938477,
        "wall:hum": "01.3s",
        "nocalls": 1
      },
      "write_over": {
        "cpu:sec": 0.0007790000000000852,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.058051109313964844,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "write_gfreq": {
        "cpu:sec": 0.0019320000000000448,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.10192012786865234,
        "wall:hum": "00.1s",
        "nocalls": 5
      },
      "sg_restart": {
        "cpu:sec": 0.0010189999999998811,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0029010772705078125,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "solve_qp": {
        "cpu:sec": 0.021088000000000218,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.03361105918884277,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "coll_gw": {
        "cpu:sec": 0.0023650000000001725,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0029859542846679688,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "read_over": {
        "cpu:sec": 0.0003119999999987577,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0003981590270996094,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "read_gfreq": {
        "cpu:sec": 0.0010980000000002654,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0015451908111572266,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "read_hf": {
        "cpu:sec": 5.2999999999858716e-05,
        "cpu:hum": "< 00.1s",
        "wall:sec": 6.103515625e-05,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sigmac_i": {
        "cpu:sec": 0.002902000000000182,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0029408931732177734,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "sigmac_r": {
        "cpu:sec": 0.00020499999999978868,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.00020503997802734375,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "wfreq_db": {
        "cpu:sec": 0.0013410000000000366,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0038499832153320312,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      }
    }
  },
  "20": {
    "runjob": {
      "startdate": " 7Oct2022",
      "starttime": "12:37:11",
      "completed": true,
      "endtime": "12:37:16",
      "enddate": " 7Oct2022"
    },
    "software": {
      "package": "WEST",
      "program": "WFREQ",
      "version": "5.2.0",
      "westgit": "v5.2.0-4-ga2c3fe0",
      "website": "https://west-code.org",
      "citation": "M. Govoni et al., J. Chem. Theory Comput. 11, 2680 (2015).",
      "qeversion": "7.1"
    },
    "config": {
      "io": {
        "islittleendian": true
      }
    },
    "parallel": {
      "nranks": 4,
      "nimage": 1,
      "npool": 1,
      "nbgrp": 1,
      "nrg": 4,
      "nproc": 4,
      "nthreads": 1
    },
    "input": {
      "input_west": {
        "qe_prefix": "silane",
        "west_prefix": "silane",
        "outdir": "./"
      },
      "wstat_control": {
        "wstat_calculation": "S",
        "n_pdep_eigen": 50,
        "n_pdep_times": 4,
        "n_pdep_maxiter": 100,
        "n_dfpt_maxiter": 250,
        "n_pdep_read_from_file": 0,
        "n_steps_write_restart": 1,
        "trev_pdep": 0.001,
        "trev_pdep_rel": 0.1,
        "tr2_dfpt": 1e-12,
        "l_kinetic_only": false,
        "l_minimize_exx_if_active": false,
        "l_use_ecutrho": false,
        "qlist": [
          1
        ]
      },
      "wfreq_control": {
        "wfreq_calculation": "XWGQ",
        "n_pdep_eigen_to_use": 20,
        "qp_bandrange": [
          1,
          5
        ],
        "qp_bands": [
          0
        ],
        "macropol_calculation": "N",
        "n_lanczos": 30,
        "n_imfreq": 128,
        "n_refreq": 300,
        "ecut_imfreq": 100.0,
        "ecut_refreq": 2.0,
        "wfreq_eta": 0.0036749308824745378,
        "n_secant_maxiter": 21,
        "trev_secant": 0.0036749308824745378,
        "l_enable_lanczos": true,
        "l_enable_off_diagonal": false,
        "o_restart_time": 0.0,
        "ecut_spectralf": [
          -2.0,
          1.0
        ],
        "n_spectralf": 204
      }
    },
    "system": {
      "basis": {
        "npw": {
          "proc": [
            0,
            0,
            0,
            0
          ],
          "min": 0,
          "max": 0,
          "sum": 0
        },
        "ngm": {
          "proc": [
            16881,
            16880,
            16881,
            16880
          ],
          "min": 16880,
          "max": 16881,
          "sum": 67522
        },
        "gamma_only": true,
        "ecutwfc:ry": 25.0,
        "ecutrho:ry": 100.0
      },
      "cell": {
        "units": "a.u.",
        "omega": 8000.0,
        "a1": [
          20.0,
          0.0,
          0.0
        ],
        "a2": [
          0.0,
          20.0,
          0.0
        ],
        "a3": [
          0.0,
          0.0,
          20.0
        ],
        "b1": [
          0.3141592653589793,
          0.0,
          0.0
        ],
        "b2": [
          0.0,
          0.3141592653589793,
          0.0
        ],
        "b3": [
          0.0,
          0.0,
          0.3141592653589793
        ],
        "alat": 20.0,
        "tpiba": 0.3141592653589793
      },
      "electron": {
        "nbnd": 10,
        "nkstot": 1,
        "nspin": 1,
        "nelec": 8.0,
        "npol": 1,
        "lsda": false,
        "noncolin": false,
        "lspinorb": false
      },
      "3dfft": {
        "s": [
          64,
          64,
          64
        ],
        "p": [
          64,
          64,
          64
        ]
      },
      "bzsamp": {
        "k": [
          {
            "id": 1,
            "crystcoord": [
              0.0,
              0.0,
              0.0
            ]
          }
        ]
      }
    },
    "exec": {
      "Q": {
        "secitr": 3,
        "en": [
          {
            "ksb": [
              1,
              1,
              1
            ],
            "ein": [
              -13.237801251667781,
              -16.28419796348076,
              -16.149485119098895
            ],
            "eout": [
              -16.28419796348076,
              -16.149485119098895,
              -16.185921791340174
            ],
            "sc_ein": [
              [
                1.9068846710899916,
                0.013094456852478982
              ],
              [
                3.51619059185323,
                0.0803537798512398
              ],
              [
                3.3686959337224494,
                0.14711584902395672
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              2
            ],
            "ein": [
              -8.232337181481201,
              -12.008055108862713,
              -11.92883354461352
            ],
            "eout": [
              -12.008055108862713,
              -11.92883354461352,
              -11.925305962509068
            ],
            "sc_ein": [
              [
                0.23273872735911727,
                0.002842642778691748
              ],
              [
                0.8392843447337897,
                0.007402321158212177
              ],
              [
                0.8304776211992402,
                0.007402321158212177
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              3
            ],
            "ein": [
              -8.231818167024082,
              -12.018895743166023,
              -11.933614624957888
            ],
            "eout": [
              -12.018895743166023,
              -11.933614624957888,
              -11.936702900867669
            ],
            "sc_ein": [
              [
                0.22244988158318418,
                0.0028277561329081782
              ],
              [
                0.8349860207786028,
                0.007472809824353452
              ],
              [
                0.8174697416478085,
                0.007368795503170509
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              4
            ],
            "ein": [
              -8.2314429871655,
              -12.022576423165415,
              -11.937557560383631
            ],
            "eout": [
              -12.022576423165415,
              -11.937557560383631,
              -11.940654731723244
            ],
            "sc_ein": [
              [
                0.21845300335918758,
                0.002819532707368142
              ],
              [
                0.830455489546278,
                0.007454710728098122
              ],
              [
                0.8129977555926842,
                0.007350742311665018
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              5
            ],
            "ein": [
              -0.4659075354101419,
              0.7480422964986283,
              0.7471852180576253
            ],
            "eout": [
              0.7480422964986283,
              0.7471852180576253,
              0.7471852180576253
            ],
            "sc_ein": [
              [
                -0.2700187270831499,
                -8.605070040637039e-06
              ],
              [
                -0.28984739865234344,
                -6.982484727188304e-05
              ],
              [
                -0.28983283237836377,
                -6.982484727188304e-05
              ]
            ]
          }
        ]
      }
    },
    "output": {
      "Q": {
        "bandmap": [
          1,
          2,
          3,
          4,
          5
        ],
        "indexmap": [
          [
            1,
            1
          ],
          [
            2,
            2
          ],
          [
            3,
            3
          ],
          [
            4,
            4
          ],
          [
            5,
            5
          ]
        ],
        "K000001": {
          "eks": [
            -13.237801251667781,
            -8.232337181481201,
            -8.231818167024082,
            -8.2314429871655,
            -0.4659075354101419
          ],
          "z": [
            0.6846103526886034,
            0.8800560010580075,
            0.8806053511549952,
            0.8807592392480528,
            0.9846236682445667
          ],
          "eqpLin": [
            -16.28419796348076,
            -12.008055108862713,
            -12.018895743166023,
            -12.022576423165415,
            0.7480422964986283
          ],
          "eqpSec": [
            -16.185921791340174,
            -11.925305962509068,
            -11.936702900867669,
            -11.940654731723244,
            0.7471852180576253
          ],
          "sigma_diff": [
            -0.036436672241280645,
            0.003527582104451386,
            -0.0030882759097805804,
            -0.003097171339611738,
            0.0
          ],
          "occupation": [
            2.0,
            2.0,
            2.0,
            2.0,
            0.0
          ],
          "sigmax": [
            -17.606465467514493,
            -15.766052671933085,
            -15.765818857651459,
            -15.765460140908123,
            -0.5873351382106943
          ],
          "vxcl": [
            -11.249755140342666,
            -11.242998415968598,
            -11.242830067038435,
            -11.242614669027583,
            -2.0902612908009486
          ],
          "vxcnl": [
            0.0,
            0.0,
            0.0,
            0.0,
            0.0
          ],
          "hf": [
            -6.356710327171826,
            -4.523054255964487,
            -4.522988790613024,
            -4.52284547188054,
            1.5029261525902546
          ],
          "sigmac_eks": {
            "re": [
              1.9068846710899916,
              0.23273872735911727,
              0.22244988158318418,
              0.21845300335918758,
              -0.2700187270831499
            ],
            "im": [
              0.013094456852478982,
              0.002842642778691748,
              0.0028277561329081782,
              0.002819532707368142,
              -8.605070040637039e-06
            ]
          },
          "sigmac_eqpLin": {
            "re": [
              3.51619059185323,
              0.8392843447337897,
              0.8349860207786028,
              0.830455489546278,
              -0.28984739865234344
            ],
            "im": [
              0.0803537798512398,
              0.007402321158212177,
              0.007472809824353452,
              0.007454710728098122,
              -6.982484727188304e-05
            ]
          },
          "sigmac_eqpSec": {
            "re": [
              3.3686959337224494,
              0.8304776211992402,
              0.8174697416478085,
              0.8129977555926842,
              -0.28983283237836377
            ],
            "im": [
              0.14711584902395672,
              0.007402321158212177,
              0.007368795503170509,
              0.007350742311665018,
              -6.982484727188304e-05
            ]
          }
        }
      }
    },
    "timing": {
      "WFREQ": {
        "cpu:sec": 4.69556,
        "cpu:hum": "04.6s",
        "wall:sec": 5.070785045623779,
        "wall:hum": "05.0s",
        "nocalls": 2
      },
      "wfreq_readin": {
        "cpu:sec": 0.154224,
        "cpu:hum": "00.1s",
        "wall:sec": 0.17799091339111328,
        "wall:hum": "00.1s",
        "nocalls": 1
      },
      "fetch_input": {
        "cpu:sec": 0.009876000000000051,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.010623931884765625,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "fft": {
        "cpu:sec": 0.03370999999999996,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.04059433937072754,
        "wall:hum": "< 00.1s",
        "nocalls": 14
      },
      "fft_scatter": {
        "cpu:sec": 0.902750999999987,
        "cpu:hum": "00.9s",
        "wall:sec": 0.919849157333374,
        "wall:hum": "00.9s",
        "nocalls": 5833
      },
      "init_vloc": {
        "cpu:sec": 0.010031999999999985,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.010600090026855469,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "init_us_1": {
        "cpu:sec": 0.01711999999999997,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.01712203025817871,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "v_of_rho": {
        "cpu:sec": 0.03329199999999999,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.03613400459289551,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "v_xc": {
        "cpu:sec": 0.05129299999999998,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.05608415603637695,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "v_h": {
        "cpu:sec": 0.0008369999999999767,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.001653909683227539,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "do_setup": {
        "cpu:sec": 0.015803999999999985,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.016739845275878906,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "init_pw_ar": {
        "cpu:sec": 0.014968999999999955,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.015099048614501953,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "hinit0": {
        "cpu:sec": 0.012010999999999994,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.012105941772460938,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "solve_hf": {
        "cpu:sec": 0.06405299999999997,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.07302117347717285,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sigmavxc": {
        "cpu:sec": 0.004888999999999977,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.005089998245239258,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "init_us_2": {
        "cpu:sec": 0.0009589999999999321,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.001519918441772461,
        "wall:hum": "< 00.1s",
        "nocalls": 3
      },
      "init_us_2:cp": {
        "cpu:sec": 0.0009509999999997021,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0015060901641845703,
        "wall:hum": "< 00.1s",
        "nocalls": 3
      },
      "fftw": {
        "cpu:sec": 3.2347710000000207,
        "cpu:hum": "03.2s",
        "wall:sec": 3.272026777267456,
        "wall:hum": "03.2s",
        "nocalls": 5799
      },
      "sigmax": {
        "cpu:sec": 0.040026000000000006,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.04567289352416992,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sqvc_init": {
        "cpu:sec": 0.011575000000000557,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.011667966842651367,
        "wall:hum": "< 00.1s",
        "nocalls": 7
      },
      "ffts": {
        "cpu:sec": 0.018197000000000074,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.022333860397338867,
        "wall:hum": "< 00.1s",
        "nocalls": 20
      },
      "write_hf": {
        "cpu:sec": 5.6000000000000494e-05,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.000102996826171875,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "wlanczos": {
        "cpu:sec": 1.9855649999999998,
        "cpu:hum": "01.9s",
        "wall:sec": 2.1656270027160645,
        "wall:hum": "02.1s",
        "nocalls": 1
      },
      "pdep_read": {
        "cpu:sec": 0.004377000000000297,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.13897085189819336,
        "wall:hum": "00.1s",
        "nocalls": 40
      },
      "alphapc": {
        "cpu:sec": 0.051882999999990354,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.05304217338562012,
        "wall:hum": "< 00.1s",
        "nocalls": 283
      },
      "lan_H": {
        "cpu:sec": 4.070514,
        "cpu:hum": "04.0s",
        "wall:sec": 4.1124961376190186,
        "wall:hum": "04.1s",
        "nocalls": 9
      },
      "h_psi": {
        "cpu:sec": 3.5249819999999983,
        "cpu:hum": "03.5s",
        "wall:sec": 3.561819553375244,
        "wall:hum": "03.5s",
        "nocalls": 270
      },
      "h_psi:pot": {
        "cpu:sec": 3.5076909999999986,
        "cpu:hum": "03.5s",
        "wall:sec": 3.544428825378418,
        "wall:hum": "03.5s",
        "nocalls": 270
      },
      "vloc_psi": {
        "cpu:sec": 3.4355399999999996,
        "cpu:hum": "03.4s",
        "wall:sec": 3.4714159965515137,
        "wall:hum": "03.4s",
        "nocalls": 270
      },
      "h_psi:calbec": {
        "cpu:sec": 0.03400600000000242,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.034467458724975586,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "calbec": {
        "cpu:sec": 0.03330600000000139,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.033838748931884766,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "add_vuspsi": {
        "cpu:sec": 0.03675699999999704,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.037404537200927734,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "brak": {
        "cpu:sec": 0.03483699999999956,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.035687923431396484,
        "wall:hum": "< 00.1s",
        "nocalls": 9
      },
      "sw_restart": {
        "cpu:sec": 0.012997999999999621,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.03630328178405762,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "chi_invert": {
        "cpu:sec": 0.0009559999999999569,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0030448436737060547,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "glanczos": {
        "cpu:sec": 2.439931,
        "cpu:hum": "02.4s",
        "wall:sec": 2.584630012512207,
        "wall:hum": "02.5s",
        "nocalls": 1
      },
      "write_over": {
        "cpu:sec": 0.00034799999999890474,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0003552436828613281,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "write_gfreq": {
        "cpu:sec": 0.0013459999999989591,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.10650396347045898,
        "wall:hum": "00.1s",
        "nocalls": 5
      },
      "sg_restart": {
        "cpu:sec": 0.0004189999999999472,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0024170875549316406,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "solve_qp": {
        "cpu:sec": 0.02750599999999981,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.03908991813659668,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "coll_gw": {
        "cpu:sec": 0.0030140000000002942,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.005115032196044922,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "read_over": {
        "cpu:sec": 0.0002999999999993008,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0004382133483886719,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "read_gfreq": {
        "cpu:sec": 0.0007360000000007361,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.001795053482055664,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "read_hf": {
        "cpu:sec": 0.0,
        "cpu:hum": "< 00.1s",
        "wall:sec": 7.510185241699219e-05,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sigmac_i": {
        "cpu:sec": 0.0066280000000009665,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.006629228591918945,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "sigmac_r": {
        "cpu:sec": 0.0003179999999991523,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0003249645233154297,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "wfreq_db": {
        "cpu:sec": 0.00019200000000019202,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.003883838653564453,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      }
    }
  },
  "30": {
    "runjob": {
      "startdate": " 7Oct2022",
      "starttime": "12:37:30",
      "completed": true,
      "endtime": "12:37:38",
      "enddate": " 7Oct2022"
    },
    "software": {
      "package": "WEST",
      "program": "WFREQ",
      "version": "5.2.0",
      "westgit": "v5.2.0-4-ga2c3fe0",
      "website": "https://west-code.org",
      "citation": "M. Govoni et al., J. Chem. Theory Comput. 11, 2680 (2015).",
      "qeversion": "7.1"
    },
    "config": {
      "io": {
        "islittleendian": true
      }
    },
    "parallel": {
      "nranks": 4,
      "nimage": 1,
      "npool": 1,
      "nbgrp": 1,
      "nrg": 4,
      "nproc": 4,
      "nthreads": 1
    },
    "input": {
      "input_west": {
        "qe_prefix": "silane",
        "west_prefix": "silane",
        "outdir": "./"
      },
      "wstat_control": {
        "wstat_calculation": "S",
        "n_pdep_eigen": 50,
        "n_pdep_times": 4,
        "n_pdep_maxiter": 100,
        "n_dfpt_maxiter": 250,
        "n_pdep_read_from_file": 0,
        "n_steps_write_restart": 1,
        "trev_pdep": 0.001,
        "trev_pdep_rel": 0.1,
        "tr2_dfpt": 1e-12,
        "l_kinetic_only": false,
        "l_minimize_exx_if_active": false,
        "l_use_ecutrho": false,
        "qlist": [
          1
        ]
      },
      "wfreq_control": {
        "wfreq_calculation": "XWGQ",
        "n_pdep_eigen_to_use": 30,
        "qp_bandrange": [
          1,
          5
        ],
        "qp_bands": [
          0
        ],
        "macropol_calculation": "N",
        "n_lanczos": 30,
        "n_imfreq": 128,
        "n_refreq": 300,
        "ecut_imfreq": 100.0,
        "ecut_refreq": 2.0,
        "wfreq_eta": 0.0036749308824745378,
        "n_secant_maxiter": 21,
        "trev_secant": 0.0036749308824745378,
        "l_enable_lanczos": true,
        "l_enable_off_diagonal": false,
        "o_restart_time": 0.0,
        "ecut_spectralf": [
          -2.0,
          1.0
        ],
        "n_spectralf": 204
      }
    },
    "system": {
      "basis": {
        "npw": {
          "proc": [
            0,
            0,
            0,
            0
          ],
          "min": 0,
          "max": 0,
          "sum": 0
        },
        "ngm": {
          "proc": [
            16881,
            16880,
            16881,
            16880
          ],
          "min": 16880,
          "max": 16881,
          "sum": 67522
        },
        "gamma_only": true,
        "ecutwfc:ry": 25.0,
        "ecutrho:ry": 100.0
      },
      "cell": {
        "units": "a.u.",
        "omega": 8000.0,
        "a1": [
          20.0,
          0.0,
          0.0
        ],
        "a2": [
          0.0,
          20.0,
          0.0
        ],
        "a3": [
          0.0,
          0.0,
          20.0
        ],
        "b1": [
          0.3141592653589793,
          0.0,
          0.0
        ],
        "b2": [
          0.0,
          0.3141592653589793,
          0.0
        ],
        "b3": [
          0.0,
          0.0,
          0.3141592653589793
        ],
        "alat": 20.0,
        "tpiba": 0.3141592653589793
      },
      "electron": {
        "nbnd": 10,
        "nkstot": 1,
        "nspin": 1,
        "nelec": 8.0,
        "npol": 1,
        "lsda": false,
        "noncolin": false,
        "lspinorb": false
      },
      "3dfft": {
        "s": [
          64,
          64,
          64
        ],
        "p": [
          64,
          64,
          64
        ]
      },
      "bzsamp": {
        "k": [
          {
            "id": 1,
            "crystcoord": [
              0.0,
              0.0,
              0.0
            ]
          }
        ]
      }
    },
    "exec": {
      "Q": {
        "secitr": 3,
        "en": [
          {
            "ksb": [
              1,
              1,
              1
            ],
            "ein": [
              -13.237801251667781,
              -16.211147460069057,
              -16.037404786788322
            ],
            "eout": [
              -16.211147460069057,
              -16.037404786788322,
              -16.05393095746042
            ],
            "sc_ein": [
              [
                1.878606593620085,
                0.014417048404492018
              ],
              [
                3.661274081426108,
                0.07526697497634371
              ],
              [
                3.5278936534932086,
                0.10700750419066293
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              2
            ],
            "ein": [
              -8.232337181481201,
              -12.052167465217812,
              -11.954832162479143
            ],
            "eout": [
              -12.052167465217812,
              -11.954832162479143,
              -11.957842317308614
            ],
            "sc_ein": [
              [
                0.1423276660868095,
                0.003154121547344434
              ],
              [
                0.8177706273658153,
                0.008438019584711966
              ],
              [
                0.7969038005272652,
                0.008316389337254254
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              3
            ],
            "ein": [
              -8.231818167024082,
              -12.058181774514813,
              -11.960768561627455
            ],
            "eout": [
              -12.058181774514813,
              -11.960768561627455,
              -11.963788345504124
            ],
            "sc_ein": [
              [
                0.13349836850827437,
                0.003158211145991073
              ],
              [
                0.8112940093888825,
                0.008450278235352089
              ],
              [
                0.7903699725150757,
                0.00832842545208703
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              4
            ],
            "ein": [
              -8.2314429871655,
              -12.053352530789882,
              -11.955792088853034
            ],
            "eout": [
              -12.053352530789882,
              -11.955792088853034,
              -11.958801872781066
            ],
            "sc_ein": [
              [
                0.1388198592269875,
                0.003160832817739135
              ],
              [
                0.8157767942853783,
                0.008458645913841637
              ],
              [
                0.7948406981952123,
                0.008336612139895672
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              5
            ],
            "ein": [
              -0.4659075354101419,
              0.6987141736031919,
              0.6976728001015371
            ],
            "eout": [
              0.6987141736031919,
              0.6976728001015371,
              0.6976728001015371
            ],
            "sc_ein": [
              [
                -0.31689712433193956,
                -9.892369630640092e-06
              ],
              [
                -0.3393659080624634,
                -9.611267216522801e-05
              ],
              [
                -0.3393449375101516,
                -9.611267216522801e-05
              ]
            ]
          }
        ]
      }
    },
    "output": {
      "Q": {
        "bandmap": [
          1,
          2,
          3,
          4,
          5
        ],
        "indexmap": [
          [
            1,
            1
          ],
          [
            2,
            2
          ],
          [
            3,
            3
          ],
          [
            4,
            4
          ],
          [
            5,
            5
          ]
        ],
        "K000001": {
          "eks": [
            -13.237801251667781,
            -8.232337181481201,
            -8.231818167024082,
            -8.2314429871655,
            -0.4659075354101419
          ],
          "z": [
            0.6639743930279643,
            0.8719627224768829,
            0.8717102076864766,
            0.8717808428384303,
            0.9819504255503613
          ],
          "eqpLin": [
            -16.211147460069057,
            -12.052167465217812,
            -12.058181774514813,
            -12.053352530789882,
            0.6987141736031919
          ],
          "eqpSec": [
            -16.05393095746042,
            -11.957842317308614,
            -11.963788345504124,
            -11.958801872781066,
            0.6976728001015371
          ],
          "sigma_diff": [
            -0.016526170672098495,
            -0.003010154829471284,
            -0.0030197838766687023,
            -0.0030097839280318235,
            0.0
          ],
          "occupation": [
            2.0,
            2.0,
            2.0,
            2.0,
            0.0
          ],
          "sigmax": [
            -17.606465467514493,
            -15.766052671933085,
            -15.765818857651459,
            -15.765460140908123,
            -0.5873351382106943
          ],
          "vxcl": [
            -11.249755140342666,
            -11.242998415968598,
            -11.242830067038435,
            -11.242614669027583,
            -2.0902612908009486
          ],
          "vxcnl": [
            0.0,
            0.0,
            0.0,
            0.0,
            0.0
          ],
          "hf": [
            -6.356710327171826,
            -4.523054255964487,
            -4.522988790613024,
            -4.52284547188054,
            1.5029261525902546
          ],
          "sigmac_eks": {
            "re": [
              1.878606593620085,
              0.1423276660868095,
              0.13349836850827437,
              0.1388198592269875,
              -0.31689712433193956
            ],
            "im": [
              0.014417048404492018,
              0.003154121547344434,
              0.003158211145991073,
              0.003160832817739135,
              -9.892369630640092e-06
            ]
          },
          "sigmac_eqpLin": {
            "re": [
              3.661274081426108,
              0.8177706273658153,
              0.8112940093888825,
              0.8157767942853783,
              -0.3393659080624634
            ],
            "im": [
              0.07526697497634371,
              0.008438019584711966,
              0.008450278235352089,
              0.008458645913841637,
              -9.611267216522801e-05
            ]
          },
          "sigmac_eqpSec": {
            "re": [
              3.5278936534932086,
              0.7969038005272652,
              0.7903699725150757,
              0.7948406981952123,
              -0.3393449375101516
            ],
            "im": [
              0.10700750419066293,
              0.008316389337254254,
              0.00832842545208703,
              0.008336612139895672,
              -9.611267216522801e-05
            ]
          }
        }
      }
    },
    "timing": {
      "WFREQ": {
        "cpu:sec": 7.152762999999999,
        "cpu:hum": "07.1s",
        "wall:sec": 7.540905952453613,
        "wall:hum": "07.5s",
        "nocalls": 2
      },
      "wfreq_readin": {
        "cpu:sec": 0.163185,
        "cpu:hum": "00.1s",
        "wall:sec": 0.18431496620178223,
        "wall:hum": "00.1s",
        "nocalls": 1
      },
      "fetch_input": {
        "cpu:sec": 0.010387000000000035,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.01067209243774414,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "fft": {
        "cpu:sec": 0.044181000000000026,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.050781965255737305,
        "wall:hum": "< 00.1s",
        "nocalls": 14
      },
      "fft_scatter": {
        "cpu:sec": 1.3496369999999462,
        "cpu:hum": "01.3s",
        "wall:sec": 1.3640971183776855,
        "wall:hum": "01.3s",
        "nocalls": 8713
      },
      "init_vloc": {
        "cpu:sec": 0.010307000000000066,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.010846853256225586,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "init_us_1": {
        "cpu:sec": 0.015176999999999996,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.016911745071411133,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "v_of_rho": {
        "cpu:sec": 0.029496999999999995,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.034503936767578125,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "v_xc": {
        "cpu:sec": 0.04721500000000001,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.05422210693359375,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "v_h": {
        "cpu:sec": 0.0006220000000000114,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0016369819641113281,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "do_setup": {
        "cpu:sec": 0.014828999999999981,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.016841888427734375,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "init_pw_ar": {
        "cpu:sec": 0.014670000000000016,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.015395164489746094,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "hinit0": {
        "cpu:sec": 0.012259999999999993,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.01225900650024414,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "solve_hf": {
        "cpu:sec": 0.06583100000000003,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.07309794425964355,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sigmavxc": {
        "cpu:sec": 0.0029000000000000137,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.004922151565551758,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "init_us_2": {
        "cpu:sec": 0.0013879999999999448,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0015940666198730469,
        "wall:hum": "< 00.1s",
        "nocalls": 3
      },
      "init_us_2:cp": {
        "cpu:sec": 0.001379000000000019,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0015842914581298828,
        "wall:hum": "< 00.1s",
        "nocalls": 3
      },
      "fftw": {
        "cpu:sec": 4.9430780000000185,
        "cpu:hum": "04.9s",
        "wall:sec": 4.984350919723511,
        "wall:hum": "04.9s",
        "nocalls": 8679
      },
      "sigmax": {
        "cpu:sec": 0.04403800000000002,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0460660457611084,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sqvc_init": {
        "cpu:sec": 0.012023000000000117,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.012025594711303711,
        "wall:hum": "< 00.1s",
        "nocalls": 7
      },
      "ffts": {
        "cpu:sec": 0.020757999999999888,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.022007226943969727,
        "wall:hum": "< 00.1s",
        "nocalls": 20
      },
      "write_hf": {
        "cpu:sec": 0.00012599999999995948,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.000125885009765625,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "wlanczos": {
        "cpu:sec": 3.064369,
        "cpu:hum": "03.0s",
        "wall:sec": 3.309703826904297,
        "wall:hum": "03.3s",
        "nocalls": 1
      },
      "pdep_read": {
        "cpu:sec": 0.00806300000000082,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.20557498931884766,
        "wall:hum": "00.2s",
        "nocalls": 60
      },
      "alphapc": {
        "cpu:sec": 0.0737270000000061,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.07490277290344238,
        "wall:hum": "< 00.1s",
        "nocalls": 283
      },
      "lan_H": {
        "cpu:sec": 6.303442,
        "cpu:hum": "06.3s",
        "wall:sec": 6.350523471832275,
        "wall:hum": "06.3s",
        "nocalls": 9
      },
      "h_psi": {
        "cpu:sec": 5.404693999999999,
        "cpu:hum": "05.4s",
        "wall:sec": 5.446528911590576,
        "wall:hum": "05.4s",
        "nocalls": 270
      },
      "h_psi:pot": {
        "cpu:sec": 5.378497999999998,
        "cpu:hum": "05.3s",
        "wall:sec": 5.420274972915649,
        "wall:hum": "05.4s",
        "nocalls": 270
      },
      "vloc_psi": {
        "cpu:sec": 5.281211000000001,
        "cpu:hum": "05.2s",
        "wall:sec": 5.322417736053467,
        "wall:hum": "05.3s",
        "nocalls": 270
      },
      "h_psi:calbec": {
        "cpu:sec": 0.04327800000000348,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.04345202445983887,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "calbec": {
        "cpu:sec": 0.0425690000000003,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.04284858703613281,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "add_vuspsi": {
        "cpu:sec": 0.052557999999995,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.05321621894836426,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "brak": {
        "cpu:sec": 0.07940300000000278,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0802910327911377,
        "wall:hum": "< 00.1s",
        "nocalls": 9
      },
      "sw_restart": {
        "cpu:sec": 0.016589999999999883,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.03564119338989258,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "chi_invert": {
        "cpu:sec": 0.0034809999999998453,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.005211830139160156,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "glanczos": {
        "cpu:sec": 3.79723,
        "cpu:hum": "03.7s",
        "wall:sec": 3.8953919410705566,
        "wall:hum": "03.8s",
        "nocalls": 1
      },
      "write_over": {
        "cpu:sec": 0.000288000000000288,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0003592967987060547,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "write_gfreq": {
        "cpu:sec": 0.0024490000000003675,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.06040596961975098,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "sg_restart": {
        "cpu:sec": 0.001490999999999687,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0022737979888916016,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "solve_qp": {
        "cpu:sec": 0.03600899999999996,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.04532003402709961,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "coll_gw": {
        "cpu:sec": 0.006139000000000117,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.007670879364013672,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "read_over": {
        "cpu:sec": 0.0003470000000014295,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.00044798851013183594,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "read_gfreq": {
        "cpu:sec": 0.0010260000000004155,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0020079612731933594,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "read_hf": {
        "cpu:sec": 5.599999999983396e-05,
        "cpu:hum": "< 00.1s",
        "wall:sec": 5.888938903808594e-05,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sigmac_i": {
        "cpu:sec": 0.00898500000000002,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.008982658386230469,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "sigmac_r": {
        "cpu:sec": 0.00028299999999870096,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0002830028533935547,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "wfreq_db": {
        "cpu:sec": 0.00309399999999993,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0041790008544921875,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      }
    }
  },
  "40": {
    "runjob": {
      "startdate": " 7Oct2022",
      "starttime": "12:37:45",
      "completed": true,
      "endtime": "12:37:55",
      "enddate": " 7Oct2022"
    },
    "software": {
      "package": "WEST",
      "program": "WFREQ",
      "version": "5.2.0",
      "westgit": "v5.2.0-4-ga2c3fe0",
      "website": "https://west-code.org",
      "citation": "M. Govoni et al., J. Chem. Theory Comput. 11, 2680 (2015).",
      "qeversion": "7.1"
    },
    "config": {
      "io": {
        "islittleendian": true
      }
    },
    "parallel": {
      "nranks": 4,
      "nimage": 1,
      "npool": 1,
      "nbgrp": 1,
      "nrg": 4,
      "nproc": 4,
      "nthreads": 1
    },
    "input": {
      "input_west": {
        "qe_prefix": "silane",
        "west_prefix": "silane",
        "outdir": "./"
      },
      "wstat_control": {
        "wstat_calculation": "S",
        "n_pdep_eigen": 50,
        "n_pdep_times": 4,
        "n_pdep_maxiter": 100,
        "n_dfpt_maxiter": 250,
        "n_pdep_read_from_file": 0,
        "n_steps_write_restart": 1,
        "trev_pdep": 0.001,
        "trev_pdep_rel": 0.1,
        "tr2_dfpt": 1e-12,
        "l_kinetic_only": false,
        "l_minimize_exx_if_active": false,
        "l_use_ecutrho": false,
        "qlist": [
          1
        ]
      },
      "wfreq_control": {
        "wfreq_calculation": "XWGQ",
        "n_pdep_eigen_to_use": 40,
        "qp_bandrange": [
          1,
          5
        ],
        "qp_bands": [
          0
        ],
        "macropol_calculation": "N",
        "n_lanczos": 30,
        "n_imfreq": 128,
        "n_refreq": 300,
        "ecut_imfreq": 100.0,
        "ecut_refreq": 2.0,
        "wfreq_eta": 0.0036749308824745378,
        "n_secant_maxiter": 21,
        "trev_secant": 0.0036749308824745378,
        "l_enable_lanczos": true,
        "l_enable_off_diagonal": false,
        "o_restart_time": 0.0,
        "ecut_spectralf": [
          -2.0,
          1.0
        ],
        "n_spectralf": 204
      }
    },
    "system": {
      "basis": {
        "npw": {
          "proc": [
            0,
            0,
            0,
            0
          ],
          "min": 0,
          "max": 0,
          "sum": 0
        },
        "ngm": {
          "proc": [
            16881,
            16880,
            16881,
            16880
          ],
          "min": 16880,
          "max": 16881,
          "sum": 67522
        },
        "gamma_only": true,
        "ecutwfc:ry": 25.0,
        "ecutrho:ry": 100.0
      },
      "cell": {
        "units": "a.u.",
        "omega": 8000.0,
        "a1": [
          20.0,
          0.0,
          0.0
        ],
        "a2": [
          0.0,
          20.0,
          0.0
        ],
        "a3": [
          0.0,
          0.0,
          20.0
        ],
        "b1": [
          0.3141592653589793,
          0.0,
          0.0
        ],
        "b2": [
          0.0,
          0.3141592653589793,
          0.0
        ],
        "b3": [
          0.0,
          0.0,
          0.3141592653589793
        ],
        "alat": 20.0,
        "tpiba": 0.3141592653589793
      },
      "electron": {
        "nbnd": 10,
        "nkstot": 1,
        "nspin": 1,
        "nelec": 8.0,
        "npol": 1,
        "lsda": false,
        "noncolin": false,
        "lspinorb": false
      },
      "3dfft": {
        "s": [
          64,
          64,
          64
        ],
        "p": [
          64,
          64,
          64
        ]
      },
      "bzsamp": {
        "k": [
          {
            "id": 1,
            "crystcoord": [
              0.0,
              0.0,
              0.0
            ]
          }
        ]
      }
    },
    "exec": {
      "Q": {
        "secitr": 3,
        "en": [
          {
            "ksb": [
              1,
              1,
              1
            ],
            "ein": [
              -13.237801251667781,
              -16.25176897508054,
              -16.085556078529677
            ],
            "eout": [
              -16.25176897508054,
              -16.085556078529677,
              -16.10753724333305
            ],
            "sc_ein": [
              [
                1.8042210062301391,
                0.014516724024919311
              ],
              [
                3.6084545356336277,
                0.07492266267012593
              ],
              [
                3.46846054338199,
                0.10192299043286844
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              2
            ],
            "ein": [
              -8.232337181481201,
              -12.117280018403024,
              -12.01228385005183
            ],
            "eout": [
              -12.117280018403024,
              -12.01228385005183,
              -12.015086249464098
            ],
            "sc_ein": [
              [
                0.06084673396476856,
                0.003181550299765841
              ],
              [
                0.7620588535642762,
                0.00865438456469709
              ],
              [
                0.7397086500490284,
                0.008525169669001189
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              3
            ],
            "ein": [
              -8.231818167024082,
              -12.116762059657141,
              -12.011786534232762
            ],
            "eout": [
              -12.116762059657141,
              -12.011786534232762,
              -12.014588871911954
            ],
            "sc_ein": [
              [
                0.06076540587100056,
                0.0031816185372497015
              ],
              [
                0.761967692794291,
                0.008653735935184594
              ],
              [
                0.7396215520870947,
                0.008524578409387156
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              4
            ],
            "ein": [
              -8.2314429871655,
              -12.116297512109153,
              -12.011312731137107
            ],
            "eout": [
              -12.116297512109153,
              -12.011312731137107,
              -12.014114688596804
            ],
            "sc_ein": [
              [
                0.0607114184507675,
                0.0031817893751216308
              ],
              [
                0.7619254203441669,
                0.008654338525236602
              ],
              [
                0.7395773179771983,
                0.008525163334296463
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              5
            ],
            "ein": [
              -0.4659075354101419,
              0.6772494531558649,
              0.6761701039811072
            ],
            "eout": [
              0.6772494531558649,
              0.6761701039811072,
              0.6761701039811072
            ],
            "sc_ein": [
              [
                -0.33773176619910594,
                -9.89237141351256e-06
              ],
              [
                -0.3608703602617066,
                -9.704091052975925e-05
              ],
              [
                -0.3608405760028206,
                -9.697646607581304e-05
              ]
            ]
          }
        ]
      }
    },
    "output": {
      "Q": {
        "bandmap": [
          1,
          2,
          3,
          4,
          5
        ],
        "indexmap": [
          [
            1,
            1
          ],
          [
            2,
            2
          ],
          [
            3,
            3
          ],
          [
            4,
            4
          ],
          [
            5,
            5
          ]
        ],
        "K000001": {
          "eks": [
            -13.237801251667781,
            -8.232337181481201,
            -8.231818167024082,
            -8.2314429871655,
            -0.4659075354101419
          ],
          "z": [
            0.6620482797287082,
            0.8706324880158878,
            0.8706296295961127,
            0.8706270314666139,
            0.9810869344355527
          ],
          "eqpLin": [
            -16.25176897508054,
            -12.117280018403024,
            -12.116762059657141,
            -12.116297512109153,
            0.6772494531558649
          ],
          "eqpSec": [
            -16.10753724333305,
            -12.015086249464098,
            -12.014588871911954,
            -12.014114688596804,
            0.6761701039811072
          ],
          "sigma_diff": [
            -0.021981164803371582,
            -0.0028023994122676663,
            -0.0028023376791927817,
            -0.0028019574596971244,
            0.0
          ],
          "occupation": [
            2.0,
            2.0,
            2.0,
            2.0,
            0.0
          ],
          "sigmax": [
            -17.606465467514493,
            -15.766052671933085,
            -15.765818857651459,
            -15.765460140908123,
            -0.5873351382106943
          ],
          "vxcl": [
            -11.249755140342666,
            -11.242998415968598,
            -11.242830067038435,
            -11.242614669027583,
            -2.0902612908009486
          ],
          "vxcnl": [
            0.0,
            0.0,
            0.0,
            0.0,
            0.0
          ],
          "hf": [
            -6.356710327171826,
            -4.523054255964487,
            -4.522988790613024,
            -4.52284547188054,
            1.5029261525902546
          ],
          "sigmac_eks": {
            "re": [
              1.8042210062301391,
              0.06084673396476856,
              0.06076540587100056,
              0.0607114184507675,
              -0.33773176619910594
            ],
            "im": [
              0.014516724024919311,
              0.003181550299765841,
              0.0031816185372497015,
              0.0031817893751216308,
              -9.89237141351256e-06
            ]
          },
          "sigmac_eqpLin": {
            "re": [
              3.6084545356336277,
              0.7620588535642762,
              0.761967692794291,
              0.7619254203441669,
              -0.3608703602617066
            ],
            "im": [
              0.07492266267012593,
              0.00865438456469709,
              0.008653735935184594,
              0.008654338525236602,
              -9.704091052975925e-05
            ]
          },
          "sigmac_eqpSec": {
            "re": [
              3.46846054338199,
              0.7397086500490284,
              0.7396215520870947,
              0.7395773179771983,
              -0.3608405760028206
            ],
            "im": [
              0.10192299043286844,
              0.008525169669001189,
              0.008524578409387156,
              0.008525163334296463,
              -9.697646607581304e-05
            ]
          }
        }
      }
    },
    "timing": {
      "WFREQ": {
        "cpu:sec": 9.487156,
        "cpu:hum": "09.4s",
        "wall:sec": 9.94643497467041,
        "wall:hum": "09.9s",
        "nocalls": 2
      },
      "wfreq_readin": {
        "cpu:sec": 0.156557,
        "cpu:hum": "00.1s",
        "wall:sec": 0.17851996421813965,
        "wall:hum": "00.1s",
        "nocalls": 1
      },
      "fetch_input": {
        "cpu:sec": 0.010375000000000023,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.010914087295532227,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "fft": {
        "cpu:sec": 0.03124700000000019,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.04041624069213867,
        "wall:hum": "< 00.1s",
        "nocalls": 14
      },
      "fft_scatter": {
        "cpu:sec": 1.7645650000000073,
        "cpu:hum": "01.7s",
        "wall:sec": 1.7912681102752686,
        "wall:hum": "01.7s",
        "nocalls": 11593
      },
      "init_vloc": {
        "cpu:sec": 0.010655999999999943,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.01133584976196289,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "init_us_1": {
        "cpu:sec": 0.01548000000000005,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.016222238540649414,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "v_of_rho": {
        "cpu:sec": 0.03256700000000001,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.03770112991333008,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "v_xc": {
        "cpu:sec": 0.048082000000000014,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.056694746017456055,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "v_h": {
        "cpu:sec": 0.0017209999999999726,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0017638206481933594,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "do_setup": {
        "cpu:sec": 0.01553199999999999,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.01739788055419922,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "init_pw_ar": {
        "cpu:sec": 0.014834000000000014,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.015699148178100586,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "hinit0": {
        "cpu:sec": 0.012062000000000017,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.012059926986694336,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "solve_hf": {
        "cpu:sec": 0.06009600000000004,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.07181096076965332,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sigmavxc": {
        "cpu:sec": 0.004156999999999966,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.00514984130859375,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "init_us_2": {
        "cpu:sec": 0.0005870000000003373,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0011920928955078125,
        "wall:hum": "< 00.1s",
        "nocalls": 3
      },
      "init_us_2:cp": {
        "cpu:sec": 0.0005819999999996384,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0011818408966064453,
        "wall:hum": "< 00.1s",
        "nocalls": 3
      },
      "fftw": {
        "cpu:sec": 6.578541000000001,
        "cpu:hum": "06.5s",
        "wall:sec": 6.6487109661102295,
        "wall:hum": "06.6s",
        "nocalls": 11559
      },
      "sigmax": {
        "cpu:sec": 0.03848700000000005,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.04528093338012695,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sqvc_init": {
        "cpu:sec": 0.012275000000000702,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.012437105178833008,
        "wall:hum": "< 00.1s",
        "nocalls": 7
      },
      "ffts": {
        "cpu:sec": 0.01739400000000002,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.02197551727294922,
        "wall:hum": "< 00.1s",
        "nocalls": 20
      },
      "write_hf": {
        "cpu:sec": 2.799999999991698e-05,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.00010609626770019531,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "wlanczos": {
        "cpu:sec": 4.131914,
        "cpu:hum": "04.1s",
        "wall:sec": 4.358381986618042,
        "wall:hum": "04.3s",
        "nocalls": 1
      },
      "pdep_read": {
        "cpu:sec": 0.005619000000002039,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.15206050872802734,
        "wall:hum": "00.1s",
        "nocalls": 80
      },
      "alphapc": {
        "cpu:sec": 0.0953670000000102,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.09916806221008301,
        "wall:hum": "< 00.1s",
        "nocalls": 283
      },
      "lan_H": {
        "cpu:sec": 8.429053000000001,
        "cpu:hum": "08.4s",
        "wall:sec": 8.518070697784424,
        "wall:hum": "08.5s",
        "nocalls": 9
      },
      "h_psi": {
        "cpu:sec": 7.175931000000003,
        "cpu:hum": "07.1s",
        "wall:sec": 7.250587463378906,
        "wall:hum": "07.2s",
        "nocalls": 270
      },
      "h_psi:pot": {
        "cpu:sec": 7.141407000000009,
        "cpu:hum": "07.1s",
        "wall:sec": 7.2157816886901855,
        "wall:hum": "07.2s",
        "nocalls": 270
      },
      "vloc_psi": {
        "cpu:sec": 7.023954,
        "cpu:hum": "07.0s",
        "wall:sec": 7.097140312194824,
        "wall:hum": "07.0s",
        "nocalls": 270
      },
      "h_psi:calbec": {
        "cpu:sec": 0.05727900000000652,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.057702064514160156,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "calbec": {
        "cpu:sec": 0.05651899999999266,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.05707859992980957,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "add_vuspsi": {
        "cpu:sec": 0.05870800000000287,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.05972456932067871,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "brak": {
        "cpu:sec": 0.12724599999999953,
        "cpu:hum": "00.1s",
        "wall:sec": 0.1292285919189453,
        "wall:hum": "00.1s",
        "nocalls": 9
      },
      "sw_restart": {
        "cpu:sec": 0.028712999999999766,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.053241729736328125,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "chi_invert": {
        "cpu:sec": 0.00880599999999987,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.009788990020751953,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "glanczos": {
        "cpu:sec": 5.061797,
        "cpu:hum": "05.0s",
        "wall:sec": 5.246016025543213,
        "wall:hum": "05.2s",
        "nocalls": 1
      },
      "write_over": {
        "cpu:sec": 0.0002819999999985612,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0003752708435058594,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "write_gfreq": {
        "cpu:sec": 0.0020880000000023102,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.11620879173278809,
        "wall:hum": "00.1s",
        "nocalls": 5
      },
      "sg_restart": {
        "cpu:sec": 0.0006490000000010099,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.002301454544067383,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "solve_qp": {
        "cpu:sec": 0.04317999999999955,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.05275297164916992,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "coll_gw": {
        "cpu:sec": 0.006944999999999979,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.010355949401855469,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "read_over": {
        "cpu:sec": 0.00034399999999834563,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0004429817199707031,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "read_gfreq": {
        "cpu:sec": 0.0009960000000024394,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.002391338348388672,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "read_hf": {
        "cpu:sec": 6.199999999978445e-05,
        "cpu:hum": "< 00.1s",
        "wall:sec": 6.198883056640625e-05,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sigmac_i": {
        "cpu:sec": 0.011483000000000132,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.011481761932373047,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "sigmac_r": {
        "cpu:sec": 0.0002990000000018256,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0002987384796142578,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "wfreq_db": {
        "cpu:sec": 0.003341999999999956,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.004400968551635742,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      }
    }
  },
  "50": {
    "runjob": {
      "startdate": " 7Oct2022",
      "starttime": "12:38:48",
      "completed": true,
      "endtime": "12:39: 0",
      "enddate": " 7Oct2022"
    },
    "software": {
      "package": "WEST",
      "program": "WFREQ",
      "version": "5.2.0",
      "westgit": "v5.2.0-4-ga2c3fe0",
      "website": "https://west-code.org",
      "citation": "M. Govoni et al., J. Chem. Theory Comput. 11, 2680 (2015).",
      "qeversion": "7.1"
    },
    "config": {
      "io": {
        "islittleendian": true
      }
    },
    "parallel": {
      "nranks": 4,
      "nimage": 1,
      "npool": 1,
      "nbgrp": 1,
      "nrg": 4,
      "nproc": 4,
      "nthreads": 1
    },
    "input": {
      "input_west": {
        "qe_prefix": "silane",
        "west_prefix": "silane",
        "outdir": "./"
      },
      "wstat_control": {
        "wstat_calculation": "S",
        "n_pdep_eigen": 50,
        "n_pdep_times": 4,
        "n_pdep_maxiter": 100,
        "n_dfpt_maxiter": 250,
        "n_pdep_read_from_file": 0,
        "n_steps_write_restart": 1,
        "trev_pdep": 0.001,
        "trev_pdep_rel": 0.1,
        "tr2_dfpt": 1e-12,
        "l_kinetic_only": false,
        "l_minimize_exx_if_active": false,
        "l_use_ecutrho": false,
        "qlist": [
          1
        ]
      },
      "wfreq_control": {
        "wfreq_calculation": "XWGQ",
        "n_pdep_eigen_to_use": 50,
        "qp_bandrange": [
          1,
          5
        ],
        "qp_bands": [
          0
        ],
        "macropol_calculation": "N",
        "n_lanczos": 30,
        "n_imfreq": 128,
        "n_refreq": 300,
        "ecut_imfreq": 100.0,
        "ecut_refreq": 2.0,
        "wfreq_eta": 0.0036749308824745378,
        "n_secant_maxiter": 21,
        "trev_secant": 0.0036749308824745378,
        "l_enable_lanczos": true,
        "l_enable_off_diagonal": false,
        "o_restart_time": 0.0,
        "ecut_spectralf": [
          -2.0,
          1.0
        ],
        "n_spectralf": 204
      }
    },
    "system": {
      "basis": {
        "npw": {
          "proc": [
            0,
            0,
            0,
            0
          ],
          "min": 0,
          "max": 0,
          "sum": 0
        },
        "ngm": {
          "proc": [
            16881,
            16880,
            16881,
            16880
          ],
          "min": 16880,
          "max": 16881,
          "sum": 67522
        },
        "gamma_only": true,
        "ecutwfc:ry": 25.0,
        "ecutrho:ry": 100.0
      },
      "cell": {
        "units": "a.u.",
        "omega": 8000.0,
        "a1": [
          20.0,
          0.0,
          0.0
        ],
        "a2": [
          0.0,
          20.0,
          0.0
        ],
        "a3": [
          0.0,
          0.0,
          20.0
        ],
        "b1": [
          0.3141592653589793,
          0.0,
          0.0
        ],
        "b2": [
          0.0,
          0.3141592653589793,
          0.0
        ],
        "b3": [
          0.0,
          0.0,
          0.3141592653589793
        ],
        "alat": 20.0,
        "tpiba": 0.3141592653589793
      },
      "electron": {
        "nbnd": 10,
        "nkstot": 1,
        "nspin": 1,
        "nelec": 8.0,
        "npol": 1,
        "lsda": false,
        "noncolin": false,
        "lspinorb": false
      },
      "3dfft": {
        "s": [
          64,
          64,
          64
        ],
        "p": [
          64,
          64,
          64
        ]
      },
      "bzsamp": {
        "k": [
          {
            "id": 1,
            "crystcoord": [
              0.0,
              0.0,
              0.0
            ]
          }
        ]
      }
    },
    "exec": {
      "Q": {
        "secitr": 3,
        "en": [
          {
            "ksb": [
              1,
              1,
              1
            ],
            "ein": [
              -13.237801251667781,
              -16.274876898341113,
              -16.11510421788762
            ],
            "eout": [
              -16.274876898341113,
              -16.11510421788762,
              -16.138013240522717
            ],
            "sc_ein": [
              [
                1.7649550764310757,
                0.014571861521748181
              ],
              [
                3.5746085407455075,
                0.075896655563245
              ],
              [
                3.436728376414635,
                0.11712842167923476
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              2
            ],
            "ein": [
              -8.232337181481201,
              -12.152609367433218,
              -12.04525380753608
            ],
            "eout": [
              -12.152609367433218,
              -12.04525380753608,
              -12.0480641057317
            ],
            "sc_ein": [
              [
                0.009910453532299883,
                0.0032708694637614017
              ],
              [
                0.7298530572183226,
                0.008924630106573381
              ],
              [
                0.7067218140204115,
                0.00879013248361573
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              3
            ],
            "ein": [
              -8.231818167024082,
              -12.149624093112687,
              -12.04222550722904
            ],
            "eout": [
              -12.149624093112687,
              -12.04222550722904,
              -12.045030124076524
            ],
            "sc_ein": [
              [
                0.012866195934900829,
                0.0032705793343281043
              ],
              [
                0.7323033389470464,
                0.008923582453248919
              ],
              [
                0.7091728004876989,
                0.008789119757296196
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              4
            ],
            "ein": [
              -8.2314429871655,
              -12.148646310420476,
              -12.041219935081596
            ],
            "eout": [
              -12.148646310420476,
              -12.041219935081596,
              -12.04402294706993
            ],
            "sc_ein": [
              [
                0.013454596981876458,
                0.0032705081787671227
              ],
              [
                0.7327959225339192,
                0.008923951974100983
              ],
              [
                0.7096618895262772,
                0.008789454074630536
              ]
            ]
          },
          {
            "ksb": [
              1,
              1,
              5
            ],
            "ein": [
              -0.4659075354101419,
              0.6653421542953486,
              0.6642299636901703
            ],
            "eout": [
              0.6653421542953486,
              0.6642299636901703,
              0.6642299636901703
            ],
            "sc_ein": [
              [
                -0.349000122410219,
                -1.0634046903931567e-05
              ],
              [
                -0.37281206425261404,
                -0.00011696964401045431
              ],
              [
                -0.3727876133048192,
                -0.00011696964401045431
              ]
            ]
          }
        ]
      }
    },
    "output": {
      "Q": {
        "bandmap": [
          1,
          2,
          3,
          4,
          5
        ],
        "indexmap": [
          [
            1,
            1
          ],
          [
            2,
            2
          ],
          [
            3,
            3
          ],
          [
            4,
            4
          ],
          [
            5,
            5
          ]
        ],
        "K000001": {
          "eks": [
            -13.237801251667781,
            -8.232337181481201,
            -8.231818167024082,
            -8.2314429871655,
            -0.4659075354101419
          ],
          "z": [
            0.6614193224221576,
            0.8686344503003285,
            0.8686694970800919,
            0.8686768195367418,
            0.9803485319843187
          ],
          "eqpLin": [
            -16.274876898341113,
            -12.152609367433218,
            -12.149624093112687,
            -12.148646310420476,
            0.6653421542953486
          ],
          "eqpSec": [
            -16.138013240522717,
            -12.0480641057317,
            -12.045030124076524,
            -12.04402294706993,
            0.6642299636901703
          ],
          "sigma_diff": [
            -0.022909022635098194,
            -0.0028102981956197224,
            -0.0028046168474845316,
            -0.002803011988333004,
            0.0
          ],
          "occupation": [
            2.0,
            2.0,
            2.0,
            2.0,
            0.0
          ],
          "sigmax": [
            -17.606465467514493,
            -15.766052671933085,
            -15.765818857651459,
            -15.765460140908123,
            -0.5873351382106943
          ],
          "vxcl": [
            -11.249755140342666,
            -11.242998415968598,
            -11.242830067038435,
            -11.242614669027583,
            -2.0902612908009486
          ],
          "vxcnl": [
            0.0,
            0.0,
            0.0,
            0.0,
            0.0
          ],
          "hf": [
            -6.356710327171826,
            -4.523054255964487,
            -4.522988790613024,
            -4.52284547188054,
            1.5029261525902546
          ],
          "sigmac_eks": {
            "re": [
              1.7649550764310757,
              0.009910453532299883,
              0.012866195934900829,
              0.013454596981876458,
              -0.349000122410219
            ],
            "im": [
              0.014571861521748181,
              0.0032708694637614017,
              0.0032705793343281043,
              0.0032705081787671227,
              -1.0634046903931567e-05
            ]
          },
          "sigmac_eqpLin": {
            "re": [
              3.5746085407455075,
              0.7298530572183226,
              0.7323033389470464,
              0.7327959225339192,
              -0.37281206425261404
            ],
            "im": [
              0.075896655563245,
              0.008924630106573381,
              0.008923582453248919,
              0.008923951974100983,
              -0.00011696964401045431
            ]
          },
          "sigmac_eqpSec": {
            "re": [
              3.436728376414635,
              0.7067218140204115,
              0.7091728004876989,
              0.7096618895262772,
              -0.3727876133048192
            ],
            "im": [
              0.11712842167923476,
              0.00879013248361573,
              0.008789119757296196,
              0.008789454074630536,
              -0.00011696964401045431
            ]
          }
        }
      }
    },
    "timing": {
      "WFREQ": {
        "cpu:sec": 11.731047,
        "cpu:hum": "11.7s",
        "wall:sec": 12.14316987991333,
        "wall:hum": "12.1s",
        "nocalls": 2
      },
      "wfreq_readin": {
        "cpu:sec": 0.142101,
        "cpu:hum": "00.1s",
        "wall:sec": 0.16361784934997559,
        "wall:hum": "00.1s",
        "nocalls": 1
      },
      "fetch_input": {
        "cpu:sec": 0.007970000000000033,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.009131193161010742,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "fft": {
        "cpu:sec": 0.042108000000000034,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.04729199409484863,
        "wall:hum": "< 00.1s",
        "nocalls": 14
      },
      "fft_scatter": {
        "cpu:sec": 2.199000000000062,
        "cpu:hum": "02.1s",
        "wall:sec": 2.227792263031006,
        "wall:hum": "02.2s",
        "nocalls": 14473
      },
      "init_vloc": {
        "cpu:sec": 0.010319999999999996,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.010787248611450195,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "init_us_1": {
        "cpu:sec": 0.016568999999999945,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.016850948333740234,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "v_of_rho": {
        "cpu:sec": 0.03327000000000002,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0371401309967041,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "v_xc": {
        "cpu:sec": 0.05227900000000002,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.05699300765991211,
        "wall:hum": "< 00.1s",
        "nocalls": 2
      },
      "v_h": {
        "cpu:sec": 0.001670999999999978,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.00167083740234375,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "do_setup": {
        "cpu:sec": 0.01567400000000002,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.01748490333557129,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "init_pw_ar": {
        "cpu:sec": 0.015046999999999977,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.016019105911254883,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "hinit0": {
        "cpu:sec": 0.01211000000000001,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.012354850769042969,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "solve_hf": {
        "cpu:sec": 0.06710700000000003,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.07297897338867188,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sigmavxc": {
        "cpu:sec": 0.004051000000000027,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.005136966705322266,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "init_us_2": {
        "cpu:sec": 0.0009809999999994545,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.00116729736328125,
        "wall:hum": "< 00.1s",
        "nocalls": 3
      },
      "init_us_2:cp": {
        "cpu:sec": 0.0009719999999990847,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.001157999038696289,
        "wall:hum": "< 00.1s",
        "nocalls": 3
      },
      "fftw": {
        "cpu:sec": 8.101619000000047,
        "cpu:hum": "08.1s",
        "wall:sec": 8.185752391815186,
        "wall:hum": "08.1s",
        "nocalls": 14439
      },
      "sigmax": {
        "cpu:sec": 0.04197000000000001,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.04578804969787598,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sqvc_init": {
        "cpu:sec": 0.011552999999999258,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.011853933334350586,
        "wall:hum": "< 00.1s",
        "nocalls": 7
      },
      "ffts": {
        "cpu:sec": 0.02042299999999997,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.022384166717529297,
        "wall:hum": "< 00.1s",
        "nocalls": 20
      },
      "write_hf": {
        "cpu:sec": 9.500000000001174e-05,
        "cpu:hum": "< 00.1s",
        "wall:sec": 9.608268737792969e-05,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "wlanczos": {
        "cpu:sec": 5.1379529999999995,
        "cpu:hum": "05.1s",
        "wall:sec": 5.400971174240112,
        "wall:hum": "05.4s",
        "nocalls": 1
      },
      "pdep_read": {
        "cpu:sec": 0.008767999999999887,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.15032577514648438,
        "wall:hum": "00.1s",
        "nocalls": 100
      },
      "alphapc": {
        "cpu:sec": 0.11389300000000624,
        "cpu:hum": "00.1s",
        "wall:sec": 0.11613106727600098,
        "wall:hum": "00.1s",
        "nocalls": 283
      },
      "lan_H": {
        "cpu:sec": 10.442191,
        "cpu:hum": "10.4s",
        "wall:sec": 10.538398027420044,
        "wall:hum": "10.5s",
        "nocalls": 9
      },
      "h_psi": {
        "cpu:sec": 8.853664000000009,
        "cpu:hum": "08.8s",
        "wall:sec": 8.94355034828186,
        "wall:hum": "08.9s",
        "nocalls": 270
      },
      "h_psi:pot": {
        "cpu:sec": 8.810825999999999,
        "cpu:hum": "08.8s",
        "wall:sec": 8.90080213546753,
        "wall:hum": "08.9s",
        "nocalls": 270
      },
      "vloc_psi": {
        "cpu:sec": 8.670037999999993,
        "cpu:hum": "08.6s",
        "wall:sec": 8.758021831512451,
        "wall:hum": "08.7s",
        "nocalls": 270
      },
      "h_psi:calbec": {
        "cpu:sec": 0.06849300000000547,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.06946015357971191,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "calbec": {
        "cpu:sec": 0.06771800000000638,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.06876993179321289,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "add_vuspsi": {
        "cpu:sec": 0.07071800000000117,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.07206106185913086,
        "wall:hum": "< 00.1s",
        "nocalls": 270
      },
      "brak": {
        "cpu:sec": 0.20410399999999917,
        "cpu:hum": "00.2s",
        "wall:sec": 0.20876431465148926,
        "wall:hum": "00.2s",
        "nocalls": 9
      },
      "sw_restart": {
        "cpu:sec": 0.04145599999999927,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.09229683876037598,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "chi_invert": {
        "cpu:sec": 0.012472999999999956,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.015166997909545898,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "glanczos": {
        "cpu:sec": 6.3028640000000005,
        "cpu:hum": "06.3s",
        "wall:sec": 6.399578094482422,
        "wall:hum": "06.3s",
        "nocalls": 1
      },
      "write_over": {
        "cpu:sec": 0.00039300000000075386,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0003981590270996094,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "write_gfreq": {
        "cpu:sec": 0.0017250000000004206,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.03147578239440918,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "sg_restart": {
        "cpu:sec": 0.0005959999999998189,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0024161338806152344,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "solve_qp": {
        "cpu:sec": 0.04543999999999926,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.06262898445129395,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "coll_gw": {
        "cpu:sec": 0.011383999999999617,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.015905141830444336,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "read_over": {
        "cpu:sec": 0.0004229999999996181,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0004470348358154297,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "read_gfreq": {
        "cpu:sec": 0.0003879999999991668,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.002985715866088867,
        "wall:hum": "< 00.1s",
        "nocalls": 5
      },
      "read_hf": {
        "cpu:sec": 6.4000000000064e-05,
        "cpu:hum": "< 00.1s",
        "wall:sec": 6.389617919921875e-05,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      },
      "sigmac_i": {
        "cpu:sec": 0.013606000000001117,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.013605117797851562,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "sigmac_r": {
        "cpu:sec": 0.0002770000000005268,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.0002760887145996094,
        "wall:hum": "< 00.1s",
        "nocalls": 4
      },
      "wfreq_db": {
        "cpu:sec": 0.0005980000000000985,
        "cpu:hum": "< 00.1s",
        "wall:sec": 0.004639863967895508,
        "wall:hum": "< 00.1s",
        "nocalls": 1
      }
    }
  }
}

We plot the energy levels of DFT and GW.

[13]:
import numpy as np
import matplotlib.pyplot as plt

# energy levels
y = {}
y[10] = data[10]['output']['Q']['K000001']['eqpSec']
y[20] = data[20]['output']['Q']['K000001']['eqpSec']
y[30] = data[30]['output']['Q']['K000001']['eqpSec']
y[40] = data[40]['output']['Q']['K000001']['eqpSec']
y[50] = data[50]['output']['Q']['K000001']['eqpSec']

# colors
c = {}
c[10] = 'red'
c[20] = 'blue'
c[30] = 'green'
c[40] = 'purple'
c[50] = 'black'

# plot
x = list(range(1, len(y)+1))
labels = y.keys()

fig, ax = plt.subplots(1, 1)
counter = 0
for i in labels :
    for a in y[i] :
        ax.hlines(a, x[counter]-0.25, x[counter]+0.25, color=c[i])
    counter += 1

#plt.ylim([-13,-11])

plt.xticks(x, labels)
plt.ylabel('Energy (eV)')

plt.title('Energy structure')

plt.show()
../../_images/tutorials_MICCoM_School_2017_miccom_003_34_0.png