Very high memory usage in Epsilon calculations

23 views
Skip to first unread message

박기명(일반대학원 물리학과)

unread,
Dec 4, 2025, 6:09:57 AM (10 days ago) Dec 4
to BerkeleyGW Help
Dear BerkeleyGW users,

I am currently struggling with very high memory usage in my epsilon calculations.

While reading the BerkeleyGW papers (https://doi.org/10.1016/j.cpc.2011.12.006), I found references to a comm_disk option in the epsilon code, which seems to reduce memory usage by reading wavefunctions from disk. However, in my BerkeleyGW 4.0 installation, I do not see this option in the input file(source code) or in the documentation.

Has comm_disk been removed or renamed in recent versions (e.g., 4.0)?
If so, is there a recommended replacement or alternative option?

Best,
GiMyung Park

Zhenglu Li

unread,
Dec 4, 2025, 12:36:19 PM (10 days ago) Dec 4
to 박기명(일반대학원 물리학과), BerkeleyGW Help
Dear GiMyung,

You should still be able to use the flags.  The online manual misses flags.

Best,
Zhenglu


From: 박기명(일반대학원 물리학과) <dus...@yonsei.ac.kr>
Sent: Thursday, December 4, 2025 3:09 AM
To: BerkeleyGW Help <he...@berkeleygw.org>
Subject: Very high memory usage in Epsilon calculations
 
Dear BerkeleyGW users, I am currently struggling with very high memory usage in my epsilon calculations. While reading the BerkeleyGW papers (https: //doi. org/10. 1016/j. cpc. 2011. 12. 006), I found references to a comm_disk option in the epsilon
--
You received this message because you are subscribed to the Google Groups "BerkeleyGW Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to help+uns...@berkeleygw.org.
To view this discussion visit https://groups.google.com/a/berkeleygw.org/d/msgid/help/50ffd89c-a671-4090-9fed-d4e2565b6ff7n%40berkeleygw.org.

Mauro Del Ben

unread,
Dec 4, 2025, 2:42:00 PM (10 days ago) Dec 4
to Zhenglu Li, 박기명(일반대학원 물리학과), BerkeleyGW Help
Hi GiMyung,

set this flag in input: 

max_mem_nv_block_algo XXX

With XXX being the max memory in Gb you have available per MPI task. 

Best

-M

mike marchywka

unread,
Dec 4, 2025, 6:04:25 PM (10 days ago) Dec 4
to BerkeleyGW Help, mde...@lbl.gov, 박기명(일반대학원 물리학과), BerkeleyGW Help, zhen...@usc.edu
I'm not sure about your situation but I had a case where running with or without the mpirun made a big difference in memory usage.
Also, with a solid state drive on Ubuntu, i could just create massive amounts of virtual memory and didn't even notice it. In another
case it still seems to run ok with a lot of virtual memory but it looked like it was thrashing based on a lot of apparent swapping. 
Reply all
Reply to author
Forward
0 new messages