Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Message Passing....

dcowart (13321) writes | more than 8 years ago

User Journal 0

I've just been having an interesting time with the last few bits of the cluster setup. We are almost done with the system administration part of it though. I've written a small application for testing the cluster and the MPI libraries (Message Passing Interface) behind it.

I've just been having an interesting time with the last few bits of the cluster setup. We are almost done with the system administration part of it though. I've written a small application for testing the cluster and the MPI libraries (Message Passing Interface) behind it.

MPI is a set of libraries that give a standard way for nodes on a cluster to send data between each other. It makes cluster programming a little easier b/c you don't have worry about the details of how they communicate, you can focus on What gets communicated. I wrote a program yesterday to find the factorials of all the numbers between 1 and 200000 this way. It is actually a very bad program in that in that I just had each node do the same thing, not really what you want in a real world situation. I'm working on the next part of that today, having the master node assign each rank a number to work on and then having the node return the number to the master. Still a pretty simple project but the goal is to expand it to do two simple series expansions, 'e' the base of the natural logarithm and 'pi' the ratio of the circumfrance of a cirle to it's radius. Both of those would make decent cluster tests. 'e' directly depends on factorials so the stuff I'm doing now is my base for getting that working. I'm worried about the GMP libries that I also use though, I'm not sure they are safe for using in this kind of work. We'll see though.

cancel ×

0 comments

Sorry! There are no comments related to the filter you selected.

Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>