Install ADCME on Windows
The following sections provide instructions on installing ADCME on Windows computers.
Install Julia
Windows users can install ADCME following these instructions. Choose your version of Windows (32-bit or 64-bit).
Detailed instructions to install Julia on Windows
For Windows users, you can press the Windows button or click the Windows icon (usually located in the lower left of your screen) and type julia
. Open the Desktop App Julia
and you will see a Julia prompt.
Install C/C++ Compilers
To use and build custom operators, you need a C/C++ compiler that is compatible with the TensorFlow backend. The prebuilt TensorFlow shipped with ADCME was built using Microsoft Visual Studio 2017 15. Therefore, you need to install this specific version.
- Download and install from here
Note that this is an older version of Visual Studio. It's not the one from 2019 but the previous version from 2017.
- Double click the installer that you just downloaded. You will see the following image:
A free community version is available (Visual Studio Community 2017). Click install and a window will pop up.
- Make sure the following two checkboxes are checked:
- In the Workloads tab, Desktop development with C++ is checked.
- In the Indivisual components tab, MSBuild is checked.
- Click install on the lower right corner. You will see the following window.
- The installation may take some time. Once the installation is finished, you can safely close the installer.
Configure Paths
In order to locate shared libraries and executable files provided by ADCME, you also need to set an extra set of PATH environment variables. Please add the following environment variables to your system path (my user name is kaila
; please replace it with yours!)
C:\Users\kaila\.julia\adcme\Scripts
C:\Users\kaila\.julia\adcme\Library\bin
C:\Users\kaila\.julia\adcme\
Here is how you can add these environment paths:
Install ADCME
Now you can install ADCME via
using Pkg
Pkg.add("ADCME")