Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
This example is about installing and using a two Python package called |
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Step 1 - Search
Pytorch
Go to https://pytorch.org/get-started/locally/ and select options as shown below:
...
Pytorch is special, the correct command should always be gathered from this webpage (not anaconda.org).
Multiqc
Go to anaconda.org and search for multiqc
in the search bar:
...
The “conda install” on the above page gives the installation commands:
...
The conda
part in the red circle needs to be changed to mamba
, and the bioconda
part in the blue box is the channel name of this multiqc
package. Channel is similar to the name of an online folder, that mamba
can find and download the correct package. This is important for the next step.
...
Connect to the VPN
Open a command line interface on Sol by navigating to sol.asu.edu on your browser and
selecting the "Sol Shell Access" option from the "System" menu option. Or by SSHing into
Sol using the commandssh <asurite>@sol.asu.edu
interactive -p htc -c 4 -t 30
module load mamba/latest
Here we combine three things into a single command:
Create an environment
Install Pytorch using the command found in step 1
Install Multiqc using the command found in step 1
Code Block mamba create -n myENV -c conda-forge -c pytorch -c nvidia -c bioconda python=3 multiqc pytorch torchvision torchaudio pytorch-cuda=12.4
And answer Y to the promoted question, if everything looks fine
Wait till the installation finish
The -c
flag in the mamba create
above command (#6) means “channel". The channel name must be correct to install the correct package. In our case, the channel of multiqc
is bioconda
, as found in “Step 1 - Search” section. More information can be found here: Managing Python Modules Through the Mamba Environment Manager
...