Commercial Parallel Software Products

From SC08 Student Competition

Jump to: navigation, search

Teaser Description

  • At least it's not a political commercial. In this problem you will be provided an algorithm. Your task will be to implement the algorithm using gridMathematica. To prepare for this particular problem, familiarize yourself with using gridMathematica on the competition environment and software development (writing, compiling, running codes) on the competition environment.

Description

  • The ParallelTable routine in GridMathematica allows you to split the creation of entries in a table up over multiple processors.
  • Compute the classic "calculation of pi" by Monte Carlo integration in parallel using GridMathematica and verify that the results agree with the expected value. You should get as many digits of pi as possible without exceeding a walltime of 30 minutes.
  • The starter code "gridTest.m" has been provided for you, which can be run with the following command.
math -noprompt -run "<<gridtest.m"
  • Lookup tables and non-Monte Carlo based methods for calculating pi are not acceptable as solutions, but may be used to calculate the precision of your Monte Carlo result.

Technology

  • Required tools: gridMathematica on cluster.littlefe.net.
  • gridMathematica is supported only on these eight nodes:
city.gig1.loc
aroma.gig1.loc
blackjack.gig1.loc
brazilian.gig1.loc
green.gig1.loc
harrar.gig1.loc
indian.gig1.loc
sidamo.gig1.loc
roaster.gig1.loc

Please limit your use to these eight nodes.

Grading

  • In a directory called "Commercial" on your team's USB drive:
    • Your code (in a plain text file), which when run should output your Monte Carlo calculation of pi.
    • Codes which do not complete within 30 minutes will not be accepted.
Personal tools