parallel programming

July 9th, 2004 at 6:01 pm

I’m dealing with multi-process code at work now. I’ve played with such things before, but this one is for real. A computationally heavy task is splitted to several machines to run faster.
I don’t have much knowledge in parallel programming, so it’s all new to me. I guess it can be done in various ways (on Unix platforms)… In this code, the Master spawns slaves using “rsh”. Executables are sent to execute on different machines, and get the master hostname/port as an argument. When they start running they open a socket and tell the master they are alive. All communication later (pings, data packets) are done via sockets.

Related posts:

  1. perl master, C++ slave, bound for serial port programming
  2. once again: perl, serial ports and what’s between them
  3. Non-blocking socket access on Windows
  4. programming geek - EE geek
  5. Book review: “Win32 Perl Programming: The Standard Extensions” by Dave Roth

Leave a Reply

To post code with preserved formatting, enclose it in `backticks` (even multiple lines)