Cluster

horizontal rule

Home
Contact
Syllabus
Homework
Classnotes
Calendar
Cluster
Exam Sampler
Exam Sampler II
Exam Sampler III

 

Check your grades on Eagle

 

 

Curumin Cluster General Use Tutorial
 


The cluster is located at curumin.engr.usu.edu


Remote Login

 
bullet
To login remotely ON curumin, use an ssh client such as PuTTy or ssh. PuTTy is available free of
charge at www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
bullet
If you are off campus, you need to utilize USU's VPN. Go to
http://helpdesk.usu.edu/content/networking/vpn.download.php  for more information.


Text Editing

 
bullet
Use vi (alias to vim) for text editing on curumin. Vi is a useful commandline editor.
bullet
There are many vi tutorials available on the web.  One good example is www.eng.hawaii.edu/Tutor/vi.html.


Compiling MPI Programs

 
bullet
All MPI programs must include mpi.h.

                           #include <mpi.h>

 

bullet
Use mpiCC to compile MPI C++ source with the following command:

                           mpiCC <source_file.cpp> -o <executable_name>


where <source_file.cpp> is the name of your source file, and <executable_name> is the desired name of your executable.

 

 
bullet
Use mpicc to compile MPI C source:


                       mpicc <source_file.c> -o <executable_name>

 


Running MPI Programs

 
bullet
In order to start up processes on the clusters compute nodes, you need to first boot LAM with the
following command:

                           lamboot /etc/lamhosts


This starts up the LAM daemon on each available node. If you don't want to use each node,
make a copy of /etc/lamhosts and place it in your home directory. Then, remove the undesired
hostnames from the file. Boot the nodes using: lamboot ~/name_of_copy.

 

bullet
Run your MPI program with the following command:


              mpirun C <executable_name>


Yes, <executable_name> is indeed the name of your executable that you compiled.

 
bullet
BEFORE YOU LOGOUT – halt LAM using the single command: lamhalt
 
bulletALWAYS LOGOUOTof curumin, using exit or <ctrl>-c


Words to the Wise
 
bullet** CHANGE YOUR PASSWORD AFTER YOUR FIRST LOGIN **

If you don't, Dan and his conniving minion will hunt you down and...

bullet
If you have difficulty that digging around the Internet for a day or two does not resolve, feel free
to contact the system administrator at sunsolaris@gmail.com.

horizontal rule

For problems or questions regarding this site contact the class Web Lackey.
Last updated: January 07, 2008.