constrained DFT with vc-relax

45 views
Skip to first unread message

Elham M.Goliaei

unread,
Dec 5, 2024, 1:33:32 PM12/5/24
to cp2k

Dear CP2K community and developers,

I am currently performing some constrained DFT calculations using CP2K. While the GEO_OPT with constrained DFT runs without any issues, I encountered an error stating "Grids incompatible" after two SCF cycles when attempting a CELL_OPT with the same constraints.

Does anyone have any insights into what might be causing this issue?

Thank you in advance for your assistance!


---------------------------------- CDFT --------------------------------------



 SCF WAVEFUNCTION OPTIMIZATION


  Step     Update method      Time    Convergence         Total energy    Change

  ------------------------------------------------------------------------------


 *******************************************************************************

 *   ___                                                                       *

 *  /   \                                                                      *

 * [ABORT]                                                                     *

 *  \___/                           Grids incompatible                         *

 *    |                                                                        *

 *  O/|                                                                        *

 * /| |                                                                        *

 * / \                                                    pw/pw_methods.F:1022 *

 *******************************************************************************



 ===== Routine Calling Stack ===== 


           15 pw_integral_ab

           14 cdft_constraint_integrate


Best,

Elham


   

Jürg Hutter

unread,
Dec 6, 2024, 5:07:39 AM12/6/24
to cp...@googlegroups.com
Hi

I don't have experience with this part of the code, but it looks to me that variable cell
methods are not implemented with CDFT.
There is no regression test for CELL_OPT or MD with NPT. The error message points to
a missing re-initialization of the plane wave environment after a change to the cell.

regards
JH

________________________________________
From: cp...@googlegroups.com <cp...@googlegroups.com> on behalf of Elham M.Goliaei <e.go...@gmail.com>
Sent: Thursday, December 5, 2024 7:33 PM
To: cp2k
Subject: [CP2K:20953] constrained DFT with vc-relax
--
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<mailto:cp2k+uns...@googlegroups.com>.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/d73879df-99af-40e3-9bdc-f9046f7298fbn%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/d73879df-99af-40e3-9bdc-f9046f7298fbn%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages