I encountered a memory insufficiency error while running the GaAs example from the HamEPC project using the following command:
mpirun -np $SLURM_NPROCS HamEPC --config EPC_input.yaml
Here’s the error message:
File "/data/home/actcc/.conda/envs/HamEPC/lib/python3.9/site-packages/HamEPC/EPC_calculator.py", line 608, in _elec_cal
eigen_vecs = np.array(eigen_vecs) # (nk, norbs, norbs)
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 68.0 GiB for an array with shape (6750000, 26, 26) and data type complex128
Do you know why this is happening? How can I solve this problem?
Additionally, I am currently using a CPU node with 512GB of memory. Is a GPU required to successfully run HamEPC? My environment includes numpy version 1.21.2 and PyTorch version 1.11.0.
Thanks!