I am running my .py script from the command line while using a SLURM. So basically my command is:
srun -p quantis -c 16 --mem=60G -t 10-1 -o transmissionA2.log mpiexec.hydra -n 16 atkpython NEW_Device_Sub_Ox_A2mono.py &
the transmissionA2.log defined above gives me the terminal output, but I was looking for log file that is usually generated when I run a .py from the job manager on the GUI . My script is as follows (I am using an already generated device .nc file and running a transmission spectrum block on it)
# -*- coding: utf-8 -*-
# -------------------------------------------------------------
# Analysis from File
# -------------------------------------------------------------
path = u'/mnt/share/gfsVolume/mohammed/Atomistics/Device SubOx_A2mono.nc'
configuration = nlread(path, object_id='gID000')[0]
# -------------------------------------------------------------
# Transmission Spectrum
# -------------------------------------------------------------
kpoint_grid = MonkhorstPackGrid(
na=15,
nb=15,
)
transmission_spectrum = TransmissionSpectrum(
configuration=configuration,
energies=numpy.linspace(-5,5,401)*eV,
kpoints=kpoint_grid,
energy_zero_parameter=AverageFermiLevel,
infinitesimal=1e-06*eV,
self_energy_calculator=RecursionSelfEnergy(),
)
nlsave('/mnt/share/gfsVolume/mohammed/Atomistics/NEW_Device_Sub_Ox_A2mono.hdf5', transmission_spectrum)
nlprint(transmission_spectrum)