Discussion:
Disabling automatic optimization
Vsevolod Nikonorov
2014-07-29 08:11:30 UTC
Permalink
Hello,

I am trying to run slurm-14.03.6 on Centos 5.10, and I used the
coufigurator.html file to create a config. When I start slurmctld
manually it suddenly segfaults:

[***@slurm-14-03-head ~]# /slurm/usr/local/sbin/slurmctld -Dvvvv
slurmctld: Resetting MaxJobCnt from 4294967294 to 1 (MaxJobId -
FirstJobId + 1)
Segmentation fault (core dumped)

I assume that this segfault has something to do with parsing my congfig
which may be not perfect, but before debugging I would like to know
whether it is possible to avoid segfaults and to get sane warning/error
messages by disabling automatic optimization (I recall reading something
like that in the list)? If it is, how am I supposed to disable it?

Thanks in advance!
--
Никоноров Всеволод Дмитриевич, ОИТТиС, НИКИЭТ

Vsevolod D. Nikonorov, JSC NIKET
Nathan Harper
2014-07-29 08:38:37 UTC
Permalink
Hi,

Are you building the RPMs? I had the same problem (after building and
installing the RPMs) a few weeks ago, and it was helpfully suggested that
you can add:

%with_cflags CFLAGS='-g -O0'

to your .rpmmacros file, then rebuild the RPMs.

If you aren't building RPMs, then you can set the CFLAGS variable before
./configure
--
*Nathan Harper* // IT Systems Architect

*e: * nathan.harper-0eSKoRi+iP310XsdtD+***@public.gmane.org // *t: * 0117 906 1104 // *m: * 07875 510891 //
*w: * www.cfms.org.uk <http://www.cfms.org.uk%22> // [image: Linkedin grey
icon scaled] <http://uk.linkedin.com/pub/nathan-harper/21/696/b81>
CFMS Services Ltd // Bristol & Bath Science Park // Dirac Crescent // Emersons
Green // Bristol // BS16 7FR

[image: 4.2 CFMS_Artwork_RGB] <http://www.cfms.org.uk>

------------------------------
CFMS Services Ltd is registered in England and Wales No 05742022 - a
subsidiary of CFMS Ltd
CFMS Services Ltd registered office // Victoria House // 51 Victoria Street
// Bristol // BS1 6AD
Post by Vsevolod Nikonorov
Hello,
I am trying to run slurm-14.03.6 on Centos 5.10, and I used the
coufigurator.html file to create a config. When I start slurmctld manually
slurmctld: Resetting MaxJobCnt from 4294967294 to 1 (MaxJobId - FirstJobId
+ 1)
Segmentation fault (core dumped)
I assume that this segfault has something to do with parsing my congfig
which may be not perfect, but before debugging I would like to know whether
it is possible to avoid segfaults and to get sane warning/error messages by
disabling automatic optimization (I recall reading something like that in
the list)? If it is, how am I supposed to disable it?
Thanks in advance!
--
Никоноров Всеволод Дмитриевич, ОИТТиС, НИКИЭТ
Vsevolod D. Nikonorov, JSC NIKET
Vsevolod Nikonorov
2014-07-30 11:31:55 UTC
Permalink
Hi Nathan,

I was not building RPMs, and your advice did help me. I have now further
trouble, but I described it in separate thread.

Thank you!
Hi,
Are you building the RPMs?  I had the same problem (after building
and installing the RPMs) a few weeks ago, and it was helpfully
%with_cflags CFLAGS='-g -O0'
to your .rpmmacros file, then rebuild the RPMs.
If you aren't building RPMs, then you can set the CFLAGS variable
before ./configure
--
NATHAN HARPER // IT Systems Architect
// W: www.cfms.org.uk [1] // [2]
CFMS Services Ltd // Bristol & Bath Science Park // Dirac Crescent //
Emersons Green // Bristol // BS16 7FR
[3]
-------------------------
CFMS Services Ltd is registered in England and Wales No 05742022 - a
subsidiary of CFMS Ltd
CFMS Services Ltd registered office // Victoria House // 51 Victoria
Street // Bristol // BS1 6AD
Post by Vsevolod Nikonorov
Hello,
I am trying to run slurm-14.03.6 on Centos 5.10, and I used the
coufigurator.html file to create a config. When I start slurmctld
slurmctld: Resetting MaxJobCnt from 4294967294 to 1 (MaxJobId -
FirstJobId + 1)
Segmentation fault (core dumped)
I assume that this segfault has something to do with parsing my
congfig which may be not perfect, but before debugging I would like
to know whether it is possible to avoid segfaults and to get sane
warning/error messages by disabling automatic optimization (I recall
reading something like that in the list)? If it is, how am I
supposed to disable it?
Thanks in advance!
--
Никоноров Всеволод Дмитриевич,
ОИТТиС, НИКИЭТ
Vsevolod D. Nikonorov, JSC NIKET
Email secured by Check Point
------
[1] http://www.cfms.org.uk%22
[2] http://uk.linkedin.com/pub/nathan-harper/21/696/b81
[3] http://www.cfms.org.uk
--
Никоноров Всеволод Дмитриевич, ОИТТиС, НИКИЭТ

Vsevolod D. Nikonorov, JSC NIKET
Vsevolod Nikonorov
2014-08-22 06:37:31 UTC
Permalink
Hello again,

if I run a production cluster with automatic optimization disabled, am I
losing some performance?

Thanks in advance!
Hi,
Are you building the RPMs?  I had the same problem (after building
and installing the RPMs) a few weeks ago, and it was helpfully
%with_cflags CFLAGS='-g -O0'
to your .rpmmacros file, then rebuild the RPMs.
If you aren't building RPMs, then you can set the CFLAGS variable
before ./configure
--
NATHAN HARPER // IT Systems Architect
// W: www.cfms.org.uk [1] // [2]
CFMS Services Ltd // Bristol & Bath Science Park // Dirac Crescent //
Emersons Green // Bristol // BS16 7FR
[3]
-------------------------
CFMS Services Ltd is registered in England and Wales No 05742022 - a
subsidiary of CFMS Ltd
CFMS Services Ltd registered office // Victoria House // 51 Victoria
Street // Bristol // BS1 6AD
Post by Vsevolod Nikonorov
Hello,
I am trying to run slurm-14.03.6 on Centos 5.10, and I used the
coufigurator.html file to create a config. When I start slurmctld
slurmctld: Resetting MaxJobCnt from 4294967294 to 1 (MaxJobId -
FirstJobId + 1)
Segmentation fault (core dumped)
I assume that this segfault has something to do with parsing my
congfig which may be not perfect, but before debugging I would like
to know whether it is possible to avoid segfaults and to get sane
warning/error messages by disabling automatic optimization (I recall
reading something like that in the list)? If it is, how am I
supposed to disable it?
Thanks in advance!
--
Никоноров Всеволод Дмитриевич,
ОИТТиС, НИКИЭТ
Vsevolod D. Nikonorov, JSC NIKET
Email secured by Check Point
------
[1] http://www.cfms.org.uk%22
[2] http://uk.linkedin.com/pub/nathan-harper/21/696/b81
[3] http://www.cfms.org.uk
--
Никоноров Всеволод Дмитриевич, ОИТТиС, НИКИЭТ

Vsevolod D. Nikonorov, JSC NIKET
Continue reading on narkive:
Loading...