Re: [BLACKBOX] multiprocessing and CommStreams

From: [at]} <Andrew>
Date: Wed, 17 Mar 2010 14:35:09 +0000


Thanks Wener,
 
 I will have a look and try and understand.
 
Andrew


On 17 March 2010 14:16, Werner Braun <wb{([at]})nowhere.xy


Hello Andrew,


> I have a computationally intense simulation that is embarrisingly
> parallel. So I would like to be able to run
> multiple copies of the software on multiple processors / cores. At present I
> issue instructions to each copy
> of the software by writing to files. This is a bit clumsy. I wunder if
> anyone has used module CommStreams
> to communicate between seperate BB software processes?


Yes, we do this for our Web-Server.

You need:
- Services.Action
- Listener
- Connection

The Listener is read periodically via Services.Action.

Need code?

Download the Framework:

http://www.o3-software.de/files/O3-WAF_GPL_090918.zip

Have a look at
O3bbWebDispatcher
O3bbWebSniffer

should give enough inspiration




mit freundlichen Grüssen

Werner Braun

Mobil +49 (0)178 145 8768 * Fon +49 (0)431 556 8907-1 * Fax +49 (0)431 556 8907-9

O³ Software GmbH & Co. KG * Franziusallee 131 * D-24148 Kiel * Germany
Sitz der Gesellschaft Kiel * HR Amtsgericht Kiel HRA 6418 KI
Persönlich haftende Gesellschafterin O³ Software GmbH * HR Amtsgericht Kiel HRB 10335 KI * Geschäftsführer Werner Braun


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Wed Mar 17 2010 - 15:35:09 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:34 UTC