Closed dwschulze closed 4 years ago
Looks like you didn't do the mysql install steps: https://github.com/nateGeorge/slurm_gpu_ubuntu#prepare-db-for-slurm
I needed to install libssl-dev
sudo apt-get install libssl-dev
The ./configure script compiles and runs a mysql test program and it takes -lssl and -lcrypto as make command line arguments. That test program wasn't compiling and I think that is what made it omit the mysql plugin.
I also added
sudo apt install build-essential (not sure this is needed) sudo apt-get install libssl-dev
to remove some other ./configure errors that show up in config.log.
Ok, I added those as dependencies just in case. Thanks for debugging!
I did this setup on virtual machines leaving out the anaconda/python and CUDA/GPU steps. I don't have a gres.conf file and in /etc/slurm/slurm.conf I don't have an entry like Gres=gpu:2 on the last line.
The controller gives the following error:
$ sudo slurmdbd -D -vvvv slurmdbd: debug: Log file re-opened slurmdbd: pidfile not locked, assuming no running daemon slurmdbd: debug3: Trying to load plugin /usr/lib/slurm/auth_munge.so slurmdbd: debug: Munge authentication plugin loaded slurmdbd: debug3: Success. slurmdbd: debug3: Trying to load plugin /usr/lib/slurm/accounting_storage_mysql.so slurmdbd: error: Couldn't find the specified plugin name for accounting_storage/mysql looking at all files slurmdbd: error: cannot find accounting_storage plugin for accounting_storage/mysql slurmdbd: error: cannot create accounting_storage context for accounting_storage/mysql slurmdbd: fatal: Unable to initialize accounting_storage/mysql accounting storage plugin
Is there another package I need to install?