Home
>>    




Homework

CS 300, Parallel and Distributed Computing (PDC)

Homework 5   Due

    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.

  1. Intel Xeon Phi

    1. Carry out the Phi exercise on the phi machine in a subdirectory ~/username/hw5/phi for your username.

    2. 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.

    3. Log your time on this part using the project log form, selecting project #phi

  2. Pi Calculus

    1. Carry out the Pi calculus exercise on paper. Here are notes and references from the presentation.

    2. Log your time on this part using the project log form, selecting project #picalc

  3. Go language

    1. 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.

    2. Log your time on this part using the project log form, selecting project #go

  4. Haskell

    1. Carry out the Haskell exercise on thing3 in a subdirectory ~/PDC/hw5/haskell.

    2. Log your time on this part using the project log form, selecting project #haskell

  5. Submission

      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 master
      
      Likewise, 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.