I'm trying to compile the slurm-spank-plugin. There is no configure script and a 'make' produced the errors below. I copied the <installdir>/include/slurm header files into the upper level directory and that didn't make a difference.
slurm-spank-plugins-0.13]# make cc -Wall -ggdb -o renice.o -fPIC -c renice.c renice.c:32:25: error: slurm/spank.h: No such file or directory renice.c:37: error: expected ‘)’ before numeric constant renice.c:53: error: expected ‘)’ before ‘sp’ renice.c:58: error: array type has incomplete element type renice.c:61: error: ‘spank_opt_cb_f’ undeclared here (not in a function) renice.c:61: error: expected ‘}’ before ‘_renice_opt_process’ renice.c:63: error: ‘SPANK_OPTIONS_TABLE_END’ undeclared here (not in a function) renice.c:70: error: expected ‘)’ before ‘sp’ renice.c:98: error: expected ‘)’ before ‘sp’ renice.c: In function ‘_renice_opt_process’: renice.c:134: warning: implicit declaration of function ‘slurm_error’ renice.c:143: error: ‘min_prio’ undeclared (first use in this function) renice.c:143: error: (Each undeclared identifier is reported only once renice.c:143: error: for each function it appears in.) renice.c: At top level: renice.c:164: error: expected ‘)’ before ‘sp’ make: *** [renice.o] Error 1 -- Thank you, ------------------------------------------------------- Mark T. Weil + CEE Team 505-284-5217 + https://computing.sandia.gov/CEE
