Discussion:
[torqueusers] torque 5.1.3 not compiling on CentOS 6.8
Eva Hocks
2017-01-18 19:28:52 UTC
Permalink
trying to compile torque 5.1.3 on Centos 6 proves troublesome:


g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I../../../src/include `xml2-config --cflags` -DPBS_MOM -DDEMUX=\"/opt/torque/sbin/pbs_demux\" -g -D_LARGEFILE64_SOURCE -I/usr/include/libxml2 -MT cpuset.o -MD -MP -MF .deps/cpuset.Tpo -c -o cpuset.o cpuset.c
cpuset.c: In function 'int create_cpuset(const char*, hwloc_bitmap_t, hwloc_bitmap_t, mode_t)':
cpuset.c:403:68: error: 'hwloc_bitmap_list_snprintf' was not declared in this scope
hwloc_bitmap_list_snprintf(cpuset_buf, sizeof(cpuset_buf), cpus);

more such errors follow for mems, cpuset_buf

cpuset.c: In function 'int init_torque_cpuset()':
cpuset.c:1098:110: error: 'hwloc_bitmap_list_snprintf' was not declared in this scope
hwloc_bitmap_list_snprintf(log_buffer + strlen(log_buffer), sizeof(log_buffer) - strlen(log_buffer), cpus);


gcc is 4.8.2-8, hwloc 1.8-3.


Any suggestions how to fix it? This is for CentOS 6
Thanks
Eva

Loading...