WIMM-IT / slurm-analytics

Analyse Slurm sacct data with Python Pandas
GNU General Public License v3.0
0 stars 0 forks source link

Cluster name issue #3

Open verdurin opened 5 hours ago

verdurin commented 5 hours ago

Apologies for the flurry of issues...

Was trying to run the sacct-parse step and saw this error:

$ python sacct-parse.py -n cluster
No sacct files detected for cluster named 'cluster'
aowenson-imm commented 5 hours ago

That's triggered by this code:

pattern = f'Dumps/{cluster_id}/sacct/*.csv'
for input_fp in glob.glob(pattern):
  input_fps.append(input_fp)
if len(input_fps) == 0:
  print(f"No sacct files detected for cluster named '{cluster_id}'")|

Does folder Dumps/cluster/sacct exist, and does it contain csv files? If not, did you run sacct-dump.py before?