Step3/Step4 NBRA Workflow with CP2K/xTB #170
-
I have a couple quick questions about step4 in the nbra workflow in Libra. Specifically I'm following the notebook here pretty closely https://github.com/compchem-cybertraining/Tutorials_Libra/tree/master/6_dynamics/2_nbra_workflows/9_step4_cp2k. First I noticed there's 'init_state' and 'istate' variables in run_dynamics in the first code block, and that init_state appears to take precedence when looking at initial populations in the SH_pop files. Is istate doing something else entirely, or do these serve pretty much the same purpose? Then also there appears to be some state tracking in step4 that you can set in params_common. Is this only necessary if doing the dynamics in the KS basis? Because it looked like state tracking was also done in step3 for the mixed basis. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Robert @r2stanton , If you are talking about the About the state tracking - yes, if you have done it in step3, you won't need to do it in step4. Just the heads up: this whole thing about state tracking at different steps will be removed in the new releases to make it more intuitive. |
Beta Was this translation helpful? Give feedback.
Hi Robert @r2stanton ,
If you are talking about the
init_states
variable (list) present at the top of therun_dynamics
function - then yes - it does take precedence overinit_state
listed in the dictionary of the dynamical parameters. In this case,init_state
is essentially a dummy variable and may be omitted altogether. What happens is that when thestep4.namd_workflow
functions is called it will run therun_tsh
functions with various sets of variables (methods, initial conditions, batches) in parallel (to some extent). The actual parameters for those runs would be determined by what you list ininit_states
, and other variables in the beginning of therun_dynamics
function.About the sta…