Newsgroups: comp.parallel.mpi From: Ole Streicher Subject: simple parallelization? Organization: Deutsches Elektronen-Synchrotron, Zeuthen, Germanyo Date: 15 May 1998 12:38:49 +0200 Message-ID: Hi! I am new to MPI and I am wondering if there are already functions to handle independent calculations. What do I mean: We have mostly a general program structure like while (there_is_an_event()) { read_event(data); compute_something_with_the_event(data); if (the_result_is_good(data)) write_event(data); } with independent events. I would now parallelize just the computing part. Is this some kind of a standard problem which may have a standard solution? (I thought about a ring buffer which contains all events and distributes a new one as soon one comes ready). Thank you Tschuessi Ole