Ansys Learning Forum Forums Installation and Licensing Ansys Products Chemkin user subroutine – compiling issues Reply To: Chemkin user subroutine – compiling issues

jcooper
Ansys Employee

You will probably need an active support subscription with Intel to download previous versions. The advice I got from development was to try linking up to the MKL redistributable within the  Chemkin installation.  You can do this using the following steps

Note that we haven't tried this in-house, and it is not something that we would say we support...
 
(1) In the Chemkin installation folder (for example, C:\Program Files\ANSYS Inc\v232\reaction\chemkinpro.win64\bin) locate file named: run_chemkinpro_env_setup_part2.bat
(2) In this file, see line (~ # 33) as: set PATH=%CHEMKIN_BIN%;%TP_DIR%\IntelCompiler\2019.5.281\winx64;%TP_DIR%\IntelMKL\2021.3.0\winx64;%TP_DIR%\zlib\1.2.13\winx64;%PATH%
 
Notice the reference to MKL as %TP_DIR%\IntelMKL\2021.3.0\winx64   This is coming from the 'third-party' directory that we provide. (This TP_DIR is set at line ~ #26.) The location of MKL for Chemkin v241 would therefore ultimately resolve to C:\Program Files\ANSYS Inc\v241\tp\IntelMKL\2021.3.0\winx64 
 
(3) Instead of the above, when using the oneAPI compiler you can try: C:\Program Files (x86)\Intel\oneAPI\mkl\2023.1.0\redist\intel64
 
Save a copy of the _part2.bat file first so that you can revert back to it. Then, edit it and replace the %TP_DIR%\IntelMKL\2021.3.0\winx64 with the new MKL location.
 
(4) Alternatively, you can just copy and paste all the files from the oneAPI mkl folder into %TP_DIR%\IntelMKL\2021.3.0\winx64

Â