Skip to content
Snippets Groups Projects
Commit a68d644c authored by Danny Auble's avatar Danny Auble
Browse files

Change test to link against libslurm instead of libslurmfull

parent abd11b6f
No related branches found
No related tags found
No related merge requests found
......@@ -59,14 +59,8 @@ make_bash_script $file_in "
"
send_user "slurm_dir is $slurm_dir\n"
if [file exists ${slurm_dir}/lib64/slurm/libslurmfull.so] {
send_user "$bin_cc ${test_prog}.c -g -pthread -o ${test_prog} -I${slurm_dir}/include -Wl,-rpath=${slurm_dir}/lib64/slurm -L${slurm_dir}/lib64/slurm -lslurmfull\n"
exec $bin_cc ${test_prog}.c -g -pthread -o ${test_prog} -I${slurm_dir}/include -Wl,-rpath=${slurm_dir}/lib64/slurm -L${slurm_dir}/lib64/slurm -lslurmfull
} else {
send_user "$bin_cc ${test_prog}.c -g -pthread -o ${test_prog} -I${slurm_dir}/include -Wl,-rpath=${slurm_dir}/lib/slurm -L${slurm_dir}/lib/slurm -lslurmfull\n"
exec $bin_cc ${test_prog}.c -g -pthread -o ${test_prog} -I${slurm_dir}/include -Wl,-rpath=${slurm_dir}/lib/slurm -L${slurm_dir}/lib/slurm -lslurmfull
}
exec $bin_chmod 700 $test_prog
compile_against_libslurm $test_prog 0 0
#
# Spawn program via sbatch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment