This is the command I've used to build slurm on centos 5.8: rpmbuild -tb --with mysql --with blcr -D 'with_cflags CFLAGS="-O0 -g3"' slurm-14.03.6.tar.bz2
In case you are compiling from source without rpms you can add the following to the configure or make command: CFLAGS="-O0 -g3"' Dennis. On May 24, 2015 03:33, "Zentz, Scott C." <[email protected]> wrote: > Hey Dennis, > > > > I just built slurm from the source. Should I rebuild the > source and add –D ‘with_cflags CFLAGS=”-O0 –g3” at the end? > > > > Thanks! > > -scz > > > > *From:* Dennis Zheleznyak [mailto:[email protected]] > *Sent:* Saturday, May 23, 2015 2:06 AM > *To:* slurm-dev > *Subject:* [slurm-dev] Re: squeue produces segmentation fault. > > > > Have you built slurm rpms ? If so try to add: > > -D 'with_cflags CFLAGS="-O0 -g3"' > > To the rpmbuild command > > On May 22, 2015 22:29, "Zentz, Scott C." <[email protected]> wrote: > > This was installed on SLES 11.3 > > > > *From:* Dennis Zheleznyak [mailto:[email protected]] > *Sent:* Friday, May 22, 2015 3:09 PM > *To:* slurm-dev > *Subject:* [slurm-dev] Re: squeue produces segmentation fault. > > > > Did you install slurm on EL 5 ? > > On May 22, 2015 6:28 PM, "Zentz, Scott C." <[email protected]> wrote: > > Hello Everyone! > > > > We are running slurm-14.11.2 and we’re having an issue > with squeue producing a segmentation fault when executed. Here is an > example: > > > > zentz@test-cluster(~)% squeue > > JOBID PARTITION NAME USER ST TIME NODES > NODELIST(REASON) > > Segmentation fault > > zentz@test-cluster(~)% > > > > In my logs I see the following entry: > > > > May 22 11:18:44 test-cluster kernel: [3171360.987012] squeue[16572] > general protection ip:42c6c1 sp:7ffc69c570f8 error:0 in > squeue[400000+148000] > > > > Any idea what is causing this? Please let me know if there is any > additional information required to diagnose this issue. > > > > Thanks! > > -scz >
