--- Ven 27/2/09, Jaroslav Hajek <[email protected]> ha scritto:
> Da: Jaroslav Hajek <[email protected]>
> Oggetto: [OctDev] parallel processing in Octave
> A: "octave-forge list" <[email protected]>
> Data: Venerdì 27 febbraio 2009, 14:03
> hi all,
>
> in case anyone is interested, I committed today into the
> "general"
> package an initial m-file implementation of parcellfun.
> parcellfun is supposed to be able to evaluate a given
> function for
> multiple sets of input arguments using multiple processes.
>
> Given N, the function spawns N subprocesses using fork (),
> and creates
> 2*N+1 pipes to communicate with them (actually the pipes
> come first,
> but you knew that). Therefore, it should be (in theory)
> portable to
> any Unix system. Most suitable for systems like GNU/Linux,
> where fork
> () is efficient and pipes are a relatively cheap resource.
> (Dunno
> about Windoze, for example).
Hi Jaroslav,
on cygwin fork() is a performance disaster as
Windows does not support it, and the workaround
is not efficient at all.
:-((
>
> --
> RNDr. Jaroslav Hajek
> computing expert
> Aeronautical Research and Test Institute (VZLU)
> Prague, Czech Republic
> url: www.highegg.matfyz.cz
>
Regards
Marco
Passa a Yahoo! Mail.
La webmail che ti offre GRATIS spazio illimitato,
antispam e messenger integrato.
http://it.mail.yahoo.com/
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev