|
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
Text Editing
 |
Use vi (alias to vim) for text editing on curumin. Vi is a useful
commandline editor. |
 |
There are many vi tutorials available on the web. One good example
is
www.eng.hawaii.edu/Tutor/vi.html. |
Compiling MPI Programs
 |
All MPI programs must include mpi.h.
#include <mpi.h> |
 |
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.
 |
Use mpicc to compile MPI C source: |
mpicc <source_file.c>
-o <executable_name>
Running MPI Programs
 |
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.
 |
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.
 |
BEFORE YOU LOGOUT – halt LAM using the single
command: lamhalt
|
 | ALWAYS LOGOUOTof
curumin, using
exit or
<ctrl>-c |
Words to the Wise
 | ** CHANGE YOUR PASSWORD AFTER YOUR FIRST
LOGIN ** |
If you don't, Dan and his conniving
minion will hunt you down and...
 |
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. |
|