You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems it is not possible anymore to compile use-env.so with slurm 22.05.
(baobab)-[root@gpu010 slurm-spank-plugins] (master)$ make
cc -Wall -ggdb -o renice.o -fPIC -c renice.c
renice.c: In function ‘slurm_spank_task_post_fork’:
renice.c:121:5: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘pid_t’ [-Wformat=]
slurm_verbose ("re-nicing task%d pid %ld to %d\n", taskid, pid, prio);
^
cc -shared -o renice.so renice.o
cc -Wall -ggdb -o system-safe.o -fPIC -c system-safe.c
cc -shared -o system-safe.so system-safe.o
cc -Wall -ggdb -o iotrace.o -fPIC -c iotrace.c
cc -shared -o iotrace.so iotrace.o
cc -Wall -ggdb -o tmpdir.o -fPIC -c tmpdir.c
tmpdir.c: In function ‘slurm_spank_local_user_init’:
tmpdir.c:60:9: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=]
slurm_error ("TMPDIR = \"%s\" too large. Aborting");
^
cc -shared -o tmpdir.so tmpdir.o
cc -Wall -ggdb -o auto-affinity.o -fPIC -c auto-affinity.c
In file included from auto-affinity.c:39:0:
lib/list.h:56:23: error: conflicting types for ‘List’
typedef struct list * List;
^
In file included from auto-affinity.c:36:0:
/usr/include/slurm/slurm.h:1329:24: note: previous declaration of ‘List’ was here
typedef struct xlist * List;
^
make: *** [auto-affinity.o] Error 1
rm iotrace.o tmpdir.o renice.o system-safe.o
Gcc is from CentOS7.9
(baobab)-[root@gpu010 slurm-spank-plugins] (master)$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The text was updated successfully, but these errors were encountered:
Hello,
it seems it is not possible anymore to compile
use-env.so
with slurm 22.05.Gcc is from CentOS7.9
The text was updated successfully, but these errors were encountered: