When running the following code in either a Jupyterlab or python script, a crash occurs when 'Fragment Driver' parameter 'n' is changed. After a short time, the code will run, but I am unsure of what is happening in the background that allows for the program to run again.
Here is the input:
#!/usr/bin/env python
# coding: utf-8
import nwchemex as nwx
import parallelzone as pz
import simde
import chemist
import pluginplay
import ghostfragment
import os
import glob
import regex
import time
mm = pluginplay.ModuleManager()
nwx.load_modules(mm)
ghostfragment.load_modules(mm)
mol_pt = simde.MoleculeFromString()
sys_maker_key = 'ChemicalSystem via QCElemental'
mol_str = """
O -0.167787 1.645761 0.108747
H 0.613411 1.102620 0.113724
H -0.093821 2.209720 -0.643619
O 1.517569 -0.667424 -0.080674
H 1.989645 -1.098799 0.612047
H 0.668397 -1.091798 -0.139744
O -1.350388 -0.964879 -0.092208
H -1.908991 -1.211298 0.626207
H -1.263787 -0.018107 -0.055536
"""
water3 = mm.run_as(mol_pt, sys_maker_key, mol_str)
mm.change_input('NWChem : SCF', 'basis set', 'sto-3g')
mm.change_input('Fragment Driver', 'n', 2)
sys = chemist.ChemicalSystem(water3)
mm.change_submod('Fragment Based Method', 'Energy method', 'NWChem : SCF')
egy = mm.run_as(simde.TotalEnergy(), 'Fragment Based Method', sys)
print(egy)
When running the following code in either a Jupyterlab or python script, a crash occurs when 'Fragment Driver' parameter 'n' is changed. After a short time, the code will run, but I am unsure of what is happening in the background that allows for the program to run again.
Here is the input:
The following error: