I am new to this so please forgive my naive approach.
I have been trying to build Julia using the intel MKL in addition to the intel c++ and fortran compilers on OS X 10.12.5. However, I have been running into a bunch of errors, which I suspect is a result of me digging myself into a deeper hole rather than solving the underlying problem(s).
Since I am new, I did a sanity check and built Julia from the most recent stable source, which appears to have worked fine (I can launch julia and use it to confirm that 1+1 indeed equals 2).
To then build with the intel math library and compilers, in the command line I entered:
source /opt/intel/mkl/bin/mklvars.sh intel64 ilp64
Then I made a Make.user file containing the following:
USEICC = 1
USEIFC = 1
USE_INTEL_MKL = 1
USE_INTEL_LIBM = 1
When I enter the
make command I immediately get the error:
julia/Make.inc:431: *** USE_LIBCPP only supported with clang. Try setting USE_LIBCPP=0. Stop.
However, adding in
USE_LIBCPP=0 into the Make.user file does not resolve this error.
In an attempt to get around this problem, I added in the line
into my Make.user file.
While this indeed gets the building to start moving, I see a very large number of warning messages while building CXX objects where the following warning numbers appear to be repeated over an over again:
warning #1292: unknown attribute "returns_nonnull"
warning #2026: Effective C++ Item 14 Make sure base classes FoldingSetImpl have virtual destructors
and eventually it terminates on the following error:
configure: error: compiler does not halt on function prototype mismatch.
make: *** [scratch/curl-7.53.1/build-configured] Error 1
make: *** [julia-deps] Error 2
If anyone can provide some advice on how to get around this problem, I would greatly appreciate it!