[CP2K-user] [CP2K:16541] QM/MM- out of memory
Fatih Ertinaz
fertinaz at gmail.com
Wed Feb 2 21:57:56 UTC 2022
Hi Isilay,
You're basically requesting a memory space of 1 GB in your job script,
however your job requires more than that as it fails oom error.
Simply remove the line where you ask for the memory. By doing that, you'll
be able to consume the entire memory that is physically available in the
node which is probably much larger than 1 GB.
Also, your job file looks like a Slurm file but you're using PBS
environment variable in the script. I think you should change that to
SLURM_SUBMIT_DIR.
That being said, there are some more confusions in your job script. For
instance, you request 1 node and 4 tasks (--tasks-per-node=4), but in the
srun you specify 24 processes. If I'm not wrong, a task in the Slurm world
corresponds to an MPI rank, so you should be requesting 24 cores instead of
4. The cpus-per-task and omp_num_threads seemed a bit off as well.
If I were you, I would allocate the entire node and avoid using the -n flag
in the srun which should utilize the entire node by default.
Hope this helps
Fatih
On Wed, Feb 2, 2022 at 3:38 PM ışılay öztürk <isilayozturk at gmail.com> wrote:
> Dear all,
>
> I defined to memory but many times It has given to the problem as an out
> of memory and my calculation has not been able to complete.
> I tried to so many things but I haven’t any idea what is wrong. I got this
> error with PBE, WB97X-D and BLYP.
> It was only completed with PM3.
>
> I am trying to apply QM/MM
>
> Do you have any idea what I need to do about “out of memory”?
> I have specified 1024MB (1GB) of memory. Is this per task, per core, for
> all the processes combined, or counted in yet some other way? I didn't
> understand. Also, how does CP2K handle memory? Is there a shared memory for
> all threads (like Gaussian, which has a single process), or does it
> actually run as a bunch of separate processes (Turbomole is built this way,
> for a different kind of example)? I need a deeper technical understanding
> of the memory requirements and architecture –from CP2K. Can you help me,
> please?
>
> I was trying to apply this tutorial
>
>
> https://git.ecdf.ed.ac.uk/jsindt/practical_introduction_to_cp2k/-/tree/master/session_3_reaction_in_solution/exercises/3_monitorisation_qmmm
> with PBE.
> I'm sure I'm doing something wrong, but I don't know which one. I am
> sharing with you my all files.
>
>
> https://drive.google.com/drive/folders/1gPvJa6pqYX7xQhAWomiKOWyf2Bnyp7HL?usp=sharing
>
>
> Thank you in advance.
>
> Best regards
>
> Işılay
>
> --
> 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+unsubscribe at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/cp2k/df624648-757f-4cc2-ba56-e69262cc4fa7n%40googlegroups.com
> <https://groups.google.com/d/msgid/cp2k/df624648-757f-4cc2-ba56-e69262cc4fa7n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
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+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/CAJk3%2BYWUn6S_7BXGTQ43cb-YAJcWdwy8JSoCEDiv6Wzathc3yg%40mail.gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20220202/4161bc3d/attachment.htm>
More information about the CP2K-user
mailing list