package parany

  1. Overview
  2. Docs
Parallelize any computation

Install

Dune Dependency

Authors

Maintainers

Sources

v11.0.2.tar.gz
sha256=a351dadabed5381f9272b522f5bbf0755a8879bd14da4d7c5c7bcda210da338d
md5=052b131c99bdf3f67c51175f5e3bccfe

Description

Generalized map reduce for parallel computers (not distributed computing). Can process in parallel an infinite stream of elements.

Can process a very large file in parallel on a multicore computer; provided there is a way to cut your file into independent blocks (the 'demux' function). The processing function is called 'work'. The function gathering the results is called 'mux'. The number of processors running your computation in parallel is called 'nprocs'. The chunk size (number of items) processed by one call to the 'work' function is called 'csize'.

There is a minimalist Parmap module, if you want to switch to/from Parmap easily.

Read the corresponding ocamldoc before using.

USING THIS LIBRARY IN A MISSION CRITICAL, LONG-RUNNING SOFTWARE THAT IS NEVER SUPPOSED TO CRASH IS NOT ADVIZED. WHILE THIS LIBRARY IS HIGH PERFORMANCE, IT IS ALSO DANGEROUS. USE AT YOUR OWN RISKS.

Published: 19 May 2020

README

parany

Parallelize any kind of computation

Generalized map reduce for parallel computers (not distributed computing).

Can process a very large file in parallel on a multicore computer; provided there is a way to cut your file into independent blocks (the "demux" function).

Can process in parallel an infinite stream of elements.

The processing function is called "work". The function gathering the results is called "mux". The number of processors running your computation in parallel is called "nprocs".

Dependencies (4)

  1. ocaml
  2. dune >= "1.6.0"
  3. cpu
  4. base-unix

Dev Dependencies

None

Used by (13)

  1. acp4
  2. acpc >= "2.0.0"
  3. comby < "1.7.0"
  4. hts_shrink >= "2.1.2"
  5. linwrap >= "5.1.1"
  6. molenc >= "11.4.0" & < "16.2.0"
  7. odnnr
  8. oplsr >= "8.0.1"
  9. orf
  10. orrandomForest >= "3.0.0"
  11. pardi >= "3.1.1"
  12. rankers = "2.0.7"
  13. svmwrap

Conflicts

None

OCaml

Innovation. Community. Security.