Re: [QE-users] Missing EOF in the input file causes confusing error message from pp.x chdens

2020-11-09 Thread Paolo Giannozzi
It seems to me that the error message is correct. It's the fortran compiler
(or the fortran run-time library) that does not handle correctly that case.

Paolo

On Tue, Nov 10, 2020 at 6:57 AM 连云龙  wrote:

> Dear QE developers,
>
> I was trapped in an error from pp.x saying that
> -
> Message from routine chdens:
> namelist plot not found or invalid, exiting
> -
> but eventually this error is caused by a missing EOF after the final "/"
> in the input file.
> (I found solution here :
> https://www.mail-archive.com/users@lists.quantum-espresso.org/msg36019.html
> )
>
>
> To make the program easier to use for beginners, could you please revise
> the line
> -
> CALL infomsg ('chdens', 'namelist plot not found or invalid, exiting')
> -
> in .../qe-6.6/PP/src/chdens_module.f90 to give some more hints ? Strictly
> speaking, a missing EOF is not a problem of the content of the card
> "&PLOT", but this line will be triggered by such an error and the error
> message is, at least to me, misleading.
>
>
> Have a good day,
> Yunlong
>
> --Yunlong LIANORCID : 
> https://orcid.org/-0002-9474-2181
> CSNS, Dongguan Neutron Science CenterDongguan, Guangdong, P. R. China连云龙中国散裂中子源 中子科学部 A1-629 (内线 303)中国广东省东莞市
> ___
> Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
> users mailing list users@lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/users



-- 
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222
___
Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
users mailing list users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

[QE-users] Missing EOF in the input file causes confusing error message from pp.x chdens

2020-11-09 Thread 连云龙
Dear QE developers,

I was trapped in an error from pp.x saying that 
-
Message from routine chdens:
namelist plot not found or invalid, exiting
-
but eventually this error is caused by a missing EOF after the final "/" in the 
input file.
(I found solution here : 
https://www.mail-archive.com/users@lists.quantum-espresso.org/msg36019.html )


To make the program easier to use for beginners, could you please revise the 
line 
-
CALL infomsg ('chdens', 'namelist plot not found or invalid, exiting')
-
in .../qe-6.6/PP/src/chdens_module.f90 to give some more hints ? Strictly 
speaking, a missing EOF is not a problem of the content of the card "&PLOT", 
but this line will be triggered by such an error and the error message is, at 
least to me, misleading.


Have a good day,
Yunlong

--Yunlong LIANORCID : https://orcid.org/-0002-9474-2181CSNS, Dongguan Neutron Science CenterDongguan, Guangdong, P. R. China连云龙中国散裂中子源 中子科学部 A1-629 (内线 303)中国广东省东莞市
___
Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
users mailing list users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users