VASP Estimated Memory Usage

Question on input files/tags, interpreting output, etc.

Please check whether the answer to your question is given in the VASP online manual or has been discussed in this forum previously!

Moderators: Global Moderator, Moderator

Post Reply
Message
Author
ankitsha
Newbie
Newbie
Posts: 3
Joined: Wed Jul 29, 2020 3:01 pm

VASP Estimated Memory Usage

#1 Post by ankitsha » Fri Mar 04, 2022 12:21 am

Hi VASP Community,
I am running a hybrid functional calculation for a cell with 160 atoms. Currently I am in the process of optimizing the performance and ran some tests to estimate memory usage and performance with different KPAR and NCORE tags.
The hardware specification that I used is
#Nodes = 2
#Cores/node = 32
#Memory = 125GB/node

The estimated memory usage per node in the OUTCAR file is = 0.8GB (mpi-rank0)
This leads to the total memory usage of around 51.2GB for all the 64 cores. But when I monitor the code performance, I see the each of the nodes has used 51.2GB rather than total memory usage of 51.2GB.
Am I missing something?

Any help in this regard will be greatly appreciated.

ferenc_karsai
Global Moderator
Global Moderator
Posts: 422
Joined: Mon Nov 04, 2019 12:44 pm

Re: VASP Estimated Memory Usage

#2 Post by ferenc_karsai » Fri Mar 04, 2022 12:09 pm

Please post your calculation with all the necessary files (INCAR, KPOINTS, POSCAR, POTCAR).

ankitsha
Newbie
Newbie
Posts: 3
Joined: Wed Jul 29, 2020 3:01 pm

Re: VASP Estimated Memory Usage

#3 Post by ankitsha » Fri Mar 04, 2022 5:08 pm

Hi,
Attached are the input files for the calculation that I used for benchmarking.
Please let me know if any more information is required.

Thank You,
Ankit
You do not have the required permissions to view the files attached to this post.

ferenc_karsai
Global Moderator
Global Moderator
Posts: 422
Joined: Mon Nov 04, 2019 12:44 pm

Re: VASP Estimated Memory Usage

#4 Post by ferenc_karsai » Mon Mar 07, 2022 4:29 pm

I tried to reproduce your problem, but I can't. The memory assumption always agrees with the actually used amount of memory.
I tried intel/impi and gnu/ompi compilers VASP 6.3.0 and also VASP 6.1.2 that you used. I also tried with and without shared memory and with 2 to 8 nodes with 8 processors each node.

Which compilers/toolchain did you use?
Is the memory consumption constant or does it ramp up over time? It's important to know because some not to old compiler versions for both open mpi and intel mpi show memory leaks.

You used VASP 6.1.2, but please try again with VASP 6.3.0.

ankitsha
Newbie
Newbie
Posts: 3
Joined: Wed Jul 29, 2020 3:01 pm

Re: VASP Estimated Memory Usage

#5 Post by ankitsha » Mon Apr 04, 2022 2:11 pm

Hi,
Update:
The VASP memory issue is solved now.

As a follow up question, I am using the fake SC approach to do hybrid calculations, but I need to obtain the wavefunctions at the kpoints which have 0 weights.
Is there a way to obtain these wavefunctions?

Thank You,
Ankit

merzuk.kaltak
Administrator
Administrator
Posts: 278
Joined: Mon Sep 24, 2018 9:39 am

Re: VASP Estimated Memory Usage

#6 Post by merzuk.kaltak » Tue Apr 05, 2022 12:15 pm

Dear Ankit,

Using the fake SC approach and writing the WAVECAR, gives you the wavefunction at each k-point listed in KPOINTS, including those with weight 0.

divanshu_gupta
Newbie
Newbie
Posts: 2
Joined: Thu Dec 14, 2023 8:18 am

Re: VASP Estimated Memory Usage

#7 Post by divanshu_gupta » Thu Mar 14, 2024 10:29 am

Dear Ankit,

I am facing the same memory problem. Could you please share how you solved the memory issue?

Divanshu

Post Reply