Skip to content

Memory Insufficiency Error When Running GaAs Example in HamEPC Project #6

Description

@witt2000

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions