Thank you for your kind reply.
I had already used nlread method like you said.
This is the code that I used
Device_configuration = nlread('Si80_111_5e19_4040.hdf5',DeviceConfiguration_0)[0]
# %% TransmissionSpectrum
kpoints = MonkhorstPackGrid(
na=100,
nb=100,
nc=1,
symmetries=[
([[ 1., 0., 0.],
[ 0., 1., 0.],
[ 0., 0., 1.]], [ 0., 0., 0.]),
([[-1., 0., 0.],
[ 0.,-1., 0.],
[ 0., 0.,-1.]], [ 0., 0., 0.]),
],
force_timereversal=True,
k_point_shift=None,
shift_to_gamma=[True, True, True]
)
self_energy_calculator = RecursionSelfEnergy(
storage_strategy=NoStorage()
)
device_transmission_method = GreensFunction(
processes_per_contour_point=1,
)
transmission_spectrum = TransmissionSpectrum(
configuration=Device_configuration,
energies=numpy.linspace(0.0, 0.0, 1)*eV,
kpoints=kpoints,
kpoints_weights=None,
self_energy_calculator=self_energy_calculator,
energy_zero_parameter=AverageFermiLevel,
infinitesimal=1e-06*eV,
device_transmission_method=device_transmission_method,
enforce_zero_in_band_gap=True
)
nlsave('Si80_111_5e19_nlread.hdf5', transmission_spectrum)
But Still the error occurred
Abort(1) on node 36 (rank 36 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 36
File "Si80_111_1e20_nlread.py", line 1, in <module>
NameError: name 'DeviceConfiguration_0' is not defined
Abort(1) on node 45 (rank 45 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 45
Device_configuration = nlread('Si80_111_1e20_4040.hdf5',DeviceConfiguration_0)[0]
NameError: name 'DeviceConfiguration_0' is not defined
NameError: name 'DeviceConfiguration_0' is not defined
File "Si80_111_1e20_nlread.py", line 1, in <module>
Abort(1) on node 20 (rank 20 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 20
Abort(1) on node 23 (rank 23 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 23
^^^^^^^^^^^^^^^^^^^^^
NameError: name 'DeviceConfiguration_0' is not defined
Abort(1) on node 30 (rank 30 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 30
Device_configuration = nlread('Si80_111_1e20_4040.hdf5',DeviceConfiguration_0)[0]
^^^^^^^^^^^^^^^^^^^^^
NameError: name 'DeviceConfiguration_0' is not defined
Abort(1) on node 35 (rank 35 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 35
It said that it cannot read DeviceConfiguration_0
I am using 2023.9 version and the location is Si80_111_5e19_4040.hdf5, type is bulk and the name is DeviceConfiguration_0
I already used other nlread type name.
Is there any other way that I could solve this problem?
Thank you