grimme-lab / CENSO

CENSO - Commandline ENergetic SOrting of Conformer Rotamer Ensembles
https://xtb-docs.readthedocs.io/en/latest/CENSO_docs/censo.html
GNU General Public License v3.0
23 stars 10 forks source link

Changing Orca SCF settings for Part1 amd Part2 computations #31

Open ankur56 opened 2 years ago

ankur56 commented 2 years ago

Hello,

I am using CENSO to screen metal complexes with different spin multiplicities. In many cases, the SCF convergence is painfully slow, potentially because of the default Orca setting of using the TRAH method quite early during the SCF procedure. Therefore, I would like to add some keywords in the CENSO-generated Orca input files to make the SCF convergence faster. However, I couldn't find any keyword in .censorc that would be useful for my needs. Is there any way I could modify Part-1 and Part-2 generated input files through CENSO?

fabothch commented 2 years ago

Hi,

since CENSO v.1.2.0 a modification of input files for all ORCA calculation is possible:

All the best,

Fabian

ankur56 commented 2 years ago

Hi Fabian,

This is precisely what I wanted. Thank you for your help. There is another small related issue I was wondering if it could be resolved.

I would like to save forces ( and potentially perform wavefunction stability analysis) for all the Part-1 geometries. I know that I could add the engrad keyword to the censo_ORCA_editable.dat file to generate forces for Part-1 structures. However, that would conflict with the engrad keyword added by CENSO in Part 2. Therefore, I was wondering if we could have separate Orca input files for Part-1 and Part-2.

fabothch commented 2 years ago

Glad that this user-editable option to modify the ORCA inputs fixes your convergence issues.

Concerning your second request: this is not implemented and I believe an additional option makes the already complicated setup more user-unfriendly. You could however just run part1 with the keyword engrad and then stop CENSO, remove the keyword from censo_ORCA_editable.dat and restart into part2.

ankur56 commented 2 years ago

Hi Fabian,

Thank you for your response. I have thought about using your method to run part1 and part2 computations separately. However, in such a workflow, I won't be able to run part2 computations for some other molecule while I am running part1 computations. Ideally, I would like to have a separate censo_ORCA_editable.dat file for different projects (and also for different parts within the same project). So, censo_ORCA_editable.dat should probably be a local file rather than a global file, primarily because SCF settings are usually system and job dependent.

I personally find CENSO to be quite user-friendly. So, I don't think adding more expert user options would make it complicated. If you ever release a future version, please consider adding such features.