File: parany.opam

package info (click to toggle)
ocaml-parany 8.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 144 kB
  • sloc: ml: 212; makefile: 31; sh: 7
file content (42 lines) | stat: -rw-r--r-- 1,360 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
opam-version: "2.0"
maintainer: "unixjunkie@sdf.org"
authors: "Francois Berenger"
license: "LGPL-2.0-or-later"
homepage: "https://github.com/UnixJunkie/parany"
bug-reports: "https://github.com/UnixJunkie/parany/issues"
dev-repo: "git+https://github.com/UnixJunkie/parany.git"
depends: [
  "ocaml"
  "dune" {>= "1.6.0"}
  "base-unix"
  "ocamlnet"
  "cpu"
]
build: [
  ["dune" "build" "-p" name "-j" jobs]
# the test exe doesn't run in the CI env. of the opam-repository
# probably because processes are limited to one core, I guess
# ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "Parallelize any computation"
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'.

Read the corresponding ocamldoc before using.
"""
#url {
#  src: "https://github.com/UnixJunkie/parany/archive/vXXX.tar.gz"
#  checksum: "md5=YYY"
#  ]
#}