[Task] Install ADDIE to a local conda environment
-
Install
condalocally on analysis cluster.The installation instruction can be found here, https://conda.io/projects/conda/en/latest/user-guide/install/linux.html. We can choose to install either
anacondaorminiconda-minicondais recommended here since it is light weighted. -
ADDIE github page is here, https://github.com/neutrons/addie, on which we can find detailed installation instructions. Follow the instruction to install ADDIE locally.
-
Once ADDIE is installed locally into a specific conda environment, we can then activate the corresponding conda environment and execute
which addieto find out whereaddieis actually installed. In my case, my conda environment isaddie_env_3andwhich addiegives me,/SNS/users/y8z/miniconda/envs/addie_env_3/bin/addie -
Locate ADDIE source codes.
Starting from the result of
which addiefrom previous step, we want to get rid of '/bin/addie' from the tail of the output and append/lib/python3.6/site-packages/addieto the end which will give us the full path to where ADDIE source codes are located. In my case, the full path will be,/SNS/users/y8z/miniconda/envs/addie_env_3/lib/python3.6/site-packages/addie -
Once we locate where ADDIE codes are stored in our local conda environment, we can then start to play with the source codes. Anytime we change the source code, we can then execute
addie(suppose the corresponding conda environment is active - in my case, my conda environment name isaddie_env_3, I need to executeconda activate addie_env_3) to start the program and inspect the effect of our change immediately.