Getting Started on the Tier3

Welcome to the MSU Tier3 information page for new users! This Foswiki page will help you request the necessary computing accounts and set up a suitable working environment.

1. Requesting computer accounts

In order to access any of the computing resources in the HEP department you need (at a minimum) an account on the HEPComputingCluster. You will also need an account on the Tier3. Access to the MSU Tier3 requires the approval of a tenured MSU ATLAS faculty member. Both of these accounts may be obtained at the same time by having a tenured MSU ATLAS faculty member email both the HEP cluster administrator George Perkins and the Tier3 administrator Richard Drake with the request and the following information:
  • your first and last name
  • your office number (or where you can be found) and
  • your preferred username.
Keep in mind that when you join ATLAS (an independent process) you will be assigned a CERN username that is likely to be of the form <first letter of your first name><your last name> (e.g. Jane West --> jwest). Some users find it useful to have the same username on the MSU cluster to simplify logging in to CERN computers, but it is not necessary.

2. Changing your password

After your accounts have been created you will be given a username and two temporary passwords: one for the HEP cluster and one for the Tier3. These passwords will be given to you in person and will never be transmitted through email. You should change your temporary passwords as soon as possible.
On the HEP cluster
Log in or SSH to a machine on the HEPComputingCluster using your username and temporary password. In a terminal type 'kpasswd'. You will be prompted for your current password and then asked to enter in a new password.
On the Tier3
SSH to one of the Tier3LoginNodes and type 'kpasswd'. You will be prompted for your current password and then asked to enter in a new password.

3. Making a .bashrc file

The .bashrc file is a hidden configuration file stored in your home directory. It allows you to customize your terminal. There are many things you can do with this file:
  • customize your command prompt
  • set environment variables
  • set command aliases
  • create a customized function
  • and more

Below is an example .bashrc file.
# This is a commented line.
# This is my favorite .bashrc file.
# --Emily Johnson
# Tier3 username: john2105
# CERN username: ejohnson


###########################
# user-defined aliases #
###########################

# gives color to different types of files
alias ls="ls --color"

# clears screen
alias c="clear"

# useful long-form ls
alias lss="ls -ltrah"

###########################
# other user preferences #
###########################

# several custom prompt examples
PS1="\[\e]0;\h \u \w\a\]\h \u$ "
# PS1="\u:\W$ "
# PS1="\[\e[0;32m\]Andrew\[\e[m\] \[\e[1;34m\]\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\] "
# and my personal favorite:
# PS1="\[\033[0;31m\][\[\033[1;31m\]\u\[\033[0;33m\]@\[\033[0;32m\]\h\[\033[0;34m\]] \[\033[1;35m\]\w \[\033[0;32m\]~'~\[\033[0;35m\]@\[\033[0m\] "

# sets the editor for the SVN repository to vim. Other common choices: emacs, gedit, nano
export SVN_EDITOR=vim

###########################
# system-specific portion #
###########################

# changes the color-coding used by ls --color to my own preferences
eval `dircolors /home/john2105/.dir_colors`

# sets up root
source /msu/opt/cern/rootSL6/v5.34.32_64/rootsetup.sh

# condor script for running simple jobs
alias condor="source /msu/data/t3work1/scripts/runcommand.sh"

export TMOUT=0

###########################
# grid computing section #
###########################

# set the following environment variables and aliases for running on the grid
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase

export RUCIO_ACCOUNT="ejohnson"

alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'
 

-- EmilyJohnson - 13 Sep 2016
Topic revision: r5 - 13 Sep 2016, EmilyJohnson
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback