DFTB calculations terminate with no specific error

152 views
Skip to first unread message

mshakiba.k...@gmail.com

unread,
May 4, 2022, 1:26:04 PM5/4/22
to cp2k
Dear CP2K developers and users,

Hi, I wanted to perform some calculations with DFTB for a carbon nitride system but it terminates with no specific error. CP2K is compiled with Intel 2020 compilers and the executable successfully runs the calculations for the `regtests` in `tests/DFTB` folder. I have tried multiple changing in input including SCF with diagonalization and with OT but it seems that it doesn't work at all. Also, I use the same Slater-Koster files as in the `data` folder (not the external ones in the DFTB+). Do you have any suggestions to make it work? 
My goal is to compare the DFTB and xTB. The calculations runs with xTB but not with DFTB. Below are the files I use for calculations. Thank you very much in advance!

out.log
es_diag_temp.inp
test.xyz

Jürg Hutter

unread,
May 6, 2022, 5:30:45 AM5/6/22
to cp...@googlegroups.com
Hi

this converged for me without any problems. I'm using the current Trunk version.

regards

Juerg Hutter

________________________________________
From: cp...@googlegroups.com <cp...@googlegroups.com> on behalf of mshakiba.k...@gmail.com <mshakiba.k...@gmail.com>
Sent: Wednesday, May 4, 2022 7:26 PM
To: cp2k
Subject: [CP2K:16914] DFTB calculations terminate with no specific error

Dear CP2K developers and users,

Hi, I wanted to perform some calculations with DFTB for a carbon nitride system but it terminates with no specific error. CP2K is compiled with Intel 2020 compilers and the executable successfully runs the calculations for the `regtests` in `tests/DFTB` folder. I have tried multiple changing in input including SCF with diagonalization and with OT but it seems that it doesn't work at all. Also, I use the same Slater-Koster files as in the `data` folder (not the external ones in the DFTB+). Do you have any suggestions to make it work?
My goal is to compare the DFTB and xTB. The calculations runs with xTB but not with DFTB. Below are the files I use for calculations. Thank you very much in advance!


--
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 on the web visit https://groups.google.com/d/msgid/cp2k/665b5b8e-8479-4353-bd39-26a61e2b4525n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/665b5b8e-8479-4353-bd39-26a61e2b4525n%40googlegroups.com?utm_medium=email&utm_source=footer>.
es_diag_temp.inp

Eric Ledieu

unread,
May 6, 2022, 1:57:26 PM5/6/22
to cp2k
Perhaps I am mistaken, but the only time CP2K has terminated the process without telling me why was because the hardware was insufficient and the machine shut down the calculations due to a resource shortage of some kind (such as lack of memory). Perhaps try either running it on another machine or reducing the number of repeating units?

With best wishes,
Eric Ledieu

mshakiba.k...@gmail.com

unread,
May 6, 2022, 4:18:14 PM5/6/22
to cp2k
Dear Professor Hutter, 

Hi, Thank you so much for your help. It now works. The problem was because of &MGRID section and if I remove that it will work. The reason I used &MGRID was for outputting the cube files but now it seems that it cannot also print the molden file format for DFTB. I used v9.1 for the calculations. Is printing out molden files available in the development branch? If not, is there any way to print out the basis set CP2K uses so with some scripting I can make some molden files along with the MOLog files coefficients? I tried BASIS_SET_FILE but it doesn't print anything.

Thank you in advance.

Jürg Hutter

unread,
May 9, 2022, 4:53:49 AM5/9/22
to cp...@googlegroups.com
Hi

DFTB uses a Slater type basis. All our analysis tools are for Gaussian type basis sets only.

regards

Juerg Hutter

________________________________________
From: cp...@googlegroups.com <cp...@googlegroups.com> on behalf of mshakiba.k...@gmail.com <mshakiba.k...@gmail.com>
Sent: Friday, May 6, 2022 10:18 PM
To: cp2k
Subject: Re: [CP2K:16919] DFTB calculations terminate with no specific error

Dear Professor Hutter,

Hi, Thank you so much for your help. It now works. The problem was because of &MGRID section and if I remove that it will work. The reason I used &MGRID was for outputting the cube files but now it seems that it cannot also print the molden file format for DFTB. I used v9.1 for the calculations. Is printing out molden files available in the development branch? If not, is there any way to print out the basis set CP2K uses so with some scripting I can make some molden files along with the MOLog files coefficients? I tried BASIS_SET_FILE<https://manual.cp2k.org/trunk/index.html#CP2K_INPUT/FORCE_EVAL/DFT/PRINT/BASIS_SET_FILE.html> but it doesn't print anything.

Thank you in advance.

On Friday, May 6, 2022 at 2:00:45 PM UTC+4:30 jgh wrote:
Hi

this converged for me without any problems. I'm using the current Trunk version.

regards

Juerg Hutter

________________________________________
From: cp...@googlegroups.com <cp...@googlegroups.com> on behalf of mshakiba.k...@gmail.com <mshakiba.k...@gmail.com>
Sent: Wednesday, May 4, 2022 7:26 PM
To: cp2k
Subject: [CP2K:16914] DFTB calculations terminate with no specific error

Dear CP2K developers and users,

Hi, I wanted to perform some calculations with DFTB for a carbon nitride system but it terminates with no specific error. CP2K is compiled with Intel 2020 compilers and the executable successfully runs the calculations for the `regtests` in `tests/DFTB` folder. I have tried multiple changing in input including SCF with diagonalization and with OT but it seems that it doesn't work at all. Also, I use the same Slater-Koster files as in the `data` folder (not the external ones in the DFTB+). Do you have any suggestions to make it work?
My goal is to compare the DFTB and xTB. The calculations runs with xTB but not with DFTB. Below are the files I use for calculations. Thank you very much in advance!


--
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 on the web visit https://groups.google.com/d/msgid/cp2k/665b5b8e-8479-4353-bd39-26a61e2b4525n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/665b5b8e-8479-4353-bd39-26a61e2b4525n%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+uns...@googlegroups.com<mailto:cp2k+uns...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/cf1998e7-7543-4cc1-94db-f9736a33a363n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/cf1998e7-7543-4cc1-94db-f9736a33a363n%40googlegroups.com?utm_medium=email&utm_source=footer>.

mshakiba.k...@gmail.com

unread,
May 9, 2022, 10:00:59 AM5/9/22
to cp2k
Thank you so much again for your help.
Reply all
Reply to author
Forward
0 new messages