[Beowulf] Pi calculator/RAID accross all nodes/Mosix vs. OpenMosix

Joe Landman landman at scalableinformatics.com
Mon Feb 28 07:58:49 EST 2005


>>2. Does anybody know of a program that will calculate pi, one digit at a 
>>time, infinitely that will run in parallel?
> 
> 
> I don't know about one that will compute an infinite number of digits in
> PI, but the computation of PI via the arctan series is trivially
> partitionable in a variety of ways.  You'll spend more time working to
> sum and align the digits you get (as they obviously will have to be
> obtained and manipulated piecewise as strings) than you will doing the
> computation per se.  It actually sounds like a decent exercise, as the
> carry from small digits may have to propagate iteratively back to larger
> ones as you extend the computation farther and farther.
> 


http://mathworld.wolfram.com/PiDigits.html
http://mathworld.wolfram.com/PiFormulas.html
http://www.andrews.edu/~calkins/physics/Miracle.pdf

and others.

It is possible to calculate the digits individually using the Bailey et 
al algorithm.

Joe

-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics LLC,
email: landman at scalableinformatics.com
web  : http://www.scalableinformatics.com
phone: +1 734 786 8423
fax  : +1 734 786 8452
cell : +1 734 612 4615

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list