[QE-developers] Error opening PDOS file (error # 24)

Paolo Giannozzi paolo.giannozzi at uniud.it
Sat Jul 9 18:01:23 CEST 2022


The way "sumpdos.x" is implemented, ALL files are opened at the same 
time. This works for typical cases, even for hundreds of files, but may 
stop working for a too large number of files. The only solution is to 
rewrite sumpdos.x so that it opens, reads and closes one file at the time.

Paolo

On 09/07/2022 00:32, Yuvam Bhateja wrote:
> Dear Developers,
> 
> I am trying to implement sumpdos.x to sum the PDOS files but 
> encountering the following error:
>   ******************************************************************************
>       from sumpdos : error #        24
>       error opening PDOS_slab+limo_xdm.dat.pdos_atm#73(Cr1)_wfc#3(p)
>   ******************************************************************************
> 
> There are in total 1500 files that I wish to sum but the program ends 
> after about 1019 files. I believe it is an error related to how many 
> files sumpdos.x can read. I have tried summing up the other files (from 
> 1020 to 1500) and it sums up (probably because the total number of files 
> read is less than the limit).
> This is for a molecule absorbed on a surface and I wish to know the PDOS 
> of the surface post adsorption.
> PS- Is there a way to subtract the PDOS of the molecule from the total 
> DOS instead of summing the PDOS files of the surface?
> 
> Thank you in advance
> 
> Regards
> Yuvam
> 
> 
> 
> Mailtrack 
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> 
> 	Sender notified by
> Mailtrack 
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> 
> 	07/09/22, 12:32:38 AM 	
> 
> 
> ________________________________________________
> The Quantum ESPRESSO community stands by the Ukrainian people
>   and expresses its concerns about the devastating effects that
> the Russian military offensive has on their country and on the
> free and peaceful scientific, cultural, and economic cooperation
> amongst peoples.
> _______________________________________________
> developers mailing list
> developers at lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/developers

-- 
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


More information about the developers mailing list