cnr-ibf-pa / hbp-bsp-issues

Ticketing system for developers/testers and power users of the Brain Simulation Platform of the Human Brain Project
4 stars 0 forks source link

Implement CPUs in Jureca & Jureca Booster #447

Closed antonelepfl closed 5 years ago

antonelepfl commented 5 years ago

Hi @BerndSchuller , I would like to pass the number of CPUs so it's translated to #SBATCH --ntasks=... in the bsssubmit.. Piz-daint have already implemented this functionality.

Currently I get: failed: Resource <TotalCPUs> is not available at this site

BerndSchuller commented 5 years ago

hi Stefano,

specifying Nodes and CPUsPerNode does not work for you?

antonelepfl commented 5 years ago

Yes it works but to have consistency with the other systems I'm trying to pass only the CPUs and let Unicore takes care about how many nodes I need to allocate. Make it available is a lot of work?

clupascu commented 5 years ago

Hi Stefano,

I use this in the job descriptor

"Resources": {"Nodes": '2',"CPUsPerNode":'24'} for the booster partition.

BerndSchuller commented 5 years ago

no, it's not difficult, I'll get it done, for some reason our current configuration only has the Nodes+CpusPerNode. It's possible to have both, so you can choose whichever resource specification is m more conventient.

antonelepfl commented 5 years ago

Yes I was using that in the past that passing the CPUs is a feature mentioned in the documentation and I prefer using the same syntax.

antonelepfl commented 5 years ago

Ok great that would be nice, thank you Bernd!

BerndSchuller commented 5 years ago

the change is deployed:

"resources": { "TotalCPUs": "0.0-111520.0" "CPUsPerNode": "0.0-68.0", "GPUS": "0-4", "Nodes": "1.0-1872.0", ... ],

you can give either TotalCPUs or Nodes+CPUsPerNode let me know if things are not as you expect :-)

antonelepfl commented 5 years ago

It's working properly. Thank you again Bernd