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
I am trying to build slurm-drmaa on our HPC cluster. Slurm is installed and I specify the location of the libraries with the --with-slurm-lib configure option:
configure: checking for SLURM
checking for SLURM compile flags... -I/cluster/apps/slurm/include
checking for SLURM library dir... /cluster/apps/slurm/lib
checking for usable SLURM libraries/headers... *** The SLURM test program failed to link or run. See the file config.log
*** for the exact error that occured.
no
configure: error:
SLURM libraries/headers not found;
add --with-slurm-inc and --with-slurm-lib with appropriate locations.
[sfux@eu-c7-101-01 slurm-drmaa]$
when checking the config.log file, it states that the library libslurm.so.38 could not be found:
configure:13448: checking for SLURM
configure:13451: checking for SLURM compile flags
configure:13467: result: -I/cluster/apps/slurm/include
configure:13470: checking for SLURM library dir
configure:13485: result: /cluster/apps/slurm/lib
configure:13502: checking for usable SLURM libraries/headers
configure:13524: /usr/bin/gcc -std=gnu11 -o conftest -pedantic -std=c99 -g -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -DNDEBUG -D_GNU_SOURCE -I/cluster/apps/slurm/include -L/cluster/apps/slurm/lib conftest.c -pthread -lslurm >&5
configure:13524: $? = 0
configure:13524: ./conftest
./conftest: error while loading shared libraries: libslurm.so.38: cannot open shared object file: No such file or directory
This does not make sense as the directory specified with -L in the link line exists and contains libslurm.so.38:
[sfux@eu-c7-101-01 slurm-drmaa]$ ls -ltr /cluster/apps/slurm/lib
total 68712
-rwxr-xr-x 1 root root 8144760 Nov 29 06:00 libslurm.so.38.0.0
lrwxrwxrwx 1 root root 18 Nov 29 06:00 libslurm.so.38 -> libslurm.so.38.0.0
lrwxrwxrwx 1 root root 18 Nov 29 06:00 libslurm.so -> libslurm.so.38.0.0
-rwxr-xr-x 1 root root 1006 Nov 29 06:00 libslurm.la
-rw-r--r-- 1 root root 60558126 Nov 29 06:00 libslurm.a
drwxr-xr-x 3 root root 28672 Nov 29 06:00 slurm
-rwxr-xr-x 1 root root 224408 Nov 29 06:00 libpmi.so.0.0.0
lrwxrwxrwx 1 root root 15 Nov 29 06:00 libpmi.so.0 -> libpmi.so.0.0.0
lrwxrwxrwx 1 root root 15 Nov 29 06:00 libpmi.so -> libpmi.so.0.0.0
-rwxr-xr-x 1 root root 1045 Nov 29 06:00 libpmi.la
-rw-r--r-- 1 root root 402072 Nov 29 06:00 libpmi.a
-rwxr-xr-x 1 root root 206064 Nov 29 06:00 libpmi2.so.0.0.0
lrwxrwxrwx 1 root root 16 Nov 29 06:00 libpmi2.so.0 -> libpmi2.so.0.0.0
lrwxrwxrwx 1 root root 16 Nov 29 06:00 libpmi2.so -> libpmi2.so.0.0.0
-rwxr-xr-x 1 root root 990 Nov 29 06:00 libpmi2.la
-rw-r--r-- 1 root root 474432 Nov 29 06:00 libpmi2.a
[sfux@eu-c7-101-01 slurm-drmaa]$
Any idea why this fails? If you need any additional information, then I am happy to provide it.
Best regards
Sam
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to build slurm-drmaa on our HPC cluster. Slurm is installed and I specify the location of the libraries with the --with-slurm-lib configure option:
and still the configure script fails:
when checking the config.log file, it states that the library libslurm.so.38 could not be found:
This does not make sense as the directory specified with -L in the link line exists and contains libslurm.so.38:
Any idea why this fails? If you need any additional information, then I am happy to provide it.
Best regards
Sam
The text was updated successfully, but these errors were encountered: