[slurm-users] v18.08.0pre2 - build failed at RHEL7.4 without hwloc-devel
zhangtao102019 at 126.com
zhangtao102019 at 126.com
Fri Aug 17 21:06:24 MDT 2018
Hi,
I tried to install SLURM 18.08.0-0pre2 on a new cluster based on RHEL7.4 (x86_64).
After configuration with command “./configure --prefix=/opt/slurm --with-munge=/opt/munge --with-pmix=/opt/pmix --with-ucx=/opt/openucx”, i failed to make slurm,erro message like this:
======================
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../slurm -I../../.. -DNUMA_VERSION1_COMPATIBILITY -g -O2 -pthread -ggdb3 -Wall -g -O1 -fno-strict-aliasing -MT set_oomadj.lo -MD -MP -MF .deps/set_oomadj.Tpo -c set_oomadj.c -o set_oomadj.o >/dev/null 2>&1
mv -f .deps/set_oomadj.Tpo .deps/set_oomadj.Plo
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../slurm -I../../.. -DNUMA_VERSION1_COMPATIBILITY -g -O2 -pthread -ggdb3 -Wall -g -O1 -fno-strict-aliasing -MT xcpuinfo.lo -MD -MP -MF .deps/xcpuinfo.Tpo -c -o xcpuinfo.lo xcpuinfo.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../slurm -I../../.. -DNUMA_VERSION1_COMPATIBILITY -g -O2 -pthread -ggdb3 -Wall -g -O1 -fno-strict-aliasing -MT xcpuinfo.lo -MD -MP -MF .deps/xcpuinfo.Tpo -c xcpuinfo.c -fPIC -DPIC -o .libs/xcpuinfo.o
xcpuinfo.c:505:12: error: conflicting types for ‘xcpuinfo_hwloc_topo_get’
extern int xcpuinfo_hwloc_topo_get(
^
In file included from xcpuinfo.c:64:0:
xcpuinfo.h:63:12: note: previous declaration of ‘xcpuinfo_hwloc_topo_get’ was here
extern int xcpuinfo_hwloc_topo_get(
^
xcpuinfo.c:729:12: error: conflicting types for ‘xcpuinfo_hwloc_topo_load’
extern int xcpuinfo_hwloc_topo_load(
^
In file included from xcpuinfo.c:64:0:
xcpuinfo.h:47:12: note: previous declaration of ‘xcpuinfo_hwloc_topo_load’ was here
extern int xcpuinfo_hwloc_topo_load(
^
xcpuinfo.c: In function ‘xcpuinfo_init’:
xcpuinfo.c:953:9: error: too few arguments to function ‘xcpuinfo_hwloc_topo_get’
&block_map_size,&block_map,&block_map_inv))
^
xcpuinfo.c:505:12: note: declared here
extern int xcpuinfo_hwloc_topo_get(
^
make[4]: *** [xcpuinfo.lo] Error 1
make[4]: Leaving directory `/g2/sghpc2/zhangtao/sugon_test/forcmb/slurm-18.08.0-0pre2/src/slurmd/common'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/g2/sghpc2/zhangtao/sugon_test/forcmb/slurm-18.08.0-0pre2/src/slurmd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/g2/sghpc2/zhangtao/sugon_test/forcmb/slurm-18.08.0-0pre2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/g2/sghpc2/zhangtao/sugon_test/forcmb/slurm-18.08.0-0pre2'
make: *** [all] Error 2
======================
I found that there are two implementation for function "xcpuinfo_hwloc_topo_get" depend on "HAVE_HWLOC" at xcpuinfo.c, but only one type of declaration at xcpuinfo.h
While i install the hwloc-devel package, "make" operation can be successfull.In version 18, does the hwloc module have to be enabled ?
zhangtao102019 at 126.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180818/614ed7f1/attachment.html>
More information about the slurm-users
mailing list