Restart calculation with charged box

55 views
Skip to first unread message

Rajorshi Chattopadhyay

unread,
Jul 28, 2022, 6:03:35 PM7/28/22
to cp...@googlegroups.com
Hello all,

I am trying to restart  a simulation where the box has a net charge. I add the following lines in the input file -

&EXT_RESTART

   RESTART_FILE_NAME Brine_500_IR_Bulk-1.restart

&END EXT_RESTART


FORCE_EVAL/DFT/CHARGE -1

FORCE_EVAL/DFT/SCF/SCF_GUESS RESTART


I find that this works for simulations where the net charge of the cell is 0. However, for charged cells, the calculation does not start.  Am I missing something here ?

Thank you for your help/suggestions.
--
With Regards,
Rajorshi Chattopadhyay,
PhD Researcher in Mineralogy/Crystallography,
Institut für Geologie und Mineralogie,
Universität zu Köln, Germany

Krack Matthias (PSI)

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

Hi Rajorshi

 

Basically, the wavefunction restart should also work for charged cells. You cannot change, however, the cell charge on restart.

 

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/CACTJSRdyjtMiod9hR2D%2B4CtUvkvb%3DQyi5NpFyKuKFwgLycXULg%40mail.gmail.com.

Rajorshi Chattopadhyay

unread,
Jul 29, 2022, 4:09:37 AM7/29/22
to cp...@googlegroups.com
Hi Matthias,

Thanks for your reply. I do not change the cell charge on restart. However, I find that when I change SCF_GUESS to ATOMIC, the calculation restarts. 

Krack Matthias (PSI)

unread,
Jul 29, 2022, 10:59:10 AM7/29/22
to cp...@googlegroups.com

Hi Rajorshi

 

Can you provide a simple case to reproduce your observation?

Rajorshi Chattopadhyay

unread,
Aug 1, 2022, 11:54:54 AM8/1/22
to cp...@googlegroups.com
Hi Matthias,

I have attached a folder that contains the following files:

1. main_eql.inp - input file for equilibration run from where the .wfn and .restart files are generated
2. main.inp - input file for production run (using restart files)
3. ****.wfn - wavefunction restart file
4. ****.restart - simulation restart file
5. main.out - output that I get when I start production run with wavefunction restart
6. coord_eql - starting coordinates of atoms

 I thank you for your help.



test.zip

Krack Matthias (PSI)

unread,
Aug 2, 2022, 12:28:58 PM8/2/22
to cp...@googlegroups.com

Hi Rajorshi

 

I find that your wfn restart file is empty. SCF RESTART works fine for me with your input files. Make sure that your wfn restart file is not corrupted or truncated.

Reply all
Reply to author
Forward
0 new messages