You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This tutorial shows how to run the matrix multiplication example on sugar.rice.edu, a machine with 8 core Xeon 2.83GHz nodes:

1. login to sugar.rice.edu
2. source /users/ds20/public/setup.sh
2. copy /users/ds20/public/hjCncDdfBabelBranch/cnc_distrib/ to any folder
3. export CNC_HOME=<location of your copy of cnc_distrib>
3. copy /users/ds20/Rice/hjCncDdfBabelBranch/examples/MMul somewhere, for example in your home:
cp -R /users/ds20/Rice/hjCncDdfBabelBranch/examples/MMul ~
cd ~/MMul
chown -R .
4. make run

You can modify the Makefile CNC_NUM_WORKERS variable to the number of worker threads you desire.

You can modify user-code/userExpComputationStep.py variable SIZE = 400 to whatever size you want for your matrices.

To submit your task to a queue you can:
cd ~/MMul
qsub run.pbs
For more information on sugar queues, click here.

  • No labels