[CP2K-user] [CP2K:21780] SCF converges for outer circle but SCF does not converge in general

Joshua Edzards edzards.joshua at gmail.com
Wed Aug 27 10:31:32 UTC 2025


Dear CP2K comunity,

I was running a single-point energy calculation with PBE0 on MOF5 with a 
hydrogen molecule inside. Somehow, after the third outer SCF loop, the 
calculation seems to have converged. But the next line clearly states that 
it failed.

  outer SCF iter =    3 RMS gradient =   0.58E-05 energy =     
 -1195.0423806694
  outer SCF loop converged in   3 iterations or   75 steps


 *******************************************************************************
 *   ___                                                                   
    *
 *  /   \                                                                   
   *
 * [ABORT]                                                                 
    *
 *  \___/     SCF run NOT converged. To continue the calculation 
regardless,   *
 *    |             please set the keyword IGNORE_CONVERGENCE_FAILURE.     
    *
 *  O/|                                                                     
   *
 * /| |                                                                     
   *
 * / \                                                           
 qs_scf.F:611 *
 *******************************************************************************

I was wondering why this happens. Additionally, I get an error message from 
Slurm, and I assume that this might cause the problem.

--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[c0365:144409] 191 more processes have sent help message help-mpi-api.txt / 
mpi-abort
[c0365:144409] Set MCA parameter "orte_base_help_aggregate" to 0 to see all 
help / error messages

The Slurm script, the error, and also CP2K in- and output files are 
attached. Any help is appreciated. Also, if more information is needed, I 
am happy to provide it.

Thank you very much, and all the best
Josh

-- 
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 visit https://groups.google.com/d/msgid/cp2k/e4b215b4-a2e0-4a40-bc25-ec9b455f8ecbn%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250827/8ffab517/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aiida.out
Type: application/octet-stream
Size: 321639 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250827/8ffab517/attachment-0002.obj>
-------------- next part --------------
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[c0365:144409] 191 more processes have sent help message help-mpi-api.txt / mpi-abort
[c0365:144409] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _aiidasubmit.sh
Type: application/x-shellscript
Size: 512 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250827/8ffab517/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aiida.in
Type: application/octet-stream
Size: 2240 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250827/8ffab517/attachment-0003.obj>


More information about the CP2K-user mailing list