Page 2 of 2

Re: read dvscf error

Posted: Wed Jun 14, 2017 4:53 pm
by jiachen
Dear Sponce,

The issue with this change is that as long as statb(8) is negative, code always raise the error. So, how long mult_unit is doesn't really matter...

Re: read dvscf error

Posted: Thu Jun 15, 2017 11:17 am
by sponce
Hello,

I see. Its the first time I see a negative fstab(8). This should be the size of the file https://gcc.gnu.org/onlinedocs/gfortran/STAT.html

Either there is a problem with the file or the file is larger than the integer kind of fstab(8). This cannot be changed since its an intrinsic Fortran function.

You can indeed try to remove the check and see if it works.

Best,

Samuel

Re: read dvscf error

Posted: Thu Jun 15, 2017 3:11 pm
by jiachen
Dear Sponce,

Yes, removing check works. Thank you very much for your attention.

Re: read dvscf error

Posted: Mon May 17, 2021 9:37 pm
by zega14
Dear jiachen

I have similar error. which .f90 code I have to recompile? I could not see readdvscf.f90 in EPW/src/. Thank you.


Sincerely, Zegnet

Re: read dvscf error

Posted: Tue May 18, 2021 3:53 am
by zega14
Dear Prof. Samuel


I have similar error. which .f90 code I have to recompile? I could not see readdvscf.f90 in EPW/src/. Thank you.


Sincerely, Zegnet