Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

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

  1. Verify course bashrc file is active
  2. 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
titleONLY if you see something else should you use the commands in this section


Code Block
languagebash
titleUse 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:

No Format
tacc:~$

If not, get my attention.

conda

Code Block
languagebash
titleActivate a conda environment
conda activate base

...

Warning
titleONLY if you see something different should you use the commands in this section


Code Block
languagebash
titleUsing the mkdir command to create a folder named 'src' inside of your $WORK directory
collapsetrue
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:

  1. hit enter to page through the license agreement
  2. enter 'yes' to agree to said license agreement
  3. enter to confirm the default installation location
  4. enter 'yes'  to initialize Miniconda3 by running conda init?


Code Block
languagebash
titleas 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
languagebash
titlelog back in a final time
conda activate base

if the above worked correctly, your prompt should go from 

No Format
tacc:~$

to 

No Format
(base) tacc:~$

If you see anything else, get my attention.

...