<div dir="ltr"><div>Hi everyone,</div><div><br></div><div>I'm currently struggling to fix the issue with reading .chk files from wannier90 in WannierBerri. The error the python outputs is given below.</div><div><br></div><div>Traceback (most recent call last):<br>  File "job.py", line 8, in <module><br>    system=wberri.System_w90('TaNiSe',berry=True)<br>  File "/global/home/users/lolzen/.local/lib/python3.7/site-packages/wannierberri/__system_w90.py", line 63, in __init__<br>    chk=CheckPoint(self.seedname)<br>  File "/global/home/users/lolzen/.local/lib/python3.7/site-packages/wannierberri/__w90_files.py", line 74, in __init__<br>    m_matrix=readcomplex().reshape( (self.num_kpts,self.nntot,self.num_wann,self.num_wann) )<br>  File "/global/home/users/lolzen/.local/lib/python3.7/site-packages/wannierberri/__w90_files.py", line 40, in readcomplex<br>    a=readfloat()<br>  File "/global/home/users/lolzen/.local/lib/python3.7/site-packages/wannierberri/__w90_files.py", line 38, in <lambda><br>    readfloat = lambda : FIN.read_record('f8')<br>  File "/global/home/users/lolzen/.local/lib/python3.7/site-packages/scipy/io/_fortran.py", line 260, in read_record<br>    'dtypes given ({1}).'.format(first_size, block_size))<br>ValueError: Size obtained (2147483657) is not a multiple of the dtypes given (8).</div><div><br></div><div>I've tried messing around with different datatypes in readfloat and nothing has really worked. Does anyone else have any advice for addressing this issue?</div><div><br></div><div>Thanks,</div><div>Stephen<br></div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><i>University of California, Berkeley</i><div><i>Department of Letter and Sciences</i></div></div></div></div>