Overview
This is mostly for anyone who didn't attend Monday's class for whatever reason. While the setup tutorial is full of useful information, this turns that tutorial into a black box and accomplishes the requirements needed for other tutorials to work. It is highly recommended that you at least read through the entire setup tutorial when you have time.
Objectives
- Verify course bashrc file is active
- Verify conda is installed
Logging in with ssh
If you need help logging into stampede2 the powershell and terminal tutorials are available if you need help remembering how to do this.
.bashrc
After logging in, You should see the following prompt:
...
Warning |
---|
title | ONLY if you see something else should you use the commands in this section |
---|
|
Code Block |
---|
language | bash |
---|
title | Use mv to change your .profile file to a backup copy |
---|
| cdh
mv .profile profile_pre_GVA_backup
mv .bashrc bashrc_pre_GVA_backup
cp /corral-repl/utexas/BioITeam/gva_course/GVA.bashrc .bashrc
cp /corral-repl/utexas/BioITeam/gva_course/GVA.profile .profile
chmod 700 .bashrc
chmod 700 .profile
logout
|
after logging back in with ssh you should see the following: If not, get my attention. |
conda
Code Block |
---|
language | bash |
---|
title | Activate a conda environment |
---|
|
conda activate base |
...
Warning |
---|
title | ONLY if you see something different should you use the commands in this section |
---|
|
Code Block |
---|
language | bash |
---|
title | Using the mkdir command to create a folder named 'src' inside of your $WORK directory |
---|
collapse | true |
---|
| cd $WORK
mkdir src
cd src
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh |
Following the installation prompts you will need to: - hit enter to page through the license agreement
- enter 'yes' to agree to said license agreement
- enter to confirm the default installation location
enter 'yes' to initialize Miniconda3 by running conda init?
Code Block |
---|
language | bash |
---|
title | as As per the directions at the end of the installation process, logout, log back in, and disable conda base environment being activated. |
---|
| logout
#log back in using the ssh command.
conda config --set auto_activate_base false
conda config --set channel_priority strict
logout |
Code Block |
---|
language | bash |
---|
title | log back in a final time |
---|
| conda activate base |
if the above worked correctly, your prompt should go from to If you see anything else, get my attention. |
...