Page 1 of 1

MKMEM input variable problem

Posted: Sun May 14, 2017 6:43 am
by mboaks
Hi,

I am doing some calculations and unfortunately it exceeded the memory. To solve this issue, I set the mkmem variable equals to the number of k points in the input file as per the suggestion in the log file. But apparently, I am receiving following error:

--- !ERROR
src_file: chkvars.F90
src_line: 336
mpi_rank: 0
message: |
Found the token MKMEM in the input file.
This name is not one of the registered input variable names (see the Web list of input variables).
Action: check your input file. You likely mistyped the input variable.

Please suggest me how to resolve this issue.

Thanks in advance.

Regards,
Mawla

Re: MKMEM input variable problem

Posted: Tue May 16, 2017 9:02 am
by gmatteo
mkmem is now an internal variable, it's not possible to set its value in the input file.
Use paral_kgb = 1 and nkpkpt, npband, npfft to decrease the memory requirements when
the number of MPI processes is greater than the number of k-points in the IBZ

Re: MKMEM input variable problem

Posted: Wed May 17, 2017 7:45 pm
by mboaks
Thank you for your suggestions. I have been tweaking the npkpt, npband, and npfft parameter values to reduce the memory needs. But I was wondering if there exists any straightforward rule or it's always such trial and error basis?