CI-NEB out of memory

158 views
Skip to first unread message

Hasan Al-Mahayni

unread,
Jul 28, 2022, 7:30:23 PM7/28/22
to cp2k
Hello All,

This is the first time I am running BAND calculation for Climbing image NEB. I attach the my input file and my two xyz files. I am getting a huge number of output files (639!). I don't think this is normal but I don't see what I did wrong in my input file. I only requested 5 image replicas. I gave the job a lot of memory/CPUS but it fails after 1 minute telling me its out of memory.  Can someone help me with this?


Thanks in advance,

Hasan.

outputfiles.png
slab2.xyz
NEB_input.txt
slab1.xyz

Krack Matthias (PSI)

unread,
Jul 29, 2022, 3:45:18 AM7/29/22
to cp...@googlegroups.com

Hi Hasan

 

You are running a CI-NEB band calculation with 4x4x1 k points which might explain the large number of output files. I am not sure, if that combination of features has been sufficiently tested or even validated at all, since all NEB test files are Gamma point only runs.

 

Best regards

 

Matthias

--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/a4ed1e09-cfb2-42ea-b3c6-0b233e08f8b3n%40googlegroups.com.

Hasan Al-Mahayni

unread,
Jul 29, 2022, 9:14:22 AM7/29/22
to cp...@googlegroups.com
Hello Matthias,

Thank you for your reply. I commented out the kpoints, I still get the out of memory error. Do I have to remove something else in my input file other than kpoints?


Hasan Al-Mahayni


Krack Matthias (PSI)

unread,
Jul 29, 2022, 11:54:52 AM7/29/22
to cp...@googlegroups.com

Hi Hasan

 

Your system is too large to run each of the 5 frames only on one CPU core. Increase NPROC_REP from 1 to a larger value depending on the CPU resources available (e.g. 16 or better more like 64 which requires 5*64=320 cores total).

Hasan Al-Mahayni

unread,
Jul 29, 2022, 1:26:36 PM7/29/22
to cp...@googlegroups.com

Oh! Ok i see how the NPROC_REP works now. So I can put This value to 16 of there are enough cpus?


--
Hasan Al-Mahayni

Hasan Al-Mahayni

unread,
Jul 29, 2022, 1:26:50 PM7/29/22
to cp...@googlegroups.com
or 64
--
Hasan Al-Mahayni

Hasan Al-Mahayni

unread,
Aug 15, 2022, 6:07:33 PM8/15/22
to cp...@googlegroups.com
Hello Matthias,

I would like to first thank you as my NEB is now working. I have two small questions now that I am running it :) 

1) The energies of my first and last image (my inputs) are different in the NEB simulation than my previous normal GEO_OPT simulations. How do people usually deal with that? Do they consider only energy differences of the NEB simulation? Because my thermodynamic energy difference between initial and final state is 0.18eV while in NEB it is 0.43 eV! 

2) One of my NEB simulations ran for 24 hours at 512 cpus and it doesn't seem to add any iterations to my overall RESULTS file. This does not happen to my other NEB simulations... So I am wondering how I can figure out if it is stuck or just taking a long time (which I doubt). For this question I attach the xyz files, input file and a screenshot of the end of the output file after 24 hours.
 
image.png

I deeply appreciate your help!

Hasan Al-Mahayni


NEB_input_NH2+H2O.txt
slab2.xyz
slab1.xyz

Krack Matthias (PSI)

unread,
Aug 16, 2022, 12:16:40 PM8/16/22
to cp...@googlegroups.com

Hi Hasan

 

Did you make sure that your runs, GEO_OPT and NEB., converged to the same state?

 

Best

 

Matthias

 

From: "cp...@googlegroups.com" <cp...@googlegroups.com> on behalf of Hasan Al-Mahayni <hasanal...@gmail.com>
Reply to: "cp...@googlegroups.com" <cp...@googlegroups.com>
Date: Tuesday, 16 August 2022 at 00:07
To: "cp...@googlegroups.com" <cp...@googlegroups.com>
Subject: Re: [CP2K:17489] CI-NEB out of memory

 

Hello Matthias,

 

I would like to first thank you as my NEB is now working. I have two small questions now that I am running it :) 

 

1) The energies of my first and last image (my inputs) are different in the NEB simulation than my previous normal GEO_OPT simulations. How do people usually deal with that? Do they consider only energy differences of the NEB simulation? Because my thermodynamic energy difference between initial and final state is 0.18eV while in NEB it is 0.43 eV! 

 

2) One of my NEB simulations ran for 24 hours at 512 cpus and it doesn't seem to add any iterations to my overall RESULTS file. This does not happen to my other NEB simulations... So I am wondering how I can figure out if it is stuck or just taking a long time (which I doubt). For this question I attach the xyz files, input file and a screenshot of the end of the output file after 24 hours.

 

Hasan Al-Mahayni

unread,
Aug 16, 2022, 5:33:46 PM8/16/22
to cp...@googlegroups.com
Well if I Specify the last image and it is not getting optimized during NEB I don't see how they would not converge to the same state?

Hasan Al-Mahayni


Krack Matthias (PSI)

unread,
Aug 17, 2022, 3:52:59 AM8/17/22
to cp...@googlegroups.com

There might be other things which could interfere, e.g. the frames are aligned at the beginning by default. You have to check/compare the detailed outputs of the runs, if the energies do not agree.

Hasan Al-Mahayni

unread,
Aug 23, 2022, 4:35:44 PM8/23/22
to cp...@googlegroups.com
Sorry for the many messages,

but any idea on my point 2) above ^?

Hasan Al-Mahayni


Reply all
Reply to author
Forward
0 new messages