Re: [slurm-users] RPM build error - accounting_storage_mysql.so

2019-11-11 Thread Janne Blomqvist
On 11/11/2019 16.22, William Brown wrote: Fabio Did you ever resolve the problem building accounting_storage_mysql.so? So I think that the problem is that the definition of pkglib_LTLIBRARIES is commented out in the accounting_storage_mysql Makefile, hence nothing to build. Is that

Re: [slurm-users] RPM build error - accounting_storage_mysql.so

2019-11-11 Thread Daniel Letai
On 11/12/19 9:34 AM, Ole Holm Nielsen wrote: On 11/11/19 10:14 PM, Daniel Letai wrote: Why would you need galera-4 as a build require? This is the MariaDB recommendation in

Re: [slurm-users] RPM build error - accounting_storage_mysql.so

2019-11-11 Thread Ole Holm Nielsen
On 11/12/19 8:10 AM, Nguyen Dai Quy wrote: I have the same issue by compiling RPM. Just add "--with mysql" at rpmbuild option and the error gone :-) HTH, That's an interesting observation! Do you know what the "--with mysql" actually does? IMHO, the Slurm .spec file should include all

Re: [slurm-users] RPM build error - accounting_storage_mysql.so

2019-11-11 Thread Ole Holm Nielsen
On 11/11/19 10:14 PM, Daniel Letai wrote: Why would you need galera-4 as a build require? This is the MariaDB recommendation in https://mariadb.com/kb/en/library/yum/, see the section "Installing MariaDB Packages with YUM". I have no clue why this would be needed. /Ole If it's required

Re: [slurm-users] [External] Scheduling GPUS

2019-11-11 Thread Loris Bennett
Hi, I don't think the statement below about --nodes=1 is true. It just means you want one and not more than one node. This can be important multiple cores are requested, but the program is not, say, an MPI program. You can see which cores a running job is using with scontrol show job

Re: [slurm-users] RPM build error - accounting_storage_mysql.so

2019-11-11 Thread Nguyen Dai Quy
On Mon, Nov 11, 2019 at 9:02 PM Ole Holm Nielsen wrote: > Hi, > > Maybe my Slurm Wiki can help you build SLurm on CentOS/RHEL 7? See > https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#build-slurm-rpms > > Note in particular: > > Important: Install the MariaDB (a replacement for MySQL)

Re: [slurm-users] Limiting the number of CPU

2019-11-11 Thread Brian Andrus
You are trying to specifically run on node cn110, so you may want to check that out with sinfo A quick "sinfo -R" can list any down machines and the reasons. Brian Andrus On 11/10/2019 11:23 PM, Sukman wrote: Hi Brian, I see. Thank you for your suggestion. I definitely will try it. Anyway,

Re: [slurm-users] RPM build error - accounting_storage_mysql.so

2019-11-11 Thread Daniel Letai
Why would you need galera-4 as a build require? If it's required by any of the mariadb packages, it'll get pulled automatically. If not, you don't need it on the build system. On 11/11/19 10:56 PM, Ole Holm Nielsen wrote: Hi

Re: [slurm-users] RPM build error - accounting_storage_mysql.so

2019-11-11 Thread Ole Holm Nielsen
Hi William, Interesting experiences with MariaDB 10.4! I tried to collect the instructions from the MariaDB page, but I'm unsure about how to get the galera-4 RPM. Could you kindly review and correct my updated instructions?

Re: [slurm-users] RPM build error - accounting_storage_mysql.so

2019-11-11 Thread Barbara Krašovec
I solved the problem by creating a symlink: ln -s /usr/lib64/libmariadbclient.a /usr/lib64/libmariadb.a Cheers, Barbara > On 11 Nov 2019, at 21:23, William Brown wrote: > > I have in fact found the answer by looking harder. > > The config.log clearly showed that the build of the test MySQL

Re: [slurm-users] RPM build error - accounting_storage_mysql.so

2019-11-11 Thread William Brown
I have in fact found the answer by looking harder. The config.log clearly showed that the build of the test MySQL program failed, which is why it was set to be excluded. It failed to link against '-lmariadb'. It turns out that library is no longer in MariaDB or MariaDB-devel, it is separately

Re: [slurm-users] RPM build error - accounting_storage_mysql.so

2019-11-11 Thread Ole Holm Nielsen
Hi, Maybe my Slurm Wiki can help you build SLurm on CentOS/RHEL 7? See https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#build-slurm-rpms Note in particular: Important: Install the MariaDB (a replacement for MySQL) packages before you build Slurm RPMs (otherwise some libraries will be

Re: [slurm-users] [External] Scheduling GPUS

2019-11-11 Thread Prentice Bisbal
Remove this line: #SBATCH --nodes=1 Slurm assumes you're requesting the whole node. --ntasks=1 should be adequate. On 11/7/19 4:19 PM, Mike Mosley wrote: Greetings all: I'm attempting to  configure the scheduler to schedule our GPU boxes but have run into a bit of a snag. I have a box