User Tools

Site Tools


biac:cluster

BIAC Cluster

User guides

Cluster for dummies... or really smart people who aren't used to this system yet!

The BIAC cluster is a Linux-based processor put in place to analyze any type of data. You will work on the cluster though a terminal window by writing commands one line at a time. In order to set up access to the cluster on your computer, you need to be behind the DHE firewall. Being at BIAC or on the “Clubs” wireless network puts you behind this firewall.

To connect to the cluster, you will need X-Windows software. On BIAC computers X-Win32 comes standard, but it can also be downloaded from OIT’s software website (click “Browse and order software”).

Connecting to the Cluster
  • Begin by running X-Config in the X-Win32 folder under All Programs on your Start Menu
  • Select your cluster profile, aptly named “cluster,” and hit launch
  • Alternative:
    • Under the X-Win32 tab in your programs select X-Win32 2014 (or whatever year)
    • The X-Win32 icon will appear next to the time and date in the bottom right hand corner of your screen
    • Right click it then scroll down to “My Connections”
    • Select your profile by clicking “cluster”
  • If, prompted, enter your cluster password and hit enter (your cluster password may be different from your BIAC password)
  • Your command line should appear with username@cluster (this is your home directory on the cluster) in a terminal window
  • Now you are “on the cluster,”
The Interactive Node

qinteract is also known as the ‘interactive node,’ because it allows you to interact directly with your data on Munin (or whatever server). It also contains the “packages” (FSL, CMTK, FreeSurfer) that BIAC has installed. You can access the GUI’s for these packages by typing in their appropriate commands once in qinteract.

  • Getting on: log onto the cluster, in the command line (username@cluster: ___) type “qinteract” if prompted, type yes, and then enter your cluster password.
  • Congratulations! You are now on the “interactive node.” Access your study data by typing “cd `findexp Study.01`”
Useful Commands
  • ls - “list scripts” displays the contents of the directory
  • ls -ltr - ls w/ time and date
  • cd - “change directory,” to be followed by the name of the directory you want to go to
  • mkdir - “make directory,” to be followed by the name of the directory you want to make
  • gedit - will open a text editor, to be followed by the name of the text file you'd like to edit
  • rm - “remove” followed by what you'd like to remove - be careful!
  • cp - copy
  • qdel - delete job
  • qstatall - display active jobs
EXTRA TIPS
  • Blue “directories” are equivalent to folders, “cd”ing is like double clicking on the folder
  • If you command line is gone in the cluster, as in you don’t have the prompt to type something, make sure nothing is open in gedit (for example batchMakeFSL_Data is open using gedit – click out), click ctrl+c
  • In order to avoid this, follow commands with an &
  • Hit the up arrow in order to go to the previous written command
  • Hit tab in order to fill in a file, script, or directory name
  • If there are multiple files with that name it’ll fill in up to where they differ
  • If you’d like to work the command on all files with that particular prefix, immediately follow the prefix with * (for example “gedit batch*” would open all scripts that start with batch)
  • To cd to previous folder type cd ..
  • Scripts with tildes (~) are there as a backup service, ignore, don’t use, can be deleted if you make sure the proper script is current (example batch_QA versus batch_QA~)
  • By typing qstatall (no folloing arguments necessary), you can look at the active jobs on the cluster
  • By typing ls –ltr you’ll have a list of files with a timestamp/ more details
  • In order to paste from windows into linux (example gedit or the FSL GUI), copy using right click and paste using the center scroll button

Administration guides

Support

For issues and discussions related to the cluster, visit the Cluster Forum

biac/cluster.txt · Last modified: 2019/02/11 21:25 by cmp12