Location of MKL DLLs may vary depending on your MKL version.

I highly recommend, as also suggested in the PardisoMKL installation guide, 
to make the first tests by running the demos using MKL through a "Intel 
oneAPI command prompt for Intel 64 for Visual Studio 2022".
You should find it among the installed software,
This command prompt already sets all the variables for you.

If this works I would still recommend to always start both your Visual 
Studio, your CMake etc, from such command prompt to avoid having to pollute 
your PATH envvar with hardcoded MKL paths.

Dario

Il giorno mercoledì 26 marzo 2025 alle 17:05:03 UTC+1 [email protected] ha 
scritto:

> Dear Dario,
> Thanks for your prompt reply. I am facing a new issue now. It cannot find 
> the mkl dlls even after adding 
> C:\Program Files (x86)\Intel\oneAPI\mkl\2023.0.0\lib\cmake\mkl; to the 
> PATH.
>  I however think the issue is because I have not added the variables given 
> in the Pardiso MKL module .
>  *For Windows:*
> <install_folder>/Intel/oneAPI/mkl/latest/redist/intel64
> <install_folder>/Intel/oneAPI/compiler/latest/windows/
> redist/intel64_win/compiler 
> the reason being I cannot find those folders especially the redist. Thanks 
> for the help.
>
> Best,
> Utk 
> On Wednesday, March 26, 2025 at 4:12:27 PM UTC+1 [email protected] 
> wrote:
>
>> Hi Utk,
>> we recently changed how DLLs are handled in Chrono. We copy the DLLs only 
>> for the INSTALL tree not for the BUILD anymore.
>>
>> In the page you referred there is a small section telling that:
>>
>>
>>    - Since many of the 3rd-party dependency packages create and install 
>>    shared libraries, the following steps may be required:
>>       - on Linux, run ldconfig (you will likely need root permissions) 
>>       to cache the necessary link to the newly created shared libraries or 
>> set 
>>       the LD_LIBRARY_PATH environment variable
>>       - on Windows, add to the PATH environment variable the directories 
>>       containing the package DLLs (otherwise, these DLLs have to be manually 
>>       copied next to the binaries so that they can be found at run-time)
>>    
>> This means that you need to add the Irrlicht DLL folder to PATH if you 
>> are on Windows.
>>
>> However, since you refer to Irrlicht you should have checked the 
>> dedicated Chrono::Irrlicht install guide... but you wouldn't have find 
>> anything about this. We should definitely remind the user about it
>>
>> Dario
>>
>>
>> Il giorno mercoledì 26 marzo 2025 alle 16:04:28 UTC+1 [email protected] 
>> ha scritto:
>>
>>> Hello,
>>> Trying to build chrono using the instructions on this page. 
>>> <https://api.projectchrono.org/tutorial_install_chrono.html> for a 
>>> windows 11 machine. But after the build is complete the demos won't work 
>>> with a error message irrlicht.dll was not found, even though the demos 
>>> folder has the chrono.irrlicht.dll file in it. Please help. Thank you.
>>>
>>> Best, 
>>> Utk
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/7c1e2a6c-26df-4528-b095-f2e7d2bfba17n%40googlegroups.com.

Reply via email to