HiPerGator cota-dept Onboarding

Software tutorials of interest.
Post Reply
Message
Author
jstenner
Site Admin
Posts: 81
Joined: Wed Jan 27, 2010 7:33 pm

HiPerGator cota-dept Onboarding

#1 Post by jstenner »

Onboarding DOCUMENT FOR COTA-DEPT ALLOCATION ON HIPERGATOR

Welcome to the UF College of the Arts HiPerGator Account!

Before requesting an account please watch the pre-recorded training videos (Part 1-3) at the following link:
https://help.rc.ufl.edu/doc/Prerecorded_Training

Below are basic instructions for initial setup that will allow your account to be configured in a way that is compliant with the needs of UF Research Computing. It distills information provided on UFRC Help and Documentation regarding initial setup. Complete help can be found here:
https://help.rc.ufl.edu/doc/UFRC_Help_and_Documentation

Requesting an Account

Go here to request a HiPerGator account:
https://www.rc.ufl.edu/get-started/hipe ... r-account/

Select “Haring, Pete” as faculty sponsor from the drop-down list and complete the rest of the form. In the “Comments” box type, “Please also add me to the cota-dept secondary group.” You will receive an email with instructions on required training, etc.

Once your account is approved, you can log into HiPerGator using your operating systems Terminal program to initiate an ssh connection. Substitute your username for <username> below:
Screen Shot 2022-05-04 at 8.21.38 AM.png
You will be prompted to select your preferred multi-factor authentication mechanism:
Screen Shot 2022-05-04 at 8.34.00 AM.png
Once you’ve authenticated your shell session will begin:
Screen Shot 2022-05-04 at 8.34.44 AM.png


Sharing Files with Group

Once your account is approved, the first thing you need to do is add ”umask 007” to your .bashrc or .bash_profile. This will allow all new files created to be visible to members of the cota-dept user group.
Details here:
https://help.rc.ufl.edu/doc/Sharing_Files

You can use the Linux text editor “nano” to edit this configuration file:
Screen Shot 2022-05-04 at 8.49.14 AM.png
After pressing “enter” the text editor will display the contents of .bash_profile. Yours will likely look different than mine, but the blue highlighted text “umask 007” below is what you need to add. You can enter any comment you like after the # symbol. Comments are good to remind you what various entries do/provide, etc:
Screen Shot 2022-05-04 at 8.46.23 AM.png


Now, type Control + o to “WriteOut” your changes (i.e. to save your changes to file), then press Enter. Notice the keyboard commands are conveniently displayed on the bottom two lines of the editor interface. If you’ve done it correctly it will tell you how many lines were written to file. Type Control + x to exit the editor you will be returned to the shell.

In order to make the changes apply to your current shell session, you can either log out and back in, or you can run the following command:
Screen Shot 2022-05-04 at 9.15.10 AM.png
From now on, any new files or directories you create can be accessed by members of the group: cota-dept.

Create a Working Directory

As described in the HiPerGator training, you will want to store your working files on “blue” rather than your home directory. To configure this, create a working directory with your login shortname <gatorusername> in /blue/cota-dept/<insertdept>/

For example, if my <gatorusername> is “stenner” and I am part of the School of Art + Art History, I would create a subdirectory called stenner in /blue/cota-dept/saah/ using the “mkdir” command. Substitute your username for <gatorusername> below:
Screen Shot 2022-05-04 at 9.29.59 AM.png


If you want to, you can create a symbolic link (i.e. a shortcut) to this path in your home area so you don’t have to remember the full path to your working directory. Google “Linux symbolic link”.

Configure Anaconda

Anaconda or “conda” is commonly used to configure and install libraries and packages needed for AI work. These files can be large, so again, you don’t want to fill up your home area, right? The solution is to configure Anaconda to install its files to your new working directory, instead. To do so, you'll need to modify the Anaconda configuration file that is stored in your home area. This file is called .condarc and it needs to point to your new working directory. The first time you log in, this file will not exist. You can create it manually, or, better yet, it can be created by using HiPerGator’s module system. At the command prompt, type: “module load conda”
Screen Shot 2022-05-04 at 9.47.27 AM.png
You can check to see that it has loaded the latest version of Anaconda by typing “module list” (see above). By loading the module, a basic .condarc file will be created in your home directory.

Now, navigate to your home directory and edit the config file:
Screen Shot 2022-05-04 at 9.50.48 AM.png

If this is your first time using HiPerGator, add the following lines highlighted in blue to your .condarc file. Be sure to substitute your department (sotd, som, etc.) for “saah” below if you’re not in saah. As we did previously, type Ctrl + o to WriteOut the changes and Ctrl + x to exit:
Screen Shot 2022-05-04 at 9.52.21 AM.png


If you have done this before as part of a class allocation, REPLACE those entries with these.

This makes sure that all your conda environments and package installs are placed on BLUE and in your working directory rather than in your login node, "home" directory as requested in the HiPerGator training video. This information, with more detail, is documented at:
https://help.rc.ufl.edu/doc/Conda

Done!

That’s it. You should be good to start working!
The master of disaster!

Post Reply