Example

pi.pds performs a distributed Monte Carlo calculation of the value of pi. A picalc command-line executable resides in the bin/platform directory of the distribution. The executable is also available on all Engines in your GridServer installation. Running PDriver distributes calculation of Pi across the network, using autoranged parameters to generate differing seed values for the program’s pseudorandom number generator. The postjob block runs a script that derives an average of all the values returned.