giovtorres / docker-centos7-slurm

Slurm Docker Container on CentOS 7
MIT License
87 stars 56 forks source link

added empty gres.conf and instruction to copy it into the container #4

Closed psteinb closed 5 years ago

psteinb commented 5 years ago

@giovtorres this is simply a wonderful repo. Thanks for sharing it. We have started to evaluate if using your repo could facilitate debuggin our slurm installation? On that note, I added an empty gres.conf file which is copied into the container(s). I played around with it to emulate GPU-enabled nodes. It appears to work. If you find this contribution useful, I could add more to this PR as I might research into running your setup with nvidia-docker (so that the GPU handthrough works).

giovtorres commented 5 years ago

Why not add something to gres.conf, even if it is simple or basic?

psteinb commented 5 years ago

done with 7545995

giovtorres commented 5 years ago

We should also update slurm.conf with GresTypes=gpu and add Gres=gpu:titanxp:2 to the compute node parameters.

I can add it as well, if you allow me to.

psteinb commented 5 years ago

done with e74bb5a