I am trying to run a script calculating the transmission pathways at 3 different energies. I am using a Recursion self energy calculator. At first I didnt specify any arguments and it gave me the error "save_self_energies is deprecated, use storage_strategy". I returned and added this argument to the calculator and still getting this error. Generally the simualation ran when I was using the Direct self energy but I understand that Recursion is a more accurate approach, hence I want to keep with it.
The scrpit is shown below / attached.
# -------------------------------------------------------------
# Analysis from File
# -------------------------------------------------------------
path = u'/home/ads.mwn.de/ga37juw/Anthracene Chains/Device/Device SubOx_2A2mono.nc'
configuration = nlread(path, object_id='gID000')[0]
# -------------------------------------------------------------
# Transmission Pathways
# -------------------------------------------------------------
kpoint_grid = MonkhorstPackGrid(
na=15,
nb=15,
)
transmission_pathways = TransmissionPathways(
configuration=configuration,
energy=-0.36*eV,
kpoints=kpoint_grid,
energy_zero_parameter=AverageFermiLevel,
infinitesimal=1e-06*eV,
contributions=Left,
self_energy_calculator=RecursionSelfEnergy(storage_strategy=SaveInMemory()),
)
nlsave('/home/ads.mwn.de/ga37juw/Anthracene Chains/Device/Device SubOx_2A2mono.nc', transmission_pathways)
nlprint(transmission_pathways)
# -------------------------------------------------------------
# Transmission Pathways
# -------------------------------------------------------------
kpoint_grid = MonkhorstPackGrid(
na=15,
nb=15,
)
transmission_pathways = TransmissionPathways(
configuration=configuration,
energy=-1.48*eV,
kpoints=kpoint_grid,
energy_zero_parameter=AverageFermiLevel,
infinitesimal=1e-06*eV,
contributions=Left,
self_energy_calculator=RecursionSelfEnergy(storage_strategy=SaveInMemory()),
)
nlsave('/home/ads.mwn.de/ga37juw/Anthracene Chains/Device/Device SubOx_2A2mono.nc', transmission_pathways)
nlprint(transmission_pathways)
# -------------------------------------------------------------
# Transmission Pathways
# -------------------------------------------------------------
kpoint_grid = MonkhorstPackGrid(
na=15,
nb=15,
)
transmission_pathways = TransmissionPathways(
configuration=configuration,
energy=-2.46*eV,
kpoints=kpoint_grid,
energy_zero_parameter=AverageFermiLevel,
infinitesimal=1e-06*eV,
contributions=Left,
self_energy_calculator=RecursionSelfEnergy(storage_strategy=SaveInMemory()),
)
nlsave('/home/ads.mwn.de/ga37juw/Anthracene Chains/Device/Device SubOx_2A2mono.nc', transmission_pathways)
nlprint(transmission_pathways)