Molcas Forum

Support and discussions for Molcas and OpenMolcas users and developers

You are not logged in.

Announcement

Welcome to the Molcas forum.

Please note: The forum's URL has changed. The new URL is: https://molcasforum.univie.ac.at. Please update your bookmarks!

You can choose an avatar and change the default style by going to "Profile" → "Personality" or "Display".

#1 2020-10-16 17:47:43

jmcox2
Member
Registered: 2020-10-16
Posts: 2

Reading computed results internally

I am running fewest-switches surface hopping trajectory calculations at the CASSCF level, and I would like to implement a dynamic weighting scheme into the state-averaging, like that of Deskevich, Nesbitt, and Werner (J. Chem. Phys. 120, 7281 (2004)). But this relies on being able to compute the difference in energy between two electronic states. Is this possible to do internally in the (Open)Molcas input file? Or more specifically, is it possible to access computed values like state energies from the input file via a variable name or something similar?

Any help or direction would be greatly appreciated.

Thanks!

Offline

#2 2020-10-16 18:47:49

Ignacio
Administrator
From: Uppsala
Registered: 2015-11-03
Posts: 1,085

Re: Reading computed results internally

Not directly. You could create a script/program to read e.g. the $Project.rasscf.h5 file, and call it with "> SHELL" but I'm not sure how you could use the result in subsequent inputs. I don't think you can define environment variables from within the script; you could use "> EXPORT", but I don't see right now how you could pass the value to export. Perhaps one could use the (undocumented) exit code 65 (_RC_INVOKED_OTHER_MODULE_) to sort of inject an external file into the input stream. Or you could try the untested approach in https://gitlab.com/Molcas/OpenMolcas/-/ … e_50959594

Offline

Board footer

Powered by FluxBB 1.5.11

Last refresh: Today 23:12:05