I'm using Marc 2020 and have been trying to implement user subroutines, for which I've installed Microsoft Visual Studio 2017 and Intel Fortran Compiler via Intel's oneAPI toolkits. However, I haven't been able to properly run the program with subroutines (have been trying some of the demo examples), the latest issue being:
LINK : fatal error LNK1181: cannot open input file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\bin\..\mkl\lib\intel64\mkl_intel_ilp64.lib'
Environment variables have been properly set using setvars.bat from oneAPI. However, I see that Intel paths set in Marc's include_win64.bat are wrong, but can't edit them.
I don't know if this will still work for the revision of the software you are using. I was having a similar experience with Marc 2022.1.
However, I was able to get the Fortran Subroutines running following these instructions precisely:
Install Marc 2022.1
Install Microsoft Visual Studio 2019 - Must be installed prior to Intel oneAPI, also must include Desktop development with C++ for Intel oneAPI Fortran to work
Install Intel oneAPI Base Kit - Must include Intel oneAPI Math kernel Library (MKL)
Install Intel oneAPI HPC Kit - Must include MPI Libraries and Fortran Compiler for the install
I don't know if this will still work for the revision of the software you are using. I was having a similar experience with Marc 2022.1.
However, I was able to get the Fortran Subroutines running following these instructions precisely:
Install Marc 2022.1
Install Microsoft Visual Studio 2019 - Must be installed prior to Intel oneAPI, also must include Desktop development with C++ for Intel oneAPI Fortran to work
Install Intel oneAPI Base Kit - Must include Intel oneAPI Math kernel Library (MKL)
Install Intel oneAPI HPC Kit - Must include MPI Libraries and Fortran Compiler for the install