1. Installing Anaconda3
- Download Anaconda3
$ wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
- Run the installer (Installer requires bzip, install it if you do not have it).
$ bash ./Anaconda3-2019.03-Linux-x86_64.sh
Choose “Yes” for the question “Do you wish the installer to initialize Anaconda3 by running conda init?”. More information about Anaconda can be found in Anaconda Documentation.
- Add Anaconda3 to PATH, for example:
$ export PATH=/home/<user>/anaconda3/bin:$PATH $ . /home/<user>/anaconda3/etc/profile.d/conda.sh
2. Setting up the xf_blas environment to include all conda packages used by xf_blas L1 primitive testing infrastructure.
Run the following command under the xf_blas/
directory.
$ conda config --add channels anaconda $ conda env create -f environment.yml $ conda activate xf_blas $ conda install --file requirements.txt
3. Deactivate the xf_blas environment after testing
Note
Do not complete this step if you intend to run the L1 primitives’ testing process.
You only take it after you have finished all testing.
$ conda deactivate