On Sat, 31 Jul 2021 at 21:46, Borchert, Christopher B ERDC-RDE-ITL-MS CIV via Boost-users <boost-users@lists.boost.org> wrote:
I'm trying to build Boost 1.76 from source on SLES 15 using Intel 19.1.3.304 (and GCC 10.2.0 underneath). Simply, how to I get b2 not to use icpx? With icpc it builds but icpx gives

./b2 toolset=intel-linux
icpx: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory

I've tried everything and resorted to altering $PATH to remove icpx, which is how I know that's the problem.

If you did want to use icpx, the problem is that it cannot find libimf.so. Set the LD_LIBRARY_PATH environment variable accordingly.