added slurm job id print

class-solution
Daniel Pozsar 2 months ago
parent 8dc209be9c
commit d37a543480

Binary file not shown.

@ -115,7 +115,6 @@ def parse_command_line() -> dict:
type=int,
help="Parameter tuning the distribution on the contour",
)
parser.add_argument(
"--parallel-green",
dest="parallel_solver_for_Gk",
@ -554,5 +553,6 @@ if __name__ == "__main__":
simulation_parameters = process_input_args(
DEFAULT_ARGUMENTS, fdf_arguments, command_line_arguments, ACCEPTED_INPUTS
)
print(simulation_parameters)
# run grogupy
main(simulation_parameters, magnetic_entities, pairs)

@ -253,7 +253,7 @@ def print_job_description(simulation_parameters: dict) -> None:
"================================================================================================================================================================"
)
try:
print(f"SLURM job ID: {environ["SLURM_JOB_ID"]}")
print(f"SLURM job ID: {environ['SLURM_JOB_ID']}")
except:
print("SLURM job ID not found.")
print("Input file: ")
@ -314,7 +314,7 @@ def print_parameters(simulation_parameters: dict) -> None:
"================================================================================================================================================================"
)
try:
print(f"SLURM job ID: {environ["SLURM_JOB_ID"]}")
print(f"SLURM job ID: {environ['SLURM_JOB_ID']}")
except:
print("SLURM job ID not found.")
print("Input file: ")

Loading…
Cancel
Save