You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I forked the cc-slurm-sync project and used it in my cluster as the collection of job information with ClusterCcokkpit. During the setup, I found that original script was using slurm command to get the job state and information. This way is clear and understandable, but may consume more resources and connect with slurm server many times.
So I rewrite the script, change all slrum command to python API: pyslurm. This change also inferred the structure of slurmJobData, so you will see the conflicts. By the way, I use "logging" package instead of the "print".
I hope my rewriting will help your script more elignant and useful. The script is in https://github.com/SJTU-HPC/cc-slurm-sync. If you want, I'm willing to merge changes in cc-slurm-sync
The text was updated successfully, but these errors were encountered:
I forked the cc-slurm-sync project and used it in my cluster as the collection of job information with ClusterCcokkpit. During the setup, I found that original script was using slurm command to get the job state and information. This way is clear and understandable, but may consume more resources and connect with slurm server many times.
So I rewrite the script, change all slrum command to python API: pyslurm. This change also inferred the structure of slurmJobData, so you will see the conflicts. By the way, I use "logging" package instead of the "print".
I hope my rewriting will help your script more elignant and useful. The script is in https://github.com/SJTU-HPC/cc-slurm-sync. If you want, I'm willing to merge changes in cc-slurm-sync
The text was updated successfully, but these errors were encountered: