[Wien] Wien2k and gfortran.4.8--seeking for help

2014-12-09 Thread 李志
Dear All, Do you have any experience with Wien2k compiled by gfortran 4.8? The compilation finished without error. However, when I do a test, the calculation stops with prompt: At line 30 of file kptin_nv.F Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly

Re: [Wien] Wien2k and gfortran.4.8--seeking for help

2014-12-09 Thread Peter Blaha
Please add to line 30 an ERR=999 statement: READ(nfile,err=999,end=999) SS_dn(1),SS_dn(2),SS_dn(3),BNAME_dn,NV_dn,NE_dn,WEIGHT_dn and let me know if this fixes the problem for gfortran. Thanks On 12/09/2014 10:18 AM, 李志 wrote: Dear All, Do you have any experience with Wien2k

Re: [Wien] Wien2k and gfortran.4.8--seeking for help

2014-12-09 Thread 李志
Dear Peter, It works perfectly. Thank you very much All the best, Zhi Li -原始邮件- 发件人: Peter Blaha pbl...@theochem.tuwien.ac.at 发送时间: 2014年12月9日 星期二 收件人: A Mailing list for WIEN2k users wien@zeus.theochem.tuwien.ac.at 抄送: 主题: Re: [Wien] Wien2k and gfortran.4.8--seeking for help