Homework 5
CS 300, Parallel and Distributed Computing (PDC)
These problems were generated by PDC teams.
These assignments are intended to take at most one hour per part. If a part is taking you longer than an hour, you should feel free to stop if you want.
Complete at least two of the following four parts of your choice.
Carry out the Phi exercise on
the phi machine in a subdirectory ~/username/hw5/phi
for your username.
Initialize your ~/username
directory for git
, and push
a
commit
of your work:
phi$ cd ~/username phi$ git init phi$ git config user.name "Dick Brown" phi$ git config user.email "rab@stolaf.edu" phi$ git remote add origin http://stogit.cs.stolaf.edu//username.git phi$ git pull origin master phi$ git branch phi1 phi$ git checkout phi1 phi$ git add hw5/phi phi$ git commit -m "Submit HW5 phi (on phi1 machine)" phi$ git push origin master
Note: If you are managing your work using branches other than
master
, these instructions may vary.
Log your time on this part using the project log form, selecting project
#phi
Carry out the Pi calculus exercise on paper. Here are notes and references from the presentation.
Log your time on this part using the project log form, selecting project
#picalc
Read this README file, then follow its instructions to complete
this
go language code on thing3 or another computer of your choice. Do
your work in a subdirectory ~/PDC/hw5/go
.
Note: These documents are distributed from the team's
stogit
site. Contact RAB via piazza if you have trouble accessing them
within the St. Olaf networks.
Log your time on this part using the project log form, selecting project
#go
Carry out the Haskell exercise on
thing3
in a subdirectory ~/PDC/hw5/haskell
.
Log your time on this part using the project log form, selecting project
#haskell
Submit your work on
this homework using git
. Include the hostname
thing3
and homework part number in your
commit message.
% cd ~/PDC % git add -A % git commit -m "hw 5 submit (thing3)" % git pull origin master % git push origin masterLikewise, if you worked on more than one system, you can rename your
hw5
directories and submit each, with commit messages indicating the computer
on which that commit was created.Also, fill out this form to report on your work.