Re: [slurm-users] Need help with controller issues

2019-12-12 Thread Chris Samuel
On 12/12/19 8:14 am, Dean Schulze wrote: configure:5021: gcc -o conftest -I/usr/include/mysql -g -O2   conftest.c -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -latomic -lssl -lcrypto -ldl  >&5 /usr/bin/ld: cannot find -lssl /usr/bin/ld: cannot find -lcrypto collect2: error:

Re: [slurm-users] Need help with controller issues

2019-12-12 Thread Dean Schulze
Thanks for mentioning the config.log file. It has dozens of errors in it, yet ./configure completes and doesn't report any errors. Here's what got me past the problem with the mysql plugin. A test program that needed -lssl and -lcrypto on the make command line was failing. The solution was sud

Re: [slurm-users] Need help with controller issues

2019-12-12 Thread Dean Schulze
There's a mysql test failure in config.log. It looks like a couple of missing libraries. The config.log also shows errors because g++ isn't present, and dozens of errors because of failed includes. I must need g++ packages on my Ubuntu instance. But ./configure completes successfully in spite o

Re: [slurm-users] Need help with controller issues

2019-12-12 Thread Gennaro Oliva
Hi Dean, On Wed, Dec 11, 2019 at 04:04:44PM -0700, Dean Schulze wrote: > I tried again with a completely new system (virtual machine). I used the > latest source, I used mysql instead of mariadb, and I installed all the > client and dev libs (below). I still get the same error. It doesn't > bui

Re: [slurm-users] Need help with controller issues

2019-12-12 Thread William Brown
talled, and for MariaDB the missing bit was MariaDB-shared (this is for RHEL/CentOS). As soon as I had installed that I was able to get the accounting_storage_mysql to build. On Thu, 12 Dec 2019 at 03:54, wrote: > Is that logged somewhere or do I need to capture the output from the make > com

Re: [slurm-users] Need help with controller issues

2019-12-11 Thread Chris Samuel
On 11/12/19 11:31 am, Eli V wrote: Look for libmariadb-client. That's needed for slurmdbd on debian. Looking at the output from building some Slurm 19.05.4 RPMs earlier tonight, this is what I see in the output of configure: [...] checking for mysql_config... /usr/bin/mysql_config MySQL 10.

Re: [slurm-users] Need help with controller issues

2019-12-11 Thread dean.w.schulze
Is that logged somewhere or do I need to capture the output from the make command to a file? -Original Message- From: slurm-users On Behalf Of Kurt H Maier Sent: Wednesday, December 11, 2019 6:32 PM To: Slurm User Community List Subject: Re: [slurm-users] Need help with controller

Re: [slurm-users] Need help with controller issues

2019-12-11 Thread Kurt H Maier
On Wed, Dec 11, 2019 at 04:04:44PM -0700, Dean Schulze wrote: > I tried again with a completely new system (virtual machine). I used the > latest source, I used mysql instead of mariadb, and I installed all the > client and dev libs (below). I still get the same error. It doesn't > build the /us

Re: [slurm-users] Need help with controller issues

2019-12-11 Thread Dean Schulze
I tried again with a completely new system (virtual machine). I used the latest source, I used mysql instead of mariadb, and I installed all the client and dev libs (below). I still get the same error. It doesn't build the /usr/lib/slurm/accounting_storage_mysql.so file. Could the ./configure c

Re: [slurm-users] Need help with controller issues

2019-12-11 Thread Eli V
Look for libmariadb-client. That's needed for slurmdbd on debian. On Wed, Dec 11, 2019 at 11:43 AM Dean Schulze wrote: > > Turns out I've already got libmariadb-dev installed: > > $ dpkg -l | grep maria > ii libmariadb-dev 3.0.3-1build1 >

Re: [slurm-users] Need help with controller issues

2019-12-11 Thread Dean Schulze
Turns out I've already got libmariadb-dev installed: $ dpkg -l | grep maria ii libmariadb-dev 3.0.3-1build1 amd64MariaDB Connector/C, development files ii libmariadb3:amd64 3.0.3-1build1 amd64

Re: [slurm-users] Need help with controller issues

2019-12-11 Thread Dean Schulze
These are the packages I installed prior to building slurm: libmariadb-client-lgpl-dev libmysqlclient-dev mariadb-server This installs mariadb 10.1.43 which is old. On the Ubuntu site (https://packages.ubuntu.com/search?keywords=mariadb) there's a package called libmariadb-dev Maybe this is th

Re: [slurm-users] Need help with controller issues

2019-12-10 Thread William Brown
The latest MariaDB packaging is different, there is a 3rd RPM needed, as well as the client and developer. Away from my desk but the info is on the MariaDB site. William On Wed, 11 Dec 2019, 05:23 Chris Samuel, wrote: > On Tuesday, 10 December 2019 1:57:59 PM PST Dean Schulze wrote: > > > This

Re: [slurm-users] Need help with controller issues

2019-12-10 Thread Chris Samuel
On Tuesday, 10 December 2019 1:57:59 PM PST Dean Schulze wrote: > This bug report from a couple of years ago indicates a source code issue: > > https://bugs.schedmd.com/show_bug.cgi?id=3278 > > This must have been fixed by now, though. > > I built using slurm-19.05.2. Does anyone know if this

Re: [slurm-users] Need help with controller issues

2019-12-10 Thread Dean Schulze
There's a problem with accounting_storage/mysql plugin: $ sudo slurmdbd -D - 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

Re: [slurm-users] Need help with controller issues

2019-12-10 Thread Dean Schulze
$ systemctl status slurmdbd ● slurmdbd.service - Slurm DBD accounting daemon Loaded: loaded (/etc/systemd/system/slurmdbd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2019-12-10 13:33:28 MST; 40min ago Process: 787 ExecStart=/usr/sbin/slurmdbd $SLUR

Re: [slurm-users] Need help with controller issues

2019-12-10 Thread Renfro, Michael
What do you get from systemctl status slurmdbd systemctl status slurmctld I’m assuming at least slurmdbd isn’t running. > On Dec 10, 2019, at 3:05 PM, Dean Schulze wrote: > > External Email Warning > This email originated from outside the university. Please use caution when > opening attachme

[slurm-users] Need help with controller issues

2019-12-10 Thread Dean Schulze
I'm trying to set up my first slurm installation following these instructions: https://github.com/nateGeorge/slurm_gpu_ubuntu I've had to deviate a little bit because I'm using virtual machines that don't have GPUs, so I don't have a gres.conf file and in /etc/slurm/slurm.conf I don't have an ent