PHYCS 6730 Lab Exercise: Introduction to Parallel Computing
Exercise 1. Logging in to icebox
We will be using the Beowulf cluster icebox.chpc.utah.edu. Log
in to your account on that machine using ssh, the secure shell
remote login utility:
ssh icebox.chpc.utah.edu -l <username>
If your username is the same on both machines, you don't need
to specify it here.
Change your password immediately.
Nothing to hand in.
Exercise 2. Transferring files to icebox
Copy the files hellompi.cc, Makefile, and
hello.pbs from the directory ~p6730/exercises/mpi to
icebox using the
scp utility. You may have to run this command on
icebox, pulling files in from the physics machines.
For example, do
scp <username>@physics.utah.edu:~p6730/exercises/mpi/hellompi.cc .
You will be prompted for your Physics password. Look at the code.
Nothing to hand in.
Exercise 3. Compiling the code on icebox.
Use the Makefile to compile hellompi.
Nothing to hand in.
Exercise 4. Running the code interactively on icebox.
Try to get four interactive nodes for ten minutes on icebox
using the following command:
qsub -I -l nodes=4,walltime=10:00
If you succeed, cd to the directory containing the compiled code and
run it using the command
mpirun -np 4 -machinefile $PBS_NODEFILE hellompi
Hand in your output.