Hi Brian,

On Fri, Sep 12, 2014 at 9:58 AM, Brian B <[email protected]> wrote:
> I am trying to setup my slurm setup to use MySQL. I installed via 
> pre-compiled RPMs but I am having trouble actually loading the plugin as it 
> isn’t being installed from he RPMs I currently have. I see documentation on 
> how to include MySQL support when doing a source compile but not with making 
> RPMs. Thank you for your help.

I think that as long as the MySQL headers are installed on the node
you're compiling Slurm on, the configure script should pick them up
automatically.

# yum install mysql-devel
# rpmbuild -ta slurm-14.03.7.tar.bz2
[...]
Wrote: /root/rpmbuild/RPMS/x86_64/slurm-sql-14.03.7-1.el6.x86_64.rpm
[...]
# rpm -qlp /root/rpmbuild/RPMS/x86_64/slurm-sql-14.03.7-1.el6.x86_64.rpm
/usr/lib64/slurm
/usr/lib64/slurm/accounting_storage_mysql.so
/usr/lib64/slurm/jobcomp_mysql.so

Cheers,
-- 
Kilian

Reply via email to