To build the binary, follow these steps:
Specify the location of Intel® oneAPI Math Kernel Library (oneMKL) to be used (MKLROOT) .
Set up your MPI environment.
Run the following commands:
$> SET MKL_DIRS=%MKLROOT%\lib $> SET MKL_LIBS=%MKL_DIRS%\mkl_intel_lp64.lib %MKL_DIRS%\mkl_sequential.lib %MKL_DIRS%\mkl_core.lib $> mpicc -I%MKLROOT%\include /Fexhpl HPL_main.c %MKLROOT%\share\mkl\interfaces\mklmpi\mklmpi-impl.c libhpl_intel64.lib %MKL_LIBS%