MCP1 / R-BLAS-LAPACK

Install Intel MKL or AMD AOCL fast BLAS/LAPACK libraries to R in Windows
HomePage
1 stars 0 forks source link

Not able to add LIB dir to PATH #1

Open socratesng opened 1 month ago

socratesng commented 1 month ago

I'm running the script on a Win11 laptop with Ryzen 9 5900HX CPU. The script can run successfully with a warning "The data being saved is truncated to 1024 characters". However, the LIB dir is not added to the PATH variable in the system environment, although it can be added manually and R works without any problem.

MCP1 commented 1 month ago

Thanks for the feedback. The batch file uses Windows setx.exe utility to write the PATH environment variable, but this tool is limited to 1024 characters, so it ends up truncating your PATH to that size. As I cannot see a trivial solution for this, I will add at least a warning about it when I have some time.