Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: The State of Parallel Computing in perl 2007?

by toma (Vicar)
on Jan 22, 2007 at 16:52 UTC ( [id://595939]=note: print w/replies, xml ) Need Help??


in reply to Re^2: The State of Parallel Computing in perl 2007?
in thread The State of Parallel Computing in perl 2007?

I use POE::Wheel::Run to spawn four Perl programs.
  1. A web server built from HTTP::Daemon. This provides a browser-based GUI. This web server also spawns programs that can get content from other web servers.
  2. A live link to a large CAD program.
  3. A live link to a large circuit simulator.
  4. A terminal that provides user messages and a command line, for development and for cases where the GUI doesn't have deep enough functionality.
I hadn't thought about this program as parallel processing until I saw your question. I have only recently begun running the application on multi-cpu machines.

The program uses message passing through several mechanisms:

  • STDIN, STDOUT, and STDERR of child processes.
  • Dropping files. The CAD package uses this for input.
  • Web calls. I recently switched from LWP to curl because of deployment difficulties. I had trouble getting my installer to automate the configuration of LWP.
  • Environment variables are used to send parameters into child programs. I had trouble with platform differences in the handling of command-line arguments. This is possibly due to differences in quoting and escaping.
It should work perfectly the first time! - toma
  • Comment on Re^3: The State of Parallel Computing in perl 2007?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://595939]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-24 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found