GreenAlgorithms / GreenAlgorithms4HPC

http://www.green-algorithms.org
54 stars 8 forks source link

Error: for the jobs before this year #10

Closed VanishingPuzzle closed 1 year ago

VanishingPuzzle commented 1 year ago

I receive this message even if i run the jobs.

And on changing the start date, I receive the following error:

bash myCarbonFootprint.sh -S 2022-01-01

Virtualenv: OK Python versions: OK Traceback (most recent call last): File "/users/stud/n/naraya0001/MasterThesis/GreenAlgorithms4HPC/GreenAlgorithms_global.py", line 442, in main(args, cluster_info, fParams) File "/users/stud/n/naraya0001/MasterThesis/GreenAlgorithms4HPC/GreenAlgorithms_global.py", line 349, in main WM.clean_logs_df() File "/users/stud/n/naraya0001/MasterThesis/GreenAlgorithms4HPC/GreenAlgorithms_workloadManager.py", line 406, in clean_logs_df self.df_agg['TotalCPUtime2useX'] = self.df_agg.apply(self.calc_CPUusage2use, axis=1) File "/users/stud/n/naraya0001/MasterThesis/GreenAlgorithms4HPC/GA_env/lib/python3.9/site-packages/pandas/core/frame.py", line 7768, in apply return op.get_result() File "/users/stud/n/naraya0001/MasterThesis/GreenAlgorithms4HPC/GA_env/lib/python3.9/site-packages/pandas/core/apply.py", line 185, in get_result return self.apply_standard() File "/users/stud/n/naraya0001/MasterThesis/GreenAlgorithms4HPC/GA_env/lib/python3.9/site-packages/pandas/core/apply.py", line 276, in apply_standard results, res_index = self.apply_series_generator() File "/users/stud/n/naraya0001/MasterThesis/GreenAlgorithms4HPC/GA_env/lib/python3.9/site-packages/pandas/core/apply.py", line 290, in apply_series_generator results[i] = self.f(v) File "/users/stud/n/naraya0001/MasterThesis/GreenAlgorithms4HPC/GreenAlgorithms_workloadManager.py", line 180, in calcCPUusage2use assert x.TotalCPUtime <= x.CPUwallclocktime_ AssertionError

Please help.

Regards Hari