Comp322 s14 Lab9 PDF
Comp322 s14 Lab9 PDF
Spring 2014
https://wiki.rice.edu/confluence/display/PARPROG/COMP322
Staff Email:
Clear Login:
https://edge.edx.org/courses/RiceX/COMP322/1T2014R
Piazza site :
https://piazza.com/rice/spring2014/comp322/home
Java 8 Download :
https://jdk8.java.net/download.html
http://www.cs.rice.edu/~vs3/hjlib/habanero-java-lib.jar
https://wiki.rice.edu/confluence/display/PARPROG/API+Documentation
https://wiki.rice.edu/confluence/display/PARPROG/Download+and+Set+Up
Sugar Login: ssh [email protected] and then login with your password
Linux Tutorial visit http://www.rcsg.rice.edu/tutorials/
On SUGAR, JDK8 is already available at /users/COMP322/jdk1.8.0 and HJ-Lib is already installed at
/users/COMP322/habanero-java-lib.jar. Run the following command to setup the JDK8 path.
source /users/COMP322/hjLibSetup.txt
When you log on to Sugar, you will be connected to a login node along with many other users. To request
a dedicated compute node, you should use the following command from a SUGAR login node:
qsub -q commons -I -V -l nodes=1:ppn=8,walltime=00:30:00
We learned that there may be some issues with SUGAR this week. If youre unable to obtain a compute node,
please use your laptop for todays lab instead.
Note that all commands below are CaSe-SeNsItIvE. For example, be sure to use S14 instead of s14.
IMPORTANT: please refer to the tutorial on Linux and SUGAR, before staring this lab. Also, if you and
others experience long waiting times with the qsub command, please ask the TAs to announce to everyone
that they should use ppn=4 instead of ppn=8 in their qsub command (to request 4 cores instead of 8 cores).
1 of 3
COMP 322
Spring 2014
COMP 322
Spring 2014
For each lab, you will need to turn in your work before leaving, as follows.
1. Check that all the work for todays lab is in the lab 9 directory. If not, make a copy of any missing
files/folders there. Its fine if you include more rather than fewer files dont worry about cleaning
up intermediate/temporary files.
2. Use the turn-in script to submit the lab 9 directory to your turnin directory as explained in the first
handout: turnin comp322-S14:lab 9. Note that you should not turn in a zip file.
NOTE: Turnin should work for everyone now. If the turnin command does not work for you, please talk
to a TA. As a last resort, you can create and email a lab 9.zip file to [email protected].
3 of 3