I downloaded Julia Pro 1.2.0-1 for Windows and installed it twice using the shared drive option.
One installation folder was
D:\JuliaPro and the other was
In each installation folder I created a sub folder called
So we have
As one can infer from the name I intended one to have MKL (Using
MKL.jl) and the other to use the default OpenBLAS.
I edited the
Juno.bat file in the folder to set the system variables to the folder
Profile in each of the installations. Then I copied
Profile\.juliapro in each installation.
Basically I created a portable Julia Pro installation. Each folder should be independent of the system and keep all configuration files and packages in the respective
Then I started each of them, changed settings and indeed each settings I changed (About ATOM / Juno) was affecting only the installation it was run from. I checked the computer
%APPDATA% and %USERPROFILE%
and they were clean. Which means indeed everything works according to the environment variables I defined inJuno.bat`.
Juno.bat from the MKL installation and installed
MKL.jl. It also build the system image.
I restarted ATOM of the MKL installation and verified t6hat indeed the BLAS vendor is
Intel MKL as described in the
I then went to the non MKL installation, ran
Juno.bat and checked the BLAS vendor as well.
It turned out to be
:mkl as well.
So it raises some questions:
- Home come those 2 independent installations are using the same MKL BLAS library?
- When the
MKL.jlpackage built again the system image, could it be it made both of them use it?
- When user build system image, where does Julia put the System Image file by defualt? What’s the file name? Does the location set by environment variable?
- I set the following environment variables:
%USERPROFILE%. Is there any other variable Julia might use? Is there a way it override the user definitions of those?
- Does Julia / Julia Pro use Registry entries and not only system variables?
I’ll be happy for assistance.
I opened the JuliaPro (Non MKL) and ran
ENV["PATH"]. This is what I got (Among other things):
First, this is not the system
PATH, so on load Juno or Julia are altering the
%PATH% system environment. The question is what triggers adding the MKL package which is on the
JuliaPRoMKL folder to the path when launching Julia with non MKL.