...
Using Conda Environments: create a Conda environment on the login node
No Format |
---|
# from behind VPN if off-campus or on wireless
ssh snumber@gc-prd-hpclogin1.rcs.griffith.edu.au
source /usr/local/bin/s3proxy.sh #To gain internet access on the login node
module load anaconda3/2021.11
conda create --name snumber-tf-cpu ipykernel tensorflow pandas matplotlib
(e.g: conda create --name s123456-tf-cpu ipykernel tensorflow pandas matplotlib)
exit |
...
If additional packages are needed after this install, you may log into the login node and do the following:
No Format |
---|
# from behind VPN if off-campus or on wireless
ssh snumber@gc-prd-hpclogin1.rcs.griffith.edu.au
module load anaconda3/2021.11
source activate <you environment> #e.g source activate s123456-tf-cpu
conda install <another-package-1> <another-package-2>
#To see the packages in your Conda environment, run this command
conda list
conda deactivate
exit
For some packages you will need to add the conda-forge channel or even perform the installation using pip as the last step. |
...
The procedure above will only be useful if you only need the base Conda environment which includes just less than three hundred packages. If you need custom packages then you should create a new Conda environment and include jupyter in addition to the other packages that you need. The necessary modifications are shown below:
No Format |
---|
# from behind VPN if off-campus or on wireless
ssh snumber@gc-prd-hpclogin1.rcs.griffith.edu.au
ssh snumber@@gc-prd-hpclogin1.rcs.griffith.edu.au
module load anaconda3/2020.11
source /usr/local/bin/s3proxy.sh
conda create --name myenv jupyter <package-2> <package-3>
source activate myenv
#To see the packages in your Conda environment, run this command
conda list
conda deactivate
exit
|
Using Widgets
No Format |
---|
# from behind VPN if off-campus or on wireless
ssh snumber@gc-prd-hpclogin1.rcs.griffith.edu.au
source /usr/local/bin/s3proxy.sh #To gain internet access on the login node
module load anaconda3/2021.11
conda create --name widg-env --channel conda-forge matplotlib jupyterlab ipywidgets ipympl
source activate widg-env
#To see the packages in your Conda environment, run this command
conda list
conda deactivate
exit |
...