Quoting Daniel Letai <d...@letai.org.il>:
Hi,

I've noticed configure checks for json parser availability, however in rhel6 based systems the json-c-devel rpm from epel(6) installs to /usr/include/json while the configure check is for /usr/include/json-c (configure:19424)

Fixed here:
https://github.com/SchedMD/slurm/commit/b95b4e7f70314675f7882f74cc3f49227c14cac1


BTW, when building without packaging (i.e. tar xf slurm-15.08.0.tar.bz2;cd slurm-15.08.0;./configure;make;make check) with netloc-0.5, everything seems ok.
When building with rpmbuild -ta, the make phase errors out:

netloc_to_topology.c: In function 'generate_topology_file':
netloc_to_topology.c:352: error: invalid initializer
netloc_to_topology.c:355: warning: passing argument 2 of 'netloc_get_all_switch_nodes' from incompatible pointer type /usr/include/netloc.h:1262: note: expected 'struct netloc_dt_lookup_table_t **' but argument is of type 'struct netloc_dt_lookup_table_t *' netloc_to_topology.c:372: error: incompatible type for argument 1 of 'netloc_lookup_table_destroy' /usr/include/netloc.h:839: note: expected 'struct netloc_dt_lookup_table_t *' but argument is of type 'struct netloc_dt_lookup_table_t'
netloc_to_topology.c:373: error: incompatible type for argument 1 of 'free'
...

seems like netloc functionality is not built in regular mode, despite being checked for.

None of the software in the "contribs" directory is build by default. The code matches the header file that I work with too (no build errors that you see). That particular module was designed specifically for SGI systems. Perhaps you could directly send me (i.e. not to the list) your netloc.h file?
--
Morris "Moe" Jette
CTO, SchedMD LLC
Commercial Slurm Development and Support
===============================================================
Slurm User Group Meeting, 15-16 September 2015, Washington D.C.
http://slurm.schedmd.com/slurm_ug_agenda.html

Reply via email to