clusterinthecloud / support

If you need help with Cluster in the Cloud, this is the right place
2 stars 0 forks source link

tag nodes with CPU (microarchitecture) based on archspec #22

Open boegel opened 3 years ago

boegel commented 3 years ago

list_nodes shows that workernodes are tagged with features like arch=x86_64, which is very useful when submitting jobs to specific types of nodes via sbatch --constraint.

I think it would be useful to make that a bit more fine-grained, by adding an additional feature like uarch=haswell (or perhaps something like cpu_family=haswell).

archspec would be perfect for this, since it's trivial to install (pip install archspec) and run to identify the CPU microarchitecture of nodes (archspec cpu, which produces a short human-readable string like haswell, zen2,gravition2`, etc.).

I'm happy to try and help out with this, given some pointers...