Open schneiderfelipe opened 4 years ago
Oh, that's interesting. So do you see cclib invoking a parser within another parser?
Oh, that's interesting. So do you see cclib invoking a parser within another parser?
Yes. If we have a logfile with either XTB1 or XTB2 flags, I think the ORCA parser can safely retrieve the inner output lines and delegate them to the future XTB parser (I don't believe ORCA changes anything from what it receives from xtb). After that, there might be some post-processing as well, but that's it. I think ORCA calls xtb for energies and gradients only. Is it doable?
So do you see cclib invoking a parser within another parser?
I could also envision doing this for how Psi4 drives CFOUR.
Hi,
ORCA currently supports calling xtb from within it, which significantly increases the functionality of both codes. There's already an issue regarding the support of cclib for xtb (#789), so I thought about opening a new one about the ORCA+xtb use case.
The functionality works basically by calling xtb from inside ORCA and attaching the output of xtb within the "main" output:
(The above was taken from this logfile.) The input is also simple and standard:
So we have a "hybrid" output. It seems to me that the complete output of xtb is being given, so it might be possible to cover this use case by calling the future xtb parser from within the parser for ORCA.