SCons is unable to find a shared library (libcloog-isl.so.4).
The build fails immediately with the following error:
/share/apps/NYUAD3/gcc/gcc/4.9.3/el7/libexec/gcc/x86_64-unknown-linux-gnu/4.9.3/cc1plus: error while loading shared libraries: libcloog-isl.so.4: cannot open shared object file: No such file or directory
I confirm that libcloog-isl.so.4 does exist:
$ which libcloog-isl.so.4
building with the log=environment option shows that /share/apps/NYUAD3/gcc/cloog/0.18.4/el7/lib is the first thing listed in the LIBPATH variable:
external/scons-local/scons.py log=environment bin mode=release extras=mpi -j1
- LIBPATH = ['/share/apps/NYUAD3/gcc/cloog/0.18.4/el7/lib', '/share/apps/NYUAD/openmpi/gcc_4.9.3/1.10.2/lib',
How is it that SCons cannot find this library?