Using-queen-bee
From Education
Contents |
Building and Running Programs on Queen Bee - SC09 Education Program Parallel and Cluster Computing Workshop
We'll be doing most of our work on Queen Bee, LSU's large Dell/Intel cluster. Queen Bee has 2 "head" nodes (PCs) for external login connections (e.g., Secure Shell, also known as ssh) for editing and compiling, and 668 "compute" nodes for actually running parallel programs. Each node has two CPU chips, each of which has four cores, for a total of 8 cores per node.
In order to interact with Queen Bee you will be using ssh, the secure shell. Instructions for doing so can be found at:
Follow the instructions to log in, but instead of logging in to sooner.oscer.ou.edu, you should log in to:
- ssh qb.loni.org
And then from there you can connect to the host we can use for the workshop:
- ssh qb1
using the username and password on the sheet you were given.
The first time you connect you will need to copy some files into your account and source one of those files.
-
cp -r ~tgtrn09/workshop ~ -
mv ~/workshop/.bashrc ~ -
source ~/.bashrc -
cd ~/workshop
List the files in your directory to make sure they all made it:
-
ls -l
Building and Running C Programs
- Available editors on Queen Bee include vi, nano, and emacs.
Important commands:
-
mpicc <program-name.c> -o <program-name> -
qsub-1-node # creates an interactive QSUB shell -
mpirun -np <number-of-processes> <program-name> -
exit # returns you to your login shell
Building and Running FORTRAN Programs
- Available editors on Queen Bee include vi, nano, and emacs
Important commands:
-
mpif77 <program-name.f> -o <program-name> (or mpif90) -
qsub-1-node # creates an interactive QSUB shell -
mpirun -np <number-of-processes> <program-name> -
exit # returns you to your login shell
Running Programs that use X Windows under OSX
This is only necessary if you want to run programs with a GUI component, e.g. Life, GalaxSee, xemacs, etc.
- Start X11
- X11 -> Preferences -> Security, disable authenticate connections, enable allow connections from network clients
- Stop and then re-start X11
- Start an X shell
-
ssh -X queenbee.loni-lsu.teragrid.org -l <username>
