munmap_chunk(): invalid pointer error

General discussion around the EPW software

Moderator: stiwari

Post Reply
fgoudreault
Posts: 5
Joined: Fri Jun 14, 2019 11:22 am
Affiliation:

munmap_chunk(): invalid pointer error

Post by fgoudreault »

Dear EPW users and developers. I am running epw on the simple hexagonal bulk Mg with the latest development version of Q-E/EPW. I am running into the following error though:

Code: Select all

munmap_chunk(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7fc497a6ed01 in ??? 
#1  0x7fc497a6ded5 in ??? 
#2  0x7fc4976e720f in ??? 
#3  0x7fc4976e718b in ??? 
#4  0x7fc4976c6858 in ??? 
#5  0x7fc4977313ed in ??? 
#6  0x7fc49773947b in ??? 
#7  0x7fc4977396cb in ??? 
#8  0x5648af0c0db7 in __pw2wan2epw_MOD_compute_amn_para
    at /home/fgoudreault/Workspace/q-e/EPW/src/pw2wan2epw.f90:1143
#9  0x5648af0c8012 in __pw2wan2epw_MOD_pw2wan90epw
    at /home/fgoudreault/Workspace/q-e/EPW/src/pw2wan2epw.f90:103
#10  0x5648af0cb01e in __wannierization_MOD_wann_run
    at /home/fgoudreault/Workspace/q-e/EPW/src/wannierization.f90:73
#11  0x5648aefb8305 in epw 
    at /home/fgoudreault/Workspace/q-e/EPW/src/epw.f90:133
#12  0x5648aefb80ee in main
    at /home/fgoudreault/Workspace/q-e/EPW/src/epw.f90:20
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 3 with PID 0 on node fgoudreault-XPS-13-9370 exited on signal 6 (Aborted).
--------------------------------------------------------------------------
As a side, when running the code on a single process, here is the error:

Code: Select all

alloc(): unsorted double linked list corrupted

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7f70dda96d01 in ??? 
#1  0x7f70dda95ed5 in ??? 
#2  0x7f70dd70f20f in ??? 
#3  0x7f70dd70f18b in ??? 
#4  0x7f70dd6ee858 in ??? 
#5  0x7f70dd7593ed in ??? 
#6  0x7f70dd76147b in ??? 
#7  0x7f70dd76446b in ??? 
#8  0x7f70dd766418 in ??? 
#9  0x5631bbc63c4d in __pw2wan2epw_MOD_compute_mmn_para
    at /home/fgoudreault/Workspace/q-e/EPW/src/pw2wan2epw.f90:2026
#10  0x5631bbc76e37 in __pw2wan2epw_MOD_pw2wan90epw
    at /home/fgoudreault/Workspace/q-e/EPW/src/pw2wan2epw.f90:105
#11  0x5631bbc79e3e in __wannierization_MOD_wann_run
    at /home/fgoudreault/Workspace/q-e/EPW/src/wannierization.f90:73
#12  0x5631bbb67305 in epw 
    at /home/fgoudreault/Workspace/q-e/EPW/src/epw.f90:133
#13  0x5631bbb670ee in main
    at /home/fgoudreault/Workspace/q-e/EPW/src/epw.f90:20
Here is the log file up to the error (using only one process):

Code: Select all

                                       ``:oss/                                        
                           `.+s+.     .+ys--yh+     `./ss+.                           
                          -sh//yy+`   +yy   +yy    -+h+-oyy                           
                          -yh- .oyy/.-sh.   .syo-.:sy-  /yh                           
                 `.-.`    `yh+   -oyyyo.     `/syys:    oys      `.`                  
               `/+ssys+-` `sh+      `                   oys`   .:osyo`                
               -yh- ./syyooyo`                          .sys+/oyo--yh/                
               `yy+    .-:-.                             `-/+/:`  -sh-                
                /yh.                                              oys                 
          ``..---hho---------`   .---------..`      `.-----.`    -hd+---.             
       `./osmNMMMMMMMMMMMMMMMs. +NNMMMMMMMMNNmh+.   yNMMMMMNm-  oNMMMMMNmo++:`        
       +sy--/sdMMMhyyyyyyyNMMh- .oyNMMmyyyyyhNMMm+` -yMMMdyyo:` .oyyNMMNhs+syy`       
       -yy/   /MMM+.`-+/``mMMy-   `mMMh:`````.dMMN:` `MMMy-`-dhhy```mMMy:``+hs        
        -yy+` /MMMo:-mMM+`-oo/.    mMMh:     `dMMN/`  dMMm:`dMMMMy..MMMo-.+yo`        
         .sys`/MMMMNNMMMs-         mMMmyooooymMMNo:   oMMM/sMMMMMM++MMN//oh:          
          `sh+/MMMhyyMMMs- `-`     mMMMMMMMMMNmy+-`   -MMMhMMMsmMMmdMMd/yy+           
    `-/+++oyy-/MMM+.`/hh/.`mNm:`   mMMd+/////:-.`      NMMMMMd/:NMMMMMy:/yyo/:.`      
   +os+//:-..-oMMMo:--:::-/MMMo. .-mMMd+---`           hMMMMN+. oMMMMMo. `-+osyso:`   
   syo     `mNMMMMMNNNNNNNNMMMo.oNNMMMMMNNNN:`         +MMMMs:`  dMMMN/`     ``:syo   
   /yh`     :syyyyyyyyyyyyyyyy+.`+syyyyyyyyo:`         .oyys:`   .oyys:`        +yh   
   -yh-        ````````````````    `````````              ``        ``          oys   
   -+h/------------------------::::::::://////++++++++++++++++++++++///////::::/yd:   
   shdddddddddddddddddddddddddddddhhhhhhhhyyyyyssssssssssssssssyyyyyyyhhhhhhhddddh`   
                                                                                      
  S. Ponce, E. R. Margine, C. Verdi, and F. Giustino,                                 
                                                Comput. Phys. Commun. 209, 116 (2016) 
                                                                                      

     Program EPW v.5.3.1 starts on 10Mar2021 at 14: 1: 0 

     This program is part of the open-source Quantum ESPRESSO suite
     for quantum simulation of materials; please cite
         "P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);
         "P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017);
         "P. Giannozzi et al., J. Chem. Phys. 152 154105 (2020);
          URL http://www.quantum-espresso.org", 
     in publications or presentations arising from this work. More details at
     http://www.quantum-espresso.org/quote

     Parallel version (MPI), running on     4 processors

     MPI processes distributed on     1 nodes
     K-points division:     npool     =       4
     Reading input from /home/fgoudreault/Workspace/testbench/transport/Mg/epw_interpolation/epw_interpolation_run/epw_interpolation_run.in

     WARNING: The specified dis_win_min is ignored.
              You should instead use bands_skipped = 'exclude_bands = ...'
              to control the lower bound of band manifold.

     No temperature supplied. Setting temps(:) to 300 K.

     WARNING: You are using ngaussw == -99 (Fermi-Dirac).

              You probably need assume_metal == .true 

     Reading xml data from directory:

     /home/fgoudreault/Workspace/testbench/transport/Mg/epw_interpolation/epw_interpolation_run/run/output_data/epw_interpolation_run.save/

     IMPORTANT: XC functional enforced from input :
     Exchange-correlation= PBE
                           (   1   4   3   4   0   0   0)
     Any further DFT definition will be discarded
     Please, verify this is what you really want


     G-vector sticks info
     --------------------
     sticks:   dense  smooth     PW     G-vecs:    dense   smooth      PW
     Sum         397     397    163                10299    10299    2779

     Using Slab Decomposition

     Reading collected, re-writing distributed wavefunctions

Possibly too few bands at point   19   0.00000   0.57735   0.00000

     epw_interpolation_run                                                      

     bravais-lattice index     =            4
     lattice parameter (a_0)   =       6.0310  a.u.
     unit-cell volume          =     301.8735 (a.u.)^3
     number of atoms/cell      =            2
     number of atomic types    =            1
     kinetic-energy cut-off    =      40.0000  Ry
     charge density cut-off    =     160.0000  Ry
     Exchange-correlation= PBE
                           (   1   4   3   4   0   0   0)


     celldm(1)=    6.03099  celldm(2)=    0.00000  celldm(3)=    1.58902
     celldm(4)=    0.00000  celldm(5)=    0.00000  celldm(6)=    0.00000

     crystal axes: (cart. coord. in units of a_0)
               a(1) = (  1.0000  0.0000  0.0000 )  
               a(2) = ( -0.5000  0.8660  0.0000 )  
               a(3) = (  0.0000  0.0000  1.5890 )  

     reciprocal axes: (cart. coord. in units 2 pi/a_0)
               b(1) = (  1.0000  0.5774 -0.0000 )  
               b(2) = (  0.0000  1.1547  0.0000 )  
               b(3) = (  0.0000 -0.0000  0.6293 )  


     Atoms inside the unit cell: 

   Cartesian axes

     site n.  atom      mass           positions (a_0 units)
        1        Mg  24.3050   tau( 1) = (    0.00000    0.57735    0.00000  )
        2        Mg  24.3050   tau( 2) = (    0.50000    0.28868    0.79451  )

     25 Sym.Ops. (with q -> -q+G )


     G cutoff =  147.4135  (  10299 G-vectors)     FFT grid: ( 25, 25, 40)
     number of k points=  216  gaussian broad. (Ry)=  0.1000     ngauss =   1
                       cart. coord. in units 2pi/a_0
        k(    1) = (   0.0000000   0.0000000   0.0000000), wk =   0.0092593
        k(    2) = (   0.0000000   0.0000000   0.1048866), wk =   0.0092593
        k(    3) = (   0.0000000   0.0000000   0.2097731), wk =   0.0092593
        k(    4) = (   0.0000000   0.0000000   0.3146597), wk =   0.0092593
        k(    5) = (   0.0000000   0.0000000   0.4195463), wk =   0.0092593
        k(    6) = (   0.0000000   0.0000000   0.5244328), wk =   0.0092593
        k(    7) = (   0.0000000   0.1924501   0.0000000), wk =   0.0092593
        k(    8) = (   0.0000000   0.1924501   0.1048866), wk =   0.0092593
        k(    9) = (   0.0000000   0.1924501   0.2097731), wk =   0.0092593
        k(   10) = (   0.0000000   0.1924501   0.3146597), wk =   0.0092593
        k(   11) = (   0.0000000   0.1924501   0.4195463), wk =   0.0092593
        k(   12) = (   0.0000000   0.1924501   0.5244328), wk =   0.0092593
        k(   13) = (   0.0000000   0.3849002   0.0000000), wk =   0.0092593
        k(   14) = (   0.0000000   0.3849002   0.1048866), wk =   0.0092593
        k(   15) = (   0.0000000   0.3849002   0.2097731), wk =   0.0092593
        k(   16) = (   0.0000000   0.3849002   0.3146597), wk =   0.0092593
        k(   17) = (   0.0000000   0.3849002   0.4195463), wk =   0.0092593
        k(   18) = (   0.0000000   0.3849002   0.5244328), wk =   0.0092593
        k(   19) = (   0.0000000   0.5773503   0.0000000), wk =   0.0092593
        k(   20) = (   0.0000000   0.5773503   0.1048866), wk =   0.0092593
        k(   21) = (   0.0000000   0.5773503   0.2097731), wk =   0.0092593
        k(   22) = (   0.0000000   0.5773503   0.3146597), wk =   0.0092593
        k(   23) = (   0.0000000   0.5773503   0.4195463), wk =   0.0092593
        k(   24) = (   0.0000000   0.5773503   0.5244328), wk =   0.0092593
        k(   25) = (   0.0000000   0.7698004   0.0000000), wk =   0.0092593
        k(   26) = (   0.0000000   0.7698004   0.1048866), wk =   0.0092593
        k(   27) = (   0.0000000   0.7698004   0.2097731), wk =   0.0092593
        k(   28) = (   0.0000000   0.7698004   0.3146597), wk =   0.0092593
        k(   29) = (   0.0000000   0.7698004   0.4195463), wk =   0.0092593
        k(   30) = (   0.0000000   0.7698004   0.5244328), wk =   0.0092593
        k(   31) = (   0.0000000   0.9622504   0.0000000), wk =   0.0092593
        k(   32) = (   0.0000000   0.9622504   0.1048866), wk =   0.0092593
        k(   33) = (   0.0000000   0.9622504   0.2097731), wk =   0.0092593
        k(   34) = (   0.0000000   0.9622504   0.3146597), wk =   0.0092593
        k(   35) = (   0.0000000   0.9622504   0.4195463), wk =   0.0092593
        k(   36) = (   0.0000000   0.9622504   0.5244328), wk =   0.0092593
        k(   37) = (   0.1666667   0.0962250   0.0000000), wk =   0.0092593
        k(   38) = (   0.1666667   0.0962250   0.1048866), wk =   0.0092593
        k(   39) = (   0.1666667   0.0962250   0.2097731), wk =   0.0092593
        k(   40) = (   0.1666667   0.0962250   0.3146597), wk =   0.0092593
        k(   41) = (   0.1666667   0.0962250   0.4195463), wk =   0.0092593
        k(   42) = (   0.1666667   0.0962250   0.5244328), wk =   0.0092593
        k(   43) = (   0.1666667   0.2886751   0.0000000), wk =   0.0092593
        k(   44) = (   0.1666667   0.2886751   0.1048866), wk =   0.0092593
        k(   45) = (   0.1666667   0.2886751   0.2097731), wk =   0.0092593
        k(   46) = (   0.1666667   0.2886751   0.3146597), wk =   0.0092593
        k(   47) = (   0.1666667   0.2886751   0.4195463), wk =   0.0092593
        k(   48) = (   0.1666667   0.2886751   0.5244328), wk =   0.0092593
        k(   49) = (   0.1666667   0.4811252   0.0000000), wk =   0.0092593
        k(   50) = (   0.1666667   0.4811252   0.1048866), wk =   0.0092593
        k(   51) = (   0.1666667   0.4811252   0.2097731), wk =   0.0092593
        k(   52) = (   0.1666667   0.4811252   0.3146597), wk =   0.0092593
        k(   53) = (   0.1666667   0.4811252   0.4195463), wk =   0.0092593
        k(   54) = (   0.1666667   0.4811252   0.5244328), wk =   0.0092593
        k(   55) = (   0.1666667   0.6735753   0.0000000), wk =   0.0092593
        k(   56) = (   0.1666667   0.6735753   0.1048866), wk =   0.0092593
        k(   57) = (   0.1666667   0.6735753   0.2097731), wk =   0.0092593
        k(   58) = (   0.1666667   0.6735753   0.3146597), wk =   0.0092593
        k(   59) = (   0.1666667   0.6735753   0.4195463), wk =   0.0092593
        k(   60) = (   0.1666667   0.6735753   0.5244328), wk =   0.0092593
        k(   61) = (   0.1666667   0.8660254   0.0000000), wk =   0.0092593
        k(   62) = (   0.1666667   0.8660254   0.1048866), wk =   0.0092593
        k(   63) = (   0.1666667   0.8660254   0.2097731), wk =   0.0092593
        k(   64) = (   0.1666667   0.8660254   0.3146597), wk =   0.0092593
        k(   65) = (   0.1666667   0.8660254   0.4195463), wk =   0.0092593
        k(   66) = (   0.1666667   0.8660254   0.5244328), wk =   0.0092593
        k(   67) = (   0.1666667   1.0584755   0.0000000), wk =   0.0092593
        k(   68) = (   0.1666667   1.0584755   0.1048866), wk =   0.0092593
        k(   69) = (   0.1666667   1.0584755   0.2097731), wk =   0.0092593
        k(   70) = (   0.1666667   1.0584755   0.3146597), wk =   0.0092593
        k(   71) = (   0.1666667   1.0584755   0.4195463), wk =   0.0092593
        k(   72) = (   0.1666667   1.0584755   0.5244328), wk =   0.0092593
        k(   73) = (   0.3333333   0.1924501   0.0000000), wk =   0.0092593
        k(   74) = (   0.3333333   0.1924501   0.1048866), wk =   0.0092593
        k(   75) = (   0.3333333   0.1924501   0.2097731), wk =   0.0092593
        k(   76) = (   0.3333333   0.1924501   0.3146597), wk =   0.0092593
        k(   77) = (   0.3333333   0.1924501   0.4195463), wk =   0.0092593
        k(   78) = (   0.3333333   0.1924501   0.5244328), wk =   0.0092593
        k(   79) = (   0.3333333   0.3849002   0.0000000), wk =   0.0092593
        k(   80) = (   0.3333333   0.3849002   0.1048866), wk =   0.0092593
        k(   81) = (   0.3333333   0.3849002   0.2097731), wk =   0.0092593
        k(   82) = (   0.3333333   0.3849002   0.3146597), wk =   0.0092593
        k(   83) = (   0.3333333   0.3849002   0.4195463), wk =   0.0092593
        k(   84) = (   0.3333333   0.3849002   0.5244328), wk =   0.0092593
        k(   85) = (   0.3333333   0.5773503   0.0000000), wk =   0.0092593
        k(   86) = (   0.3333333   0.5773503   0.1048866), wk =   0.0092593
        k(   87) = (   0.3333333   0.5773503   0.2097731), wk =   0.0092593
        k(   88) = (   0.3333333   0.5773503   0.3146597), wk =   0.0092593
        k(   89) = (   0.3333333   0.5773503   0.4195463), wk =   0.0092593
        k(   90) = (   0.3333333   0.5773503   0.5244328), wk =   0.0092593
        k(   91) = (   0.3333333   0.7698004   0.0000000), wk =   0.0092593
        k(   92) = (   0.3333333   0.7698004   0.1048866), wk =   0.0092593
        k(   93) = (   0.3333333   0.7698004   0.2097731), wk =   0.0092593
        k(   94) = (   0.3333333   0.7698004   0.3146597), wk =   0.0092593
        k(   95) = (   0.3333333   0.7698004   0.4195463), wk =   0.0092593
        k(   96) = (   0.3333333   0.7698004   0.5244328), wk =   0.0092593
        k(   97) = (   0.3333333   0.9622504   0.0000000), wk =   0.0092593
        k(   98) = (   0.3333333   0.9622504   0.1048866), wk =   0.0092593
        k(   99) = (   0.3333333   0.9622504   0.2097731), wk =   0.0092593
        k(  100) = (   0.3333333   0.9622504   0.3146597), wk =   0.0092593
        k(  101) = (   0.3333333   0.9622504   0.4195463), wk =   0.0092593
        k(  102) = (   0.3333333   0.9622504   0.5244328), wk =   0.0092593
        k(  103) = (   0.3333333   1.1547005   0.0000000), wk =   0.0092593
        k(  104) = (   0.3333333   1.1547005   0.1048866), wk =   0.0092593
        k(  105) = (   0.3333333   1.1547005   0.2097731), wk =   0.0092593
        k(  106) = (   0.3333333   1.1547005   0.3146597), wk =   0.0092593
        k(  107) = (   0.3333333   1.1547005   0.4195463), wk =   0.0092593
        k(  108) = (   0.3333333   1.1547005   0.5244328), wk =   0.0092593
        k(  109) = (   0.5000000   0.2886751   0.0000000), wk =   0.0092593
        k(  110) = (   0.5000000   0.2886751   0.1048866), wk =   0.0092593
        k(  111) = (   0.5000000   0.2886751   0.2097731), wk =   0.0092593
        k(  112) = (   0.5000000   0.2886751   0.3146597), wk =   0.0092593
        k(  113) = (   0.5000000   0.2886751   0.4195463), wk =   0.0092593
        k(  114) = (   0.5000000   0.2886751   0.5244328), wk =   0.0092593
        k(  115) = (   0.5000000   0.4811252   0.0000000), wk =   0.0092593
        k(  116) = (   0.5000000   0.4811252   0.1048866), wk =   0.0092593
        k(  117) = (   0.5000000   0.4811252   0.2097731), wk =   0.0092593
        k(  118) = (   0.5000000   0.4811252   0.3146597), wk =   0.0092593
        k(  119) = (   0.5000000   0.4811252   0.4195463), wk =   0.0092593
        k(  120) = (   0.5000000   0.4811252   0.5244328), wk =   0.0092593
        k(  121) = (   0.5000000   0.6735753   0.0000000), wk =   0.0092593
        k(  122) = (   0.5000000   0.6735753   0.1048866), wk =   0.0092593
        k(  123) = (   0.5000000   0.6735753   0.2097731), wk =   0.0092593
        k(  124) = (   0.5000000   0.6735753   0.3146597), wk =   0.0092593
        k(  125) = (   0.5000000   0.6735753   0.4195463), wk =   0.0092593
        k(  126) = (   0.5000000   0.6735753   0.5244328), wk =   0.0092593
        k(  127) = (   0.5000000   0.8660254   0.0000000), wk =   0.0092593
        k(  128) = (   0.5000000   0.8660254   0.1048866), wk =   0.0092593
        k(  129) = (   0.5000000   0.8660254   0.2097731), wk =   0.0092593
        k(  130) = (   0.5000000   0.8660254   0.3146597), wk =   0.0092593
        k(  131) = (   0.5000000   0.8660254   0.4195463), wk =   0.0092593
        k(  132) = (   0.5000000   0.8660254   0.5244328), wk =   0.0092593
        k(  133) = (   0.5000000   1.0584755   0.0000000), wk =   0.0092593
        k(  134) = (   0.5000000   1.0584755   0.1048866), wk =   0.0092593
        k(  135) = (   0.5000000   1.0584755   0.2097731), wk =   0.0092593
        k(  136) = (   0.5000000   1.0584755   0.3146597), wk =   0.0092593
        k(  137) = (   0.5000000   1.0584755   0.4195463), wk =   0.0092593
        k(  138) = (   0.5000000   1.0584755   0.5244328), wk =   0.0092593
        k(  139) = (   0.5000000   1.2509256   0.0000000), wk =   0.0092593
        k(  140) = (   0.5000000   1.2509256   0.1048866), wk =   0.0092593
        k(  141) = (   0.5000000   1.2509256   0.2097731), wk =   0.0092593
        k(  142) = (   0.5000000   1.2509256   0.3146597), wk =   0.0092593
        k(  143) = (   0.5000000   1.2509256   0.4195463), wk =   0.0092593
        k(  144) = (   0.5000000   1.2509256   0.5244328), wk =   0.0092593
        k(  145) = (   0.6666667   0.3849002   0.0000000), wk =   0.0092593
        k(  146) = (   0.6666667   0.3849002   0.1048866), wk =   0.0092593
        k(  147) = (   0.6666667   0.3849002   0.2097731), wk =   0.0092593
        k(  148) = (   0.6666667   0.3849002   0.3146597), wk =   0.0092593
        k(  149) = (   0.6666667   0.3849002   0.4195463), wk =   0.0092593
        k(  150) = (   0.6666667   0.3849002   0.5244328), wk =   0.0092593
        k(  151) = (   0.6666667   0.5773503   0.0000000), wk =   0.0092593
        k(  152) = (   0.6666667   0.5773503   0.1048866), wk =   0.0092593
        k(  153) = (   0.6666667   0.5773503   0.2097731), wk =   0.0092593
        k(  154) = (   0.6666667   0.5773503   0.3146597), wk =   0.0092593
        k(  155) = (   0.6666667   0.5773503   0.4195463), wk =   0.0092593
        k(  156) = (   0.6666667   0.5773503   0.5244328), wk =   0.0092593
        k(  157) = (   0.6666667   0.7698004   0.0000000), wk =   0.0092593
        k(  158) = (   0.6666667   0.7698004   0.1048866), wk =   0.0092593
        k(  159) = (   0.6666667   0.7698004   0.2097731), wk =   0.0092593
        k(  160) = (   0.6666667   0.7698004   0.3146597), wk =   0.0092593
        k(  161) = (   0.6666667   0.7698004   0.4195463), wk =   0.0092593
        k(  162) = (   0.6666667   0.7698004   0.5244328), wk =   0.0092593
        k(  163) = (   0.6666667   0.9622504   0.0000000), wk =   0.0092593
        k(  164) = (   0.6666667   0.9622504   0.1048866), wk =   0.0092593
        k(  165) = (   0.6666667   0.9622504   0.2097731), wk =   0.0092593
        k(  166) = (   0.6666667   0.9622504   0.3146597), wk =   0.0092593
        k(  167) = (   0.6666667   0.9622504   0.4195463), wk =   0.0092593
        k(  168) = (   0.6666667   0.9622504   0.5244328), wk =   0.0092593
        k(  169) = (   0.6666667   1.1547005   0.0000000), wk =   0.0092593
        k(  170) = (   0.6666667   1.1547005   0.1048866), wk =   0.0092593
        k(  171) = (   0.6666667   1.1547005   0.2097731), wk =   0.0092593
        k(  172) = (   0.6666667   1.1547005   0.3146597), wk =   0.0092593
        k(  173) = (   0.6666667   1.1547005   0.4195463), wk =   0.0092593
        k(  174) = (   0.6666667   1.1547005   0.5244328), wk =   0.0092593
        k(  175) = (   0.6666667   1.3471506   0.0000000), wk =   0.0092593
        k(  176) = (   0.6666667   1.3471506   0.1048866), wk =   0.0092593
        k(  177) = (   0.6666667   1.3471506   0.2097731), wk =   0.0092593
        k(  178) = (   0.6666667   1.3471506   0.3146597), wk =   0.0092593
        k(  179) = (   0.6666667   1.3471506   0.4195463), wk =   0.0092593
        k(  180) = (   0.6666667   1.3471506   0.5244328), wk =   0.0092593
        k(  181) = (   0.8333333   0.4811252   0.0000000), wk =   0.0092593
        k(  182) = (   0.8333333   0.4811252   0.1048866), wk =   0.0092593
        k(  183) = (   0.8333333   0.4811252   0.2097731), wk =   0.0092593
        k(  184) = (   0.8333333   0.4811252   0.3146597), wk =   0.0092593
        k(  185) = (   0.8333333   0.4811252   0.4195463), wk =   0.0092593
        k(  186) = (   0.8333333   0.4811252   0.5244328), wk =   0.0092593
        k(  187) = (   0.8333333   0.6735753   0.0000000), wk =   0.0092593
        k(  188) = (   0.8333333   0.6735753   0.1048866), wk =   0.0092593
        k(  189) = (   0.8333333   0.6735753   0.2097731), wk =   0.0092593
        k(  190) = (   0.8333333   0.6735753   0.3146597), wk =   0.0092593
        k(  191) = (   0.8333333   0.6735753   0.4195463), wk =   0.0092593
        k(  192) = (   0.8333333   0.6735753   0.5244328), wk =   0.0092593
        k(  193) = (   0.8333333   0.8660254   0.0000000), wk =   0.0092593
        k(  194) = (   0.8333333   0.8660254   0.1048866), wk =   0.0092593
        k(  195) = (   0.8333333   0.8660254   0.2097731), wk =   0.0092593
        k(  196) = (   0.8333333   0.8660254   0.3146597), wk =   0.0092593
        k(  197) = (   0.8333333   0.8660254   0.4195463), wk =   0.0092593
        k(  198) = (   0.8333333   0.8660254   0.5244328), wk =   0.0092593
        k(  199) = (   0.8333333   1.0584755   0.0000000), wk =   0.0092593
        k(  200) = (   0.8333333   1.0584755   0.1048866), wk =   0.0092593
        k(  201) = (   0.8333333   1.0584755   0.2097731), wk =   0.0092593
        k(  202) = (   0.8333333   1.0584755   0.3146597), wk =   0.0092593
        k(  203) = (   0.8333333   1.0584755   0.4195463), wk =   0.0092593
        k(  204) = (   0.8333333   1.0584755   0.5244328), wk =   0.0092593
        k(  205) = (   0.8333333   1.2509256   0.0000000), wk =   0.0092593
        k(  206) = (   0.8333333   1.2509256   0.1048866), wk =   0.0092593
        k(  207) = (   0.8333333   1.2509256   0.2097731), wk =   0.0092593
        k(  208) = (   0.8333333   1.2509256   0.3146597), wk =   0.0092593
        k(  209) = (   0.8333333   1.2509256   0.4195463), wk =   0.0092593
        k(  210) = (   0.8333333   1.2509256   0.5244328), wk =   0.0092593
        k(  211) = (   0.8333333   1.4433757   0.0000000), wk =   0.0092593
        k(  212) = (   0.8333333   1.4433757   0.1048866), wk =   0.0092593
        k(  213) = (   0.8333333   1.4433757   0.2097731), wk =   0.0092593
        k(  214) = (   0.8333333   1.4433757   0.3146597), wk =   0.0092593
        k(  215) = (   0.8333333   1.4433757   0.4195463), wk =   0.0092593
        k(  216) = (   0.8333333   1.4433757   0.5244328), wk =   0.0092593

     PseudoPot. # 1 for Mg read from file:
     /home/fgoudreault/Workspace/pseudos/Mg.scalar-pbe-nc.upf
     MD5 check sum: 4c04d8c6e0476e83eaecaf72fa8acc4d
     Pseudo is Norm-conserving, Zval = 10.0
     Generated using ONCVPSP code by D. R. Hamann
     Using radial grid of 1510 points,  4 beta functions with: 
                l(1) =   0
                l(2) =   0
                l(3) =   1
                l(4) =   1
     EPW          :      0.31s CPU      0.32s WALL

     EPW          :      0.39s CPU      0.40s WALL

     -------------------------------------------------------------------
     Wannierization on  6 x  6 x  6 electronic grid
     -------------------------------------------------------------------

     Spin CASE ( default = unpolarized )

     Initializing Wannier90


     Initial Wannier projections

     (   0.33333   0.66667   0.00000) :  l =   0 mr =   1
     (   0.33333   0.66667   0.00000) :  l =   1 mr =   1
     (   0.33333   0.66667   0.00000) :  l =   1 mr =   2
     (   0.33333   0.66667   0.00000) :  l =   1 mr =   3

      - Number of bands is (  6)
      - Number of total bands is ( 14)
      - Number of excluded bands is (  8)
      - Number of wannier functions is (  4)
      - All guiding functions are given 

  Reading data about k-point neighbours 

      - All neighbours are found 

     AMN
      k points =   216 in    4 pools
            1 of   54 on ionode
            2 of   54 on ionode
            3 of   54 on ionode
            4 of   54 on ionode
            5 of   54 on ionode
            6 of   54 on ionode
            7 of   54 on ionode
            8 of   54 on ionode
            9 of   54 on ionode
           10 of   54 on ionode
           11 of   54 on ionode
           12 of   54 on ionode
           13 of   54 on ionode
           14 of   54 on ionode
           15 of   54 on ionode
           16 of   54 on ionode
           17 of   54 on ionode
           18 of   54 on ionode
           19 of   54 on ionode
           20 of   54 on ionode
           21 of   54 on ionode
           22 of   54 on ionode
           23 of   54 on ionode
           24 of   54 on ionode
           25 of   54 on ionode
           26 of   54 on ionode
           27 of   54 on ionode
           28 of   54 on ionode
           29 of   54 on ionode
           30 of   54 on ionode
           31 of   54 on ionode
           32 of   54 on ionode
           33 of   54 on ionode
           34 of   54 on ionode
           35 of   54 on ionode
           36 of   54 on ionode
           37 of   54 on ionode
           38 of   54 on ionode
           39 of   54 on ionode
           40 of   54 on ionode
           41 of   54 on ionode
           42 of   54 on ionode
           43 of   54 on ionode
           44 of   54 on ionode
           45 of   54 on ionode
           46 of   54 on ionode
           47 of   54 on ionode
           48 of   54 on ionode
           49 of   54 on ionode
           50 of   54 on ionode
           51 of   54 on ionode
           52 of   54 on ionode
           53 of   54 on ionode
           54 of   54 on ionode
Have anyone encountered this before?
While browsing through the source code, it seems the error happens when the code tries to deallocate the sgf array in pw2wan2epw.f90 in subroutine compute_amn_para().

N.B.: I run with underconverged input parameters to make it work on my small laptop for testing purposes I don't know if that's relevant.

Here are my input files:

Code: Select all

EPW Input file:
&inputepw
  amass(1) = 24.305,
  elph = True,
  band_plot = True,
  etf_mem = 0,
  kmaps = False,
  epbwrite = True,
  epbread = False,
  epwwrite = True,
  epwread = False,
  nbndsub = 4,
  bands_skipped = 'exclude_bands = 1-8',
  wannierize = True,
  num_iter = 100,
  wdata(1) = 'dis_num_iter = 100',
  wdata(2) = 'guiding_centres = True',
  wdata(3) = 'num_print_cycles = 10',
  wdata(4) = 'conv_window = 10',
  dis_win_max = 20,
  dis_win_min = -3,
  dis_froz_min = -3,
  dis_froz_max = 10,
  proj(1) = 'Mg:l=0;l=1',
  iverbosity = 0,
  elecselfen = False,
  phonselfen = False,
  fsthick = 1,
  degaussw = 0.0,
  ngaussw = -99,
  a2f = False,
  vme = True,
  wdata(5) = 'begin kpoint_path',
  wdata(6) = 'G 0.0 0.0 0.0 M 0.5 0.0 0.0',
  wdata(7) = 'M 0.5 0.0 0.0 K 0.33333 0.33333 0.0',
  wdata(8) = 'K 0.33333 0.33333 0.0 G 0.0 0.0 0.0',
  wdata(9) = 'G 0.0 0.0 0.0 A 0.0 0.0 0.5',
  wdata(10) = 'A 0.0 0.0 0.5 L 0.5 0.0 0.5',
  wdata(11) = 'L 0.5 0.0 0.5 H 0.33333 0.33333 0.5',
  wdata(12) = 'H 0.33333 0.33333 0.5 A 0.0 0.0 0.5',
  wdata(13) = 'end kpoint_path',
  wdata(14) = 'bands_plot = True',
  nk1 = 6,
  nk2 = 6,
  nk3 = 6,
  outdir = '/home/fgoudreault/Workspace/testbench/transport/Mg/epw_interpolation/epw_interpolation_run/run/output_data/',
  prefix = 'epw_interpolation_run',
  dvscf_dir = '../input_data',
  nq1 = 2,
  nq2 = 2,
  nq3 = 2,
  lifc = True,
  filqf = '../input_data/filqf.txt',
  filkf = '../input_data/filkf.txt',
/
4 cartesian
0.0            0.0           0.0  1
0.0            0.0  -0.314659693  1
0.0  -0.5773502692           0.0  1
0.0  -0.5773502692  -0.314659693  1

NSCF input file:
&control
  calculation = 'nscf',
  outdir = '/home/fgoudreault/Workspace/testbench/transport/Mg/epw_interpolation/nscf_run/run/output_data',
  prefix = 'nscf_run',
  pseudo_dir = '/home/fgoudreault/Workspace/pseudos',
  tprnfor = True,
  tstress = True,
/
&system
  noncolin = False,
  lspinorb = False,
  nat = 2,
  ntyp = 1,
  ibrav = 4,
  celldm(1) = 6.030988454777762,
  celldm(3) = 1.589018267,
  ecutwfc = 40,
  degauss = 0.1,
  smearing = 'methfessel-paxton',
  occupations = 'smearing',
/
&electrons
  conv_thr = 1e-10,
  diagonalization = 'cg',
  diago_full_acc = True,
/
ATOMIC_SPECIES
 Mg  24.305  Mg.scalar-pbe-nc.upf

ATOMIC_POSITIONS crystal
 Mg  0.3333333333333333  0.6666666666666666  0.0
 Mg  0.6666666666666666  0.3333333333333333  0.5

K_POINTS crystal
216
                0.0                  0.0                  0.0  0.004629629629629629
                0.0                  0.0  0.16666666666666666  0.004629629629629629
                0.0                  0.0   0.3333333333333333  0.004629629629629629
                0.0                  0.0                  0.5  0.004629629629629629
                0.0                  0.0   0.6666666666666666  0.004629629629629629
                0.0                  0.0   0.8333333333333334  0.004629629629629629
                0.0  0.16666666666666666                  0.0  0.004629629629629629
                0.0  0.16666666666666666  0.16666666666666666  0.004629629629629629
                0.0  0.16666666666666666   0.3333333333333333  0.004629629629629629
                0.0  0.16666666666666666                  0.5  0.004629629629629629
                0.0  0.16666666666666666   0.6666666666666666  0.004629629629629629
                0.0  0.16666666666666666   0.8333333333333334  0.004629629629629629
                0.0   0.3333333333333333                  0.0  0.004629629629629629
                0.0   0.3333333333333333  0.16666666666666666  0.004629629629629629
                0.0   0.3333333333333333   0.3333333333333333  0.004629629629629629
                0.0   0.3333333333333333                  0.5  0.004629629629629629
                0.0   0.3333333333333333   0.6666666666666666  0.004629629629629629
                0.0   0.3333333333333333   0.8333333333333334  0.004629629629629629
                0.0                  0.5                  0.0  0.004629629629629629
                0.0                  0.5  0.16666666666666666  0.004629629629629629
                0.0                  0.5   0.3333333333333333  0.004629629629629629
                0.0                  0.5                  0.5  0.004629629629629629
                0.0                  0.5   0.6666666666666666  0.004629629629629629
                0.0                  0.5   0.8333333333333334  0.004629629629629629
                0.0   0.6666666666666666                  0.0  0.004629629629629629
                0.0   0.6666666666666666  0.16666666666666666  0.004629629629629629
                0.0   0.6666666666666666   0.3333333333333333  0.004629629629629629
                0.0   0.6666666666666666                  0.5  0.004629629629629629
                0.0   0.6666666666666666   0.6666666666666666  0.004629629629629629
                0.0   0.6666666666666666   0.8333333333333334  0.004629629629629629
                0.0   0.8333333333333334                  0.0  0.004629629629629629
                0.0   0.8333333333333334  0.16666666666666666  0.004629629629629629
                0.0   0.8333333333333334   0.3333333333333333  0.004629629629629629
                0.0   0.8333333333333334                  0.5  0.004629629629629629
                0.0   0.8333333333333334   0.6666666666666666  0.004629629629629629
                0.0   0.8333333333333334   0.8333333333333334  0.004629629629629629
0.16666666666666666                  0.0                  0.0  0.004629629629629629
0.16666666666666666                  0.0  0.16666666666666666  0.004629629629629629
0.16666666666666666                  0.0   0.3333333333333333  0.004629629629629629
0.16666666666666666                  0.0                  0.5  0.004629629629629629
0.16666666666666666                  0.0   0.6666666666666666  0.004629629629629629
0.16666666666666666                  0.0   0.8333333333333334  0.004629629629629629
0.16666666666666666  0.16666666666666666                  0.0  0.004629629629629629
0.16666666666666666  0.16666666666666666  0.16666666666666666  0.004629629629629629
0.16666666666666666  0.16666666666666666   0.3333333333333333  0.004629629629629629
0.16666666666666666  0.16666666666666666                  0.5  0.004629629629629629
0.16666666666666666  0.16666666666666666   0.6666666666666666  0.004629629629629629
0.16666666666666666  0.16666666666666666   0.8333333333333334  0.004629629629629629
0.16666666666666666   0.3333333333333333                  0.0  0.004629629629629629
0.16666666666666666   0.3333333333333333  0.16666666666666666  0.004629629629629629
0.16666666666666666   0.3333333333333333   0.3333333333333333  0.004629629629629629
0.16666666666666666   0.3333333333333333                  0.5  0.004629629629629629
0.16666666666666666   0.3333333333333333   0.6666666666666666  0.004629629629629629
0.16666666666666666   0.3333333333333333   0.8333333333333334  0.004629629629629629
0.16666666666666666                  0.5                  0.0  0.004629629629629629
0.16666666666666666                  0.5  0.16666666666666666  0.004629629629629629
0.16666666666666666                  0.5   0.3333333333333333  0.004629629629629629
0.16666666666666666                  0.5                  0.5  0.004629629629629629
0.16666666666666666                  0.5   0.6666666666666666  0.004629629629629629
0.16666666666666666                  0.5   0.8333333333333334  0.004629629629629629
0.16666666666666666   0.6666666666666666                  0.0  0.004629629629629629
0.16666666666666666   0.6666666666666666  0.16666666666666666  0.004629629629629629
0.16666666666666666   0.6666666666666666   0.3333333333333333  0.004629629629629629
0.16666666666666666   0.6666666666666666                  0.5  0.004629629629629629
0.16666666666666666   0.6666666666666666   0.6666666666666666  0.004629629629629629
0.16666666666666666   0.6666666666666666   0.8333333333333334  0.004629629629629629
0.16666666666666666   0.8333333333333334                  0.0  0.004629629629629629
0.16666666666666666   0.8333333333333334  0.16666666666666666  0.004629629629629629
0.16666666666666666   0.8333333333333334   0.3333333333333333  0.004629629629629629
0.16666666666666666   0.8333333333333334                  0.5  0.004629629629629629
0.16666666666666666   0.8333333333333334   0.6666666666666666  0.004629629629629629
0.16666666666666666   0.8333333333333334   0.8333333333333334  0.004629629629629629
 0.3333333333333333                  0.0                  0.0  0.004629629629629629
 0.3333333333333333                  0.0  0.16666666666666666  0.004629629629629629
 0.3333333333333333                  0.0   0.3333333333333333  0.004629629629629629
 0.3333333333333333                  0.0                  0.5  0.004629629629629629
 0.3333333333333333                  0.0   0.6666666666666666  0.004629629629629629
 0.3333333333333333                  0.0   0.8333333333333334  0.004629629629629629
 0.3333333333333333  0.16666666666666666                  0.0  0.004629629629629629
 0.3333333333333333  0.16666666666666666  0.16666666666666666  0.004629629629629629
 0.3333333333333333  0.16666666666666666   0.3333333333333333  0.004629629629629629
 0.3333333333333333  0.16666666666666666                  0.5  0.004629629629629629
 0.3333333333333333  0.16666666666666666   0.6666666666666666  0.004629629629629629
 0.3333333333333333  0.16666666666666666   0.8333333333333334  0.004629629629629629
 0.3333333333333333   0.3333333333333333                  0.0  0.004629629629629629
 0.3333333333333333   0.3333333333333333  0.16666666666666666  0.004629629629629629
 0.3333333333333333   0.3333333333333333   0.3333333333333333  0.004629629629629629
 0.3333333333333333   0.3333333333333333                  0.5  0.004629629629629629
 0.3333333333333333   0.3333333333333333   0.6666666666666666  0.004629629629629629
 0.3333333333333333   0.3333333333333333   0.8333333333333334  0.004629629629629629
 0.3333333333333333                  0.5                  0.0  0.004629629629629629
 0.3333333333333333                  0.5  0.16666666666666666  0.004629629629629629
 0.3333333333333333                  0.5   0.3333333333333333  0.004629629629629629
 0.3333333333333333                  0.5                  0.5  0.004629629629629629
 0.3333333333333333                  0.5   0.6666666666666666  0.004629629629629629
 0.3333333333333333                  0.5   0.8333333333333334  0.004629629629629629
 0.3333333333333333   0.6666666666666666                  0.0  0.004629629629629629
 0.3333333333333333   0.6666666666666666  0.16666666666666666  0.004629629629629629
 0.3333333333333333   0.6666666666666666   0.3333333333333333  0.004629629629629629
 0.3333333333333333   0.6666666666666666                  0.5  0.004629629629629629
 0.3333333333333333   0.6666666666666666   0.6666666666666666  0.004629629629629629
 0.3333333333333333   0.6666666666666666   0.8333333333333334  0.004629629629629629
 0.3333333333333333   0.8333333333333334                  0.0  0.004629629629629629
 0.3333333333333333   0.8333333333333334  0.16666666666666666  0.004629629629629629
 0.3333333333333333   0.8333333333333334   0.3333333333333333  0.004629629629629629
 0.3333333333333333   0.8333333333333334                  0.5  0.004629629629629629
 0.3333333333333333   0.8333333333333334   0.6666666666666666  0.004629629629629629
 0.3333333333333333   0.8333333333333334   0.8333333333333334  0.004629629629629629
                0.5                  0.0                  0.0  0.004629629629629629
                0.5                  0.0  0.16666666666666666  0.004629629629629629
                0.5                  0.0   0.3333333333333333  0.004629629629629629
                0.5                  0.0                  0.5  0.004629629629629629
                0.5                  0.0   0.6666666666666666  0.004629629629629629
                0.5                  0.0   0.8333333333333334  0.004629629629629629
                0.5  0.16666666666666666                  0.0  0.004629629629629629
                0.5  0.16666666666666666  0.16666666666666666  0.004629629629629629
                0.5  0.16666666666666666   0.3333333333333333  0.004629629629629629
                0.5  0.16666666666666666                  0.5  0.004629629629629629
                0.5  0.16666666666666666   0.6666666666666666  0.004629629629629629
                0.5  0.16666666666666666   0.8333333333333334  0.004629629629629629
                0.5   0.3333333333333333                  0.0  0.004629629629629629
                0.5   0.3333333333333333  0.16666666666666666  0.004629629629629629
                0.5   0.3333333333333333   0.3333333333333333  0.004629629629629629
                0.5   0.3333333333333333                  0.5  0.004629629629629629
                0.5   0.3333333333333333   0.6666666666666666  0.004629629629629629
                0.5   0.3333333333333333   0.8333333333333334  0.004629629629629629
                0.5                  0.5                  0.0  0.004629629629629629
                0.5                  0.5  0.16666666666666666  0.004629629629629629
                0.5                  0.5   0.3333333333333333  0.004629629629629629
                0.5                  0.5                  0.5  0.004629629629629629
                0.5                  0.5   0.6666666666666666  0.004629629629629629
                0.5                  0.5   0.8333333333333334  0.004629629629629629
                0.5   0.6666666666666666                  0.0  0.004629629629629629
                0.5   0.6666666666666666  0.16666666666666666  0.004629629629629629
                0.5   0.6666666666666666   0.3333333333333333  0.004629629629629629
                0.5   0.6666666666666666                  0.5  0.004629629629629629
                0.5   0.6666666666666666   0.6666666666666666  0.004629629629629629
                0.5   0.6666666666666666   0.8333333333333334  0.004629629629629629
                0.5   0.8333333333333334                  0.0  0.004629629629629629
                0.5   0.8333333333333334  0.16666666666666666  0.004629629629629629
                0.5   0.8333333333333334   0.3333333333333333  0.004629629629629629
                0.5   0.8333333333333334                  0.5  0.004629629629629629
                0.5   0.8333333333333334   0.6666666666666666  0.004629629629629629
                0.5   0.8333333333333334   0.8333333333333334  0.004629629629629629
 0.6666666666666666                  0.0                  0.0  0.004629629629629629
 0.6666666666666666                  0.0  0.16666666666666666  0.004629629629629629
 0.6666666666666666                  0.0   0.3333333333333333  0.004629629629629629
 0.6666666666666666                  0.0                  0.5  0.004629629629629629
 0.6666666666666666                  0.0   0.6666666666666666  0.004629629629629629
 0.6666666666666666                  0.0   0.8333333333333334  0.004629629629629629
 0.6666666666666666  0.16666666666666666                  0.0  0.004629629629629629
 0.6666666666666666  0.16666666666666666  0.16666666666666666  0.004629629629629629
 0.6666666666666666  0.16666666666666666   0.3333333333333333  0.004629629629629629
 0.6666666666666666  0.16666666666666666                  0.5  0.004629629629629629
 0.6666666666666666  0.16666666666666666   0.6666666666666666  0.004629629629629629
 0.6666666666666666  0.16666666666666666   0.8333333333333334  0.004629629629629629
 0.6666666666666666   0.3333333333333333                  0.0  0.004629629629629629
 0.6666666666666666   0.3333333333333333  0.16666666666666666  0.004629629629629629
 0.6666666666666666   0.3333333333333333   0.3333333333333333  0.004629629629629629
 0.6666666666666666   0.3333333333333333                  0.5  0.004629629629629629
 0.6666666666666666   0.3333333333333333   0.6666666666666666  0.004629629629629629
 0.6666666666666666   0.3333333333333333   0.8333333333333334  0.004629629629629629
 0.6666666666666666                  0.5                  0.0  0.004629629629629629
 0.6666666666666666                  0.5  0.16666666666666666  0.004629629629629629
 0.6666666666666666                  0.5   0.3333333333333333  0.004629629629629629
 0.6666666666666666                  0.5                  0.5  0.004629629629629629
 0.6666666666666666                  0.5   0.6666666666666666  0.004629629629629629
 0.6666666666666666                  0.5   0.8333333333333334  0.004629629629629629
 0.6666666666666666   0.6666666666666666                  0.0  0.004629629629629629
 0.6666666666666666   0.6666666666666666  0.16666666666666666  0.004629629629629629
 0.6666666666666666   0.6666666666666666   0.3333333333333333  0.004629629629629629
 0.6666666666666666   0.6666666666666666                  0.5  0.004629629629629629
 0.6666666666666666   0.6666666666666666   0.6666666666666666  0.004629629629629629
 0.6666666666666666   0.6666666666666666   0.8333333333333334  0.004629629629629629
 0.6666666666666666   0.8333333333333334                  0.0  0.004629629629629629
 0.6666666666666666   0.8333333333333334  0.16666666666666666  0.004629629629629629
 0.6666666666666666   0.8333333333333334   0.3333333333333333  0.004629629629629629
 0.6666666666666666   0.8333333333333334                  0.5  0.004629629629629629
 0.6666666666666666   0.8333333333333334   0.6666666666666666  0.004629629629629629
 0.6666666666666666   0.8333333333333334   0.8333333333333334  0.004629629629629629
 0.8333333333333334                  0.0                  0.0  0.004629629629629629
 0.8333333333333334                  0.0  0.16666666666666666  0.004629629629629629
 0.8333333333333334                  0.0   0.3333333333333333  0.004629629629629629
 0.8333333333333334                  0.0                  0.5  0.004629629629629629
 0.8333333333333334                  0.0   0.6666666666666666  0.004629629629629629
 0.8333333333333334                  0.0   0.8333333333333334  0.004629629629629629
 0.8333333333333334  0.16666666666666666                  0.0  0.004629629629629629
 0.8333333333333334  0.16666666666666666  0.16666666666666666  0.004629629629629629
 0.8333333333333334  0.16666666666666666   0.3333333333333333  0.004629629629629629
 0.8333333333333334  0.16666666666666666                  0.5  0.004629629629629629
 0.8333333333333334  0.16666666666666666   0.6666666666666666  0.004629629629629629
 0.8333333333333334  0.16666666666666666   0.8333333333333334  0.004629629629629629
 0.8333333333333334   0.3333333333333333                  0.0  0.004629629629629629
 0.8333333333333334   0.3333333333333333  0.16666666666666666  0.004629629629629629
 0.8333333333333334   0.3333333333333333   0.3333333333333333  0.004629629629629629
 0.8333333333333334   0.3333333333333333                  0.5  0.004629629629629629
 0.8333333333333334   0.3333333333333333   0.6666666666666666  0.004629629629629629
 0.8333333333333334   0.3333333333333333   0.8333333333333334  0.004629629629629629
 0.8333333333333334                  0.5                  0.0  0.004629629629629629
 0.8333333333333334                  0.5  0.16666666666666666  0.004629629629629629
 0.8333333333333334                  0.5   0.3333333333333333  0.004629629629629629
 0.8333333333333334                  0.5                  0.5  0.004629629629629629
 0.8333333333333334                  0.5   0.6666666666666666  0.004629629629629629
 0.8333333333333334                  0.5   0.8333333333333334  0.004629629629629629
 0.8333333333333334   0.6666666666666666                  0.0  0.004629629629629629
 0.8333333333333334   0.6666666666666666  0.16666666666666666  0.004629629629629629
 0.8333333333333334   0.6666666666666666   0.3333333333333333  0.004629629629629629
 0.8333333333333334   0.6666666666666666                  0.5  0.004629629629629629
 0.8333333333333334   0.6666666666666666   0.6666666666666666  0.004629629629629629
 0.8333333333333334   0.6666666666666666   0.8333333333333334  0.004629629629629629
 0.8333333333333334   0.8333333333333334                  0.0  0.004629629629629629
 0.8333333333333334   0.8333333333333334  0.16666666666666666  0.004629629629629629
 0.8333333333333334   0.8333333333333334   0.3333333333333333  0.004629629629629629
 0.8333333333333334   0.8333333333333334                  0.5  0.004629629629629629
 0.8333333333333334   0.8333333333333334   0.6666666666666666  0.004629629629629629
 0.8333333333333334   0.8333333333333334   0.8333333333333334  0.004629629629629629

PH input file:
&inputph
  tr2_ph = 1e-10,
  ldisp = True,
  nq1 = 2,
  nq2 = 2,
  nq3 = 2,
  outdir = '/home/fgoudreault/Workspace/testbench/transport/Mg/phonon_dispersion/phonons_runs/ph_q1/run/output_data',
  prefix = 'ph_q1',
  fildyn = '/home/fgoudreault/Workspace/testbench/transport/Mg/phonon_dispersion/phonons_runs/ph_q1/run/output_data/ph_q1.dyn',
  fildvscf = 'dvscf',
/
Thanks in advance!

hlee
Posts: 415
Joined: Thu Aug 03, 2017 12:24 pm
Affiliation: The University of Texas at Austin

Re: munmap_chunk(): invalid pointer error

Post by hlee »

Dear fgoudreault:

I think that your configurations for Wannierization have some problems, for example, in your epw.in, " nbndsub =4 " is not consistent with the initial projection of " proj(1) = 'Mg:l=0;l=1' " since you have two Mg atoms, leading to the number of projections of 8.

I guess that your pseudopotential of Mg.scalar-pbe-nc.upf has semi-core states of 2s and 2p and you are excluding these states by adding to epw.in " bands_skipped = 'exclude_bands = 1-8' ".

In this case, you have three possibilities:
(1) change the line of " proj(1) = 'Mg:l=0;l=1' " with that of " proj(1) = 'Mg:l=0' " and change the line of "nbndsub = 4" with that of "nbndsub = 2".
(2) specify the atomic position, for example, add "f=0.3333333333333333,0.6666666666666666,0.0" or "0.6666666666666666,0.3333333333333333,0.5" to your projection; in this case, the number of projections is 4 and you don't need to change "nbndsub = 4".
(3) with the chosen projection of " proj(1) = 'Mg:l=0;l=1' ", change "nbndsub = 4" with "nbndsub = 8".

Sincerely,

H. Lee

fgoudreault
Posts: 5
Joined: Fri Jun 14, 2019 11:22 am
Affiliation:

Re: munmap_chunk(): invalid pointer error

Post by fgoudreault »

Dear H. Lee,

thank you very much for your quick reply! I tried nbndsub = 8 and it works now! I also had to modify the window parameters as well. You made me realize I forgot to change these parameters after copying an example...

Cheers to you!

Post Reply