Having managed to compile ASReml on my Mac, I updated the operating system (to Big Sur, 10.16) and the ASREML make ceased to work propoerly at the link step; -ldl -c++ -liconv and -lSystem not found. I delete reference to the first 3 but the 4th is not explicitly mentioned in the makefile. It appears Mac of completely reorganised the system libraries, and the 2020 compiler can not handle the new structure. Further, the 2021 ifort compiler is only available within the oneapi system. OneAPI has several components. I first installed the BASE component (1.3 Gb) and then added the HPC toolkit (300Mb) resulting in a new folder /opt/intel/oneapi Then, in a terminal window 1) . opt/intel/oneapi/setvars.sh [Intially I neglected the leading . and it failed to set the PATH] 2) oneapi-cli opens the oneapi Command Line Interface interface The Get started notes say to create a cpp Intrinsics project then at a terminal cd Intrinsics make all arthur@MacBook-Pro Intrinsics % echo $PATH /opt/intel/oneapi/compiler/2021.1.1/mac/bin/intel64:/opt/intel/oneapi/vtune_profiler/2021.1.1/MacOS:/opt/intel/oneapi/dev-utilities/2021.1.1/bin:/opt/intel/oneapi/intelpython/latest/bin:/opt/intel/oneapi/intelpython/latest/condabin:/opt/intel/oneapi/advisor/2021.1.1/MacOS:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/Arthur/bin:/opt/X11/bin arthur@MacBook-Pro Intrinsics % ls Makefile README.md license.txt sample.json src arthur@MacBook-Pro Intrinsics % make all make: *** No rule to make target `all'. Stop. arthur@MacBook-Pro Intrinsics % make icc -O2 -c -o intrin_dot_sample.o src/intrin_dot_sample.cpp In file included from /opt/intel/oneapi/compiler/2021.1.1/mac/bin/intel64/../../compiler/include/omp.h(142), from src/intrin_dot_sample.cpp(33): /Library/Developer/CommandLineTools/usr/bin/../../usr/include/c++/v1/stdlib.h(93): catastrophic error: cannot open source file "stdlib.h" #include_next ^ compilation aborted for src/intrin_dot_sample.cpp (code 4) make: *** [intrin_dot_sample.o] Error 4 arthur@MacBook-Pro Intrinsics % Since that did not work, I attemped to create a simple HelloeWorld fortran test. (the CLI program did not include a fortran option) mkdir HelloWorld cd HelloeWorld mkdir src ... arthur@MacBook-Pro HelloWorld % cd src arthur@MacBook-Pro src % ifort HelloWorld.f90 ld: library not found for -lSystem arthur@MacBook-Pro src % ls HelloWorld.f90 arthur@MacBook-Pro src % cat HelloWorld.f90 program hello print *,'Hello' end I also adapted the Makefile to build it. arthur@MacBook-Pro HelloWorld % vi Makefile arthur@MacBook-Pro HelloWorld % make ifort -O2 -c -o HelloWorld.o src/HelloWorld.f90 ifort -O2 HelloWorld.o -o HelloWorld.exe ld: library not found for -lSystem make: *** [HelloWorld.exe] Error 1 arthur@MacBook-Pro HelloWorld % ls HelloWorld.o Makefile Makefile~ src The ifort compiler is arthur@MacBook-Pro src % ls -l `which ifort` -rwxr-xr-x 1 root wheel 3764096 13 Nov 02:06 /opt/intel/oneapi/compiler/2021.1.1/mac/bin/intel64/ifort arthur@MacBook-Pro src % To see what is installed: arthur@MacBook-Pro src % cd /opt/intel/oneapi arthur@MacBook-Pro oneapi % ls advisor licensing common.sh logs compiler mkl conda_channel modulefiles-setup.sh dal readme-get-started-mac-os-base-kit.html dev-utilities readme-get-started-mac-os-hpc-kit.html dnnl setvars.sh installer support.txt intelpython sys_check.sh ipp tbb ippcp vtune_profiler arthur@MacBook-Pro oneapi % ls compiler 2021.1.1 latest arthur@MacBook-Pro oneapi % ls compiler/latest documentation env licensing mac arthur@MacBook-Pro oneapi % ls compiler/latest/mac bin compiler documentation man pkg_bin arthur@MacBook-Pro oneapi % ls compiler/latest/mac/compiler include lib perf_headers arthur@MacBook-Pro oneapi % ls compiler/latest/mac/bin intel64 arthur@MacBook-Pro oneapi % ls compiler/latest/mac/bin/intel64 codecov icpc.cfg profmerge fortcom ifort proforder fpp ifort.cfg tselect icc libcilkrts.5.dylib xiar icc.cfg mcpcom xild icpc profdcg xilibtool arthur@MacBook-Pro oneapi % I have not used c for 30 years, but tried the following test. arthur@MacBook-Pro src % vi hello.c arthur@MacBook-Pro src % icc hello.c hello.c(1): catastrophic error: cannot open source file "stdio.h" #include ^ compilation aborted for hello.c (code 4) arthur@MacBook-Pro src % cat hello.c #include main() { printf("hello, world\n"); } arthur@MacBook-Pro src % The getting started notes have a troubleshoot section arthur@MacBook-Pro src % cd /opt/intel/oneapi arthur@MacBook-Pro oneapi % ./sys_check.sh :: intelpython -- latest ...None ====================================================================== ERROR: test_smoke (__main__.TestIntelDistribution) (package='cython') ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/intel/oneapi/intelpython/latest/sys_check/sys_check.py", line 80, in test_smoke raise err File "/opt/intel/oneapi/intelpython/latest/sys_check/sys_check.py", line 77, in test_smoke stderr=subprocess.DEVNULL) File "/opt/intel/oneapi/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command 'python "/opt/intel/oneapi/intelpython/latest/pkgs/cython-0.29.21-py37h890dcaf_3/info/test/run_test.py"' returned non-zero exit status 1. ---------------------------------------------------------------------- Ran 4 tests in 115.668s FAILED (errors=1) Failed No Issues Encountered. arthur@MacBook-Pro oneapi % Summary: The OneAPI HPC cpp Intrinsic test failed to run icc cannot find the include files which I thought were system supplied, ifort link fails to find -lSystem