1. Installing Anaconda3
- Download Anaconda3.
$ wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
- Run the installer (the 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 the 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 the xf_blas L1 Primitive Testing Infrastructure
Run 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