From d37a5434801f1a36c6b69c13bd4a6f4581b58ddc Mon Sep 17 00:00:00 2001 From: Daniel Pozsar Date: Tue, 12 Nov 2024 21:09:53 +0100 Subject: [PATCH] added slurm job id print --- Fe3GeTe2_fdf_test.pickle | Bin 8326 -> 8326 bytes src/grogupy/grogu.py | 4 ++-- src/grogupy/io.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Fe3GeTe2_fdf_test.pickle b/Fe3GeTe2_fdf_test.pickle index e9dd0e479183dff64dbd39703eb93db7401903c3..96c8f8c5c7bd90dd377b6025f3598d18d1dda911 100644 GIT binary patch delta 166 zcmZp3Y;)YOO5Xg9rEE(-mqia(acW6vL3~MOZt4_w`}dJcm6C6W_waedC+4NZM>xB| zWWJuPHTL#8Hu<5vszbq)__<#_d$_XWftq0ozP-95(q#C!N1`Y-Ewv~$FF7^7D8D4J xBr`v+7^ddemn)~|ollwUrl2f4t^S9 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) diff --git a/src/grogupy/io.py b/src/grogupy/io.py index 8448396..282f95a 100644 --- a/src/grogupy/io.py +++ b/src/grogupy/io.py @@ -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: ")