natefoo / slurm-drmaa

DRMAA for Slurm: Implementation of the DRMAA C bindings for Slurm
GNU General Public License v3.0
48 stars 22 forks source link

Slurm DRMAA - Unable to generate targets #54

Closed gh-kgangineni closed 3 years ago

gh-kgangineni commented 3 years ago

I followed the instructions given on github page. I am using slurm version 20.11.7 on AWS parallel cluster.

  1. export SLURM_INCLUDE_PATH=/opt/slurm/include/slurm export SLURM_LIBRARY_PATH=/opt/slurm/lib

  2. export LD_LIBRARY_PATH=/opt/slurm/lib

3 ./configure && make

Error I get is as following error

[ec2-user@ip-XX-XX-XX-XX slurm-drmaa-1.1.2]$ ./configure && make checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /bin/ld checking if the linker (/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B checking the name lister (/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking whether gcc accepts -Wno-missing-field-initializers... yes checking whether gcc accepts -Wno-format-zero-length... yes checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes configure: checking for SLURM checking for SLURM compile flags... -I/opt/slurm/include checking for SLURM library dir... /opt/slurm/lib checking for slurmdb_users_get in -lslurm... yes Using slurm libraries -lslurm checking for usable SLURM libraries/headers... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for asprintf... yes checking for fstat... yes checking for getcwd... yes checking for gettimeofday... yes checking for localtime_r... yes checking for memset... yes checking for mkstemp... yes checking for setenv... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strlcpy... no checking for strndup... yes checking for strstr... yes checking for strtol... yes checking for vasprintf... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating test/Makefile config.status: creating slurm_drmaa/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in drmaa_utils (/home/ec2-user/slurm-drmaa-1.1.2/drmaa_utils) configure: WARNING: no configuration information is in drmaa_utils

Run 'make' now. make all-recursive make[1]: Entering directory /home/ec2-user/slurm-drmaa-1.1.2' Making all in drmaa_utils make[2]: Entering directory/home/ec2-user/slurm-drmaa-1.1.2/drmaa_utils' make[2]: No rule to make target all'. Stop. make[2]: Leaving directory/home/ec2-user/slurm-drmaa-1.1.2/drmaa_utils' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/home/ec2-user/slurm-drmaa-1.1.2' make: *** [all] Error 2

gh-kgangineni commented 3 years ago

Ignore this please