Open e-kwsm opened 2 weeks ago
Some of these would be fairly easy for me to fix, but since I don't use cp2k, I'll definitely need help from other users.
The code is at https://github.com/OpenChemistry/avogadrolibs/blob/master/avogadro/qtplugins/cp2kinput/cp2kinputdialog.cpp
Avogadro version: (please complete the following information from the About box):
Desktop version: (please complete the following information):
Describe the bug Generated CP2K input is malformed. See ja.txt (Japanese locale).
Regarding Energy calculation:
2: PROJECT CO | ????? | SZV-GTH
PROJECT
by the formula, calculation type, and basissetPROJECT
for the prefix of intermediate files; anyway, i.e. in any locale, CP2K 2024.2 rejects the line since it contains spaces (and|
is not suitable for filename); it must be e.g.PROJECT CO_Energy_SVZ-GTH
8: METHOD DFT
DFT
must beQS
orQUICKSTEP
for electronic structure methods including DFT9:&END FORCE_EVAL
this must be put at the EOF but58: $END
appears instead&SUBSYS
and&END SUBSYS
are missing&END KIND
is gone&COORD
and&END COORD
are missed around the C and O coordinates50: &XC_FUNCTIONAL 0
enum
of BLYP is used instead of stringBLYP
I have not checked the other calculation types.
To Reproduce
Expected behavior Generated CP2K input is valid.
Screenshots