f140dbc | Roberto Di Cosmo | 02 May 2021, 17:11:46 UTC | Signal exceptions in the worker to the master process in the simplemapper skeleton. Add test to cover exception handling in the workers for this case. | 02 May 2021, 17:11:46 UTC |
ba9a613 | Roberto Di Cosmo | 02 May 2021, 16:25:54 UTC | Update changelog | 02 May 2021, 16:25:54 UTC |
7edef27 | Roberto Di Cosmo | 02 May 2021, 16:17:37 UTC | Fix leaked file descriptor: close read pipe end at end of mapper routine | 02 May 2021, 16:17:37 UTC |
ed72b4b | Roberto Di Cosmo | 28 April 2021, 17:08:51 UTC | Update to latest dune language | 28 April 2021, 17:08:51 UTC |
36089bc | Roberto Di Cosmo | 24 April 2021, 19:14:47 UTC | Update CHANGES | 24 April 2021, 19:14:47 UTC |
2800b78 | Roberto Di Cosmo | 23 April 2021, 10:12:28 UTC | Merge pull request #100 from jamesjer/master Use Array.create_float instead of Obj, dropping support for ocaml 4.02.3 | 23 April 2021, 10:12:28 UTC |
04e3c04 | Jerry James | 20 April 2021, 19:43:31 UTC | Use Array.create_float instead of Obj, dropping support for ocaml 4.02.3 | 20 April 2021, 19:44:50 UTC |
adce7bc | Roberto Di Cosmo | 09 January 2021, 10:48:36 UTC | Document CHANGES | 09 January 2021, 10:48:36 UTC |
113ffac | Roberto Di Cosmo | 29 December 2020, 14:46:43 UTC | Updated documentation to describe the keeporder parameter. | 29 December 2020, 14:46:43 UTC |
cc49df8 | Roberto Di Cosmo | 29 December 2020, 14:46:19 UTC | Update tests to take into account the keeporder parameter. | 29 December 2020, 14:46:19 UTC |
4f086d4 | Roberto Di Cosmo | 29 December 2020, 14:44:46 UTC | Add the keeporder parameter to parmap/i and array_parmap/i to toggle reordering on or off when using chunksize. | 29 December 2020, 14:44:46 UTC |
d95e268 | Roberto Di Cosmo | 28 December 2020, 13:23:57 UTC | Update documentation to reflect the fact that now order is preserved. | 28 December 2020, 13:23:57 UTC |
0ad8a52 | Roberto Di Cosmo | 28 December 2020, 13:09:42 UTC | Refactoring: avoid duplication of code, just call array_parmapi | 28 December 2020, 13:09:42 UTC |
54fde6a | Roberto Di Cosmo | 28 December 2020, 12:08:09 UTC | Test parmap on array with the new order preserving approach | 28 December 2020, 12:08:09 UTC |
647530e | Roberto Di Cosmo | 28 December 2020, 12:07:13 UTC | New feature: preserve order after parmap execution even when using load balancing | 28 December 2020, 12:07:13 UTC |
a674bf5 | Roberto Di Cosmo | 28 December 2020, 11:11:41 UTC | Ensure chunksize is used and tested for arrays | 28 December 2020, 11:11:41 UTC |
1007120 | Roberto Di Cosmo | 28 December 2020, 11:11:11 UTC | New feature: preserve order after array_parmap execution even when using load balancing | 28 December 2020, 11:11:11 UTC |
c67cbb7 | Roberto Di Cosmo | 16 November 2020, 18:06:31 UTC | Merge pull request #98 from pinotree/setcore-single-optimization Optimize setcore on single core systems | 16 November 2020, 18:06:31 UTC |
008e823 | Pino Toscano | 14 November 2020, 15:54:53 UTC | Optimize setcore on single core systems In case the system has only a single core/processor, then attempting to pin is kinda pointless, as the result will not change. Hence, make the C setcore stub almost a no-op in case there is only one core available. | 14 November 2020, 15:54:53 UTC |
b382f85 | Roberto Di Cosmo | 22 July 2020, 09:46:24 UTC | Merge pull request #97 from olafhering/const handle safe-string | 22 July 2020, 09:46:24 UTC |
52f5f70 | Olaf Hering | 17 July 2020, 10:01:16 UTC | handle safe-string String_val() will return 'const char *'. Signed-off-by: Olaf Hering <olaf@aepfle.de> | 17 July 2020, 10:01:16 UTC |
526acc4 | Roberto Di Cosmo | 24 January 2020, 14:22:21 UTC | Merge pull request #94 from Drup/master Refine dune configuration to avoid installing the examples. Fix for https://github.com/ocaml/opam-repository/pull/15720 | 24 January 2020, 14:22:21 UTC |
b0d8f55 | Drup | 24 January 2020, 14:03:16 UTC | Make the opam metadata more precise. | 24 January 2020, 14:03:16 UTC |
04f5805 | Drup | 24 January 2020, 13:59:47 UTC | Do not install the example. | 24 January 2020, 13:59:47 UTC |
d9bcb31 | Roberto Di Cosmo | 23 January 2020, 15:24:02 UTC | Update changelog, renamed to CHANGES | 23 January 2020, 15:24:02 UTC |
45a739c | Roberto Di Cosmo | 23 January 2020, 15:14:58 UTC | Merge pull request #93 from Drup/dune Reviewed all proposed changes with @Drup, merge all the great work from @olafhering, thanks a lot! | 23 January 2020, 15:14:58 UTC |
3129984 | Drup | 17 January 2020, 15:49:41 UTC | Version and fix parmap.opam | 17 January 2020, 15:51:38 UTC |
a7f41a4 | Drup | 17 January 2020, 15:11:34 UTC | Move code to src/ | 17 January 2020, 15:13:12 UTC |
77f06be | Drup | 17 January 2020, 15:09:50 UTC | Freshen up the documentation. | 17 January 2020, 15:13:12 UTC |
26045c6 | Drup | 17 January 2020, 14:46:33 UTC | Add Install instructions to the readme. | 17 January 2020, 14:46:33 UTC |
491e1d0 | Drup | 17 January 2020, 14:45:00 UTC | Add a "clean" target. | 17 January 2020, 14:45:00 UTC |
82df563 | Olaf Hering | 25 October 2019, 08:10:30 UTC | convert buildsystem to dune Dune requires ocaml 4.02.3 or later, so discover.ml checks for at least this version. Adjust setcore_stubs.c to include a setcore_stubs.h. This helps dune to track the dependencies of this generated file. A generated file named config.h would belong to a file named config.c. Fixes #87. Fixes #80. Fixes #79. Fixes #78. Fixes #62. Fixes #43. Fixes #40. Fixes #39. Fixes #37. Signed-off-by: Olaf Hering <olaf@aepfle.de> | 25 October 2019, 08:10:30 UTC |
916c665 | Olaf Hering | 25 October 2019, 08:10:26 UTC | remove old build system prior the switch to dune Signed-off-by: Olaf Hering <olaf@aepfle.de> | 25 October 2019, 08:10:26 UTC |
717c94a | Olaf Hering | 25 October 2019, 08:10:23 UTC | Remove usage of Pervasives for ocaml 4.09 Fixes #91. Signed-off-by: Olaf Hering <olaf@aepfle.de> | 25 October 2019, 08:10:23 UTC |
56d222b | Olaf Hering | 25 October 2019, 08:10:19 UTC | Update URL in AUTHORS Signed-off-by: Olaf Hering <olaf@aepfle.de> | 25 October 2019, 08:10:19 UTC |
8fd832a | Olaf Hering | 25 October 2019, 08:10:07 UTC | Reorder includes in stublib, define _GNU_SOURCE According to sched_setaffinity(2) _GNU_SOURCE must be set prior inclusion of sched.h. Enable the existing define. Move two other includes down so that they also see _GNU_SOURCE. Without this reordering it does not take affect and sched.h can not be used properly. Signed-off-by: Olaf Hering <olaf@aepfle.de> | 25 October 2019, 08:10:07 UTC |
66b3a2c | Olaf Hering | 11 October 2019, 18:38:43 UTC | fix spelling in topnat.ml Signed-off-by: Olaf Hering <olaf@aepfle.de> | 11 October 2019, 19:29:00 UTC |
b682d4b | Olaf Hering | 11 October 2019, 11:11:54 UTC | Update usage of noalloc Signed-off-by: Olaf Hering <olaf@aepfle.de> | 11 October 2019, 19:29:00 UTC |
73a7e5b | Olaf Hering | 11 October 2019, 11:09:36 UTC | Use Array.make to support ocaml 4.07 Fixes #52 Signed-off-by: Olaf Hering <olaf@aepfle.de> | 11 October 2019, 19:28:39 UTC |
803edbb | Francois Berenger | 02 October 2019, 03:02:01 UTC | regenerated configure file because, it needs to have been already generated for the opam package. And, the recently accepted hack impacts the configure file | 02 October 2019, 03:02:01 UTC |
a00ce22 | Francois Berenger | 02 October 2019, 03:01:05 UTC | mv opam parmap.opam | 02 October 2019, 03:01:05 UTC |
0ffe4b8 | Francois Berenger | 02 October 2019, 03:00:42 UTC | updated opam file to follow more closely the one in opam-repository | 02 October 2019, 03:00:42 UTC |
c4a31a8 | Francois Berenger | 02 October 2019, 02:54:33 UTC | corrected configure.ac | 02 October 2019, 02:54:33 UTC |
702c231 | Francois Berenger | 02 October 2019, 02:47:04 UTC | the new Parmap_compat module must be listed into ocamlbuild-related crap-files | 02 October 2019, 02:47:04 UTC |
bfe1de1 | Francois Berenger | 02 October 2019, 02:33:36 UTC | Merge pull request #83 from madroach/master hack to circumvent the fact that map_file moved from Bigarray to Unix starting from OCaml 4.06.0 | 02 October 2019, 02:33:36 UTC |
ce9c90c | Francois Berenger | 02 October 2019, 02:30:58 UTC | rm useless '~' | 02 October 2019, 02:30:58 UTC |
48711a6 | Christopher Zimmermann | 18 June 2019, 20:36:53 UTC | add compatibility layer for Unix/Genarray.map_file | 19 June 2019, 09:42:28 UTC |
8d19c66 | Roberto Di Cosmo | 30 March 2019, 16:57:21 UTC | Merge pull request #82 from Naereen/patch-1 Typo, "sigle" → "single" | 30 March 2019, 16:57:21 UTC |
918930b | Lilian Besson | 30 March 2019, 14:15:37 UTC | Typo, "sigle" → "single" | 30 March 2019, 14:15:37 UTC |
633b73d | Lilian Besson | 30 March 2019, 14:14:48 UTC | Typo, "sigle" → "single" | 30 March 2019, 14:14:48 UTC |
6be3de4 | Roberto Di Cosmo | 10 July 2018, 10:36:59 UTC | Merge pull request #75 from UnixJunkie/patch-2 fix mapi_range used by array_parmapi | 10 July 2018, 10:36:59 UTC |
961fa9b | UnixJunkie | 10 July 2018, 09:06:57 UTC | fix mapi_range used by array_parmapi | 10 July 2018, 09:06:57 UTC |
d23100d | Roberto Di Cosmo | 30 November 2017, 20:59:20 UTC | Merge pull request #69 from UnixJunkie/disable_core_pinning Add support for user-level enabling/disabling of core pinning | 30 November 2017, 20:59:20 UTC |
f7346fc | Roberto Di Cosmo | 30 November 2017, 20:58:28 UTC | Merge pull request #65 from UnixJunkie/patch-1 same as in the opam repository | 30 November 2017, 20:58:28 UTC |
1855b87 | Roberto Di Cosmo | 30 November 2017, 20:57:20 UTC | Merge pull request #67 from UnixJunkie/rm_trailing_whitespaces remove trailing whitespaces | 30 November 2017, 20:57:20 UTC |
7c3283c | Francois BERENGER | 30 November 2017, 01:14:59 UTC | added disable_core_pinning and enable_core_pinning | 30 November 2017, 01:14:59 UTC |
2ccdd08 | Francois BERENGER | 30 November 2017, 01:03:18 UTC | corrected script to rebuild and reinstall parmap via oasis | 30 November 2017, 01:03:18 UTC |
e8ad8a7 | Francois BERENGER | 30 November 2017, 00:59:54 UTC | remove trailing whitespaces | 30 November 2017, 00:59:54 UTC |
b030c05 | Roberto Di Cosmo | 20 September 2017, 11:39:59 UTC | First stab at adding explicit core mapping. | 28 November 2017, 08:36:40 UTC |
29c9d48 | Francois BERENGER | 27 November 2017, 06:30:19 UTC | same as in the opam repository added conf-aclocal dep to the opam file | 27 November 2017, 06:30:19 UTC |
699ed2a | Roberto Di Cosmo | 18 November 2017, 10:43:40 UTC | Merge pull request #64 from thierry-martinez/master Fix for OCaml 4.06 | 18 November 2017, 10:43:40 UTC |
20695e4 | Thierry Martinez | 18 November 2017, 10:20:41 UTC | Comment references to bytes | 18 November 2017, 10:20:41 UTC |
ddcab19 | Thierry Martinez | 18 November 2017, 00:19:57 UTC | Fix for OCaml 4.06 | 18 November 2017, 00:19:57 UTC |
c9b0ee7 | Roberto Di Cosmo | 24 February 2017, 00:29:58 UTC | Remove cruft after merge | 24 February 2017, 00:29:58 UTC |
314f1ad | Roberto Di Cosmo | 23 February 2017, 21:02:33 UTC | Merge pull request #54 from UnixJunkie/get_ncores added get_ncores, thanks to @UnixJunkie | 23 February 2017, 21:02:33 UTC |
ac94452 | Francois BERENGER | 23 February 2017, 16:44:37 UTC | Merge branch 'master' into get_ncores | 23 February 2017, 16:44:37 UTC |
743ec49 | Roberto Di Cosmo | 23 February 2017, 00:42:16 UTC | Merge pull request #55 from UnixJunkie/code_factorization Gc.compact needs to be called only inside of spawn_many | 23 February 2017, 00:42:16 UTC |
400fd71 | Roberto Di Cosmo | 23 February 2017, 00:36:09 UTC | Merge pull request #56 from UnixJunkie/get_rank added get_rank so that worker processes can know at which rank | 23 February 2017, 00:36:09 UTC |
8204dbb | Francois BERENGER | 22 February 2017, 18:54:15 UTC | added get_rank so that worker processes can know at which rank they were forked out of the master process | 22 February 2017, 18:54:15 UTC |
f3643a0 | Francois BERENGER | 22 February 2017, 18:19:24 UTC | Gc.compact needs to be called only inside of spawn_many | 22 February 2017, 18:19:24 UTC |
261f9da | Francois BERENGER | 22 February 2017, 18:02:56 UTC | added get_ncores | 22 February 2017, 18:02:56 UTC |
af9691e | Roberto Di Cosmo | 02 November 2016, 14:18:39 UTC | Merge pull request #50 from diml/master handle EINTR errors in wait_for_pids | 02 November 2016, 14:18:39 UTC |
52c1539 | Jeremie Dimino | 02 November 2016, 14:05:44 UTC | handle EINTR errors in wait_for_pids | 02 November 2016, 14:05:44 UTC |
fa5c3dd | Roberto Di Cosmo | 02 November 2016, 13:00:06 UTC | Merge pull request #49 from diml/master Prevent at_exit handlers registered in the parent from running in the child | 02 November 2016, 13:00:06 UTC |
c8aab66 | Jérémie Dimino | 02 November 2016, 11:44:14 UTC | Prevent at_exit handlers registered in the parent from running in the child | 02 November 2016, 11:44:14 UTC |
b1abe53 | Roberto Di Cosmo | 26 October 2016, 15:51:57 UTC | Merge pull request #48 from diml/master Only wait for the children started by parmap | 26 October 2016, 15:51:57 UTC |
99d9d23 | Jeremie Dimino | 26 October 2016, 10:14:13 UTC | Only wait for the children started by parmap Instead of calling Unix.wait n times, call Unix.waitpid on all the pids of the children parmap started. | 26 October 2016, 10:14:13 UTC |
10e2437 | Roberto Di Cosmo | 05 June 2016, 19:31:59 UTC | Merge pull request #45 from jeffmahoney/master can_redirect: don't treat mkdir returning EEXIST as an error | 05 June 2016, 19:31:59 UTC |
a1e92fe | Jeff Mahoney | 05 June 2016, 00:21:04 UTC | can_redirect: don't treat mkdir returning EEXIST as an error can_redirect's test for existance of the path followed by the mkdir is inherently racy. It's trivially possible to encounter a situation where the test for existance fails in two processes and one of them succeeds in creating the directory. Since both processes are looking to create and use the directory for the same purpose, we don't need to treat EEXIST as an error. | 05 June 2016, 00:21:04 UTC |
7598fb9 | Gabriel Scherer | 08 May 2016, 13:36:58 UTC | add ./opam taken from opam-repository | 12 May 2016, 08:08:39 UTC |
5813de5 | Gabriel Scherer | 08 May 2016, 13:29:25 UTC | Makefile: also install .cmx files Since 4.03 (really for flambda), the native compiler is sensibly more sensitive to the presence of .cmx files. There is now a warning if the .cmx for a module is absent, unless its interface (.cmi) has been compiled with -opaque. | 12 May 2016, 08:08:39 UTC |
e550505 | Roberto Di Cosmo | 12 May 2016, 07:52:39 UTC | Add information on the build system. | 12 May 2016, 07:52:39 UTC |
8a39374 | Roberto Di Cosmo | 12 May 2016, 07:37:50 UTC | Proper handling of dependencies, thanks Gabriel Sherer for spotting this | 12 May 2016, 07:37:50 UTC |
970e49b | Roberto Di Cosmo | 11 May 2016, 15:07:32 UTC | Reverting one option that still breaks compilation in 4.02, leaving open to fix | 11 May 2016, 15:07:32 UTC |
219e3d0 | Roberto Di Cosmo | 11 May 2016, 14:34:13 UTC | Fix for 4.03.0 issue in linking setcore into parmap.cmxa We should find a more proper way of doing this. | 11 May 2016, 14:42:56 UTC |
2abc50e | Roberto Di Cosmo | 30 April 2016, 16:17:45 UTC | Clean up Changelog | 30 April 2016, 16:17:45 UTC |
ce28808 | Roberto Di Cosmo | 27 April 2016, 09:42:32 UTC | Merge pull request #41 from UnixJunkie/fixes_for_compilation_w4.03.0 Fixes for compilation w4.03.0 : thanks Francois. | 27 April 2016, 09:42:32 UTC |
d5d197c | Francois BERENGER | 27 April 2016, 09:23:49 UTC | corrected warning related to Error type | 27 April 2016, 09:23:49 UTC |
6551bab | Francois BERENGER | 27 April 2016, 09:21:33 UTC | mv setcore.mli setcore.ml | 27 April 2016, 09:21:33 UTC |
a9f3396 | Roberto Di Cosmo | 17 September 2015, 14:34:21 UTC | Bumped up version string | 17 September 2015, 14:34:21 UTC |
51c6666 | Jérémie Courrèges-Anglas | 17 September 2015, 13:24:21 UTC | Makefile.in portability fixes Good news: https://forge.ocamlcore.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=ocaml-autoconf/ocaml-autoconf.git;a=commitdiff;h=9e0d03be521283b59e002d91422b7695825195e3 With a fresher ocaml.m4 & ./configure, the following diff allows one to automatically build the .cmxs on OpenBSD/amd64 (native dynlink supported) and to skip it on OpenBSD/sparc64 (non-native). | 17 September 2015, 13:37:17 UTC |
1cc6a04 | Roberto Di Cosmo | 17 September 2015, 13:35:32 UTC | Updated ocaml.m4 to version on master as of 17/9/2015 (not yet released on ocamlforge) | 17 September 2015, 13:35:32 UTC |
58f56f5 | Jérémie Courrèges-Anglas | 16 September 2015, 18:44:54 UTC | Makefile.in portability fixes Following configure.ac, two things in Makefile.in prevent me from using it verbatim. First, our cp(1) does not support the -a flag. I'd say that it could easily be replaced by -p. Second issue, parmap.a shouldn't be built on architectures that don't have native code support (ie. where ocamlopt is present and usable). There's another glitch but I'm afraid I can't fix it given the existing ocaml.m4: .cmxs plugins aren't supported on all native archs (for example OpenBSD/sparc). Here are two patches for the two issues. Cheers, >From 54bd6c21e9f56f58be29c8ef923e3a0ca2c32f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= <jca@wxcvbn.org> Date: Wed, 16 Sep 2015 20:26:05 +0200 Subject: [PATCH 1/2] Portability: use cp -p instead of -a | 17 September 2015, 10:39:17 UTC |
a276c4a | Jérémie Courrèges-Anglas | 16 September 2015, 11:41:00 UTC | Fix autoconf test with shells != bash Improve the portability of the test for ocamlbuild -use-ocamlfind. * shell redirections with "&> /dev/null" and the test(1) operator "==" are not portable. Fix both issues and simplify the test while here. With this, ./configure on OpenBSD correctly uses Makefile.in and not Makefile_3.11.in. | 16 September 2015, 12:42:46 UTC |
642dc2b | Roberto Di Cosmo | 23 April 2015, 18:26:51 UTC | Improved mkdwn | 23 April 2015, 18:26:51 UTC |
5b50969 | Roberto Di Cosmo | 23 April 2015, 18:26:19 UTC | Improved mkdwn | 23 April 2015, 18:26:19 UTC |
6fb0eb0 | Roberto Di Cosmo | 23 April 2015, 18:24:42 UTC | Improved mkdwn | 23 April 2015, 18:24:42 UTC |
a9f297a | Roberto Di Cosmo | 23 April 2015, 18:23:39 UTC | Improved mkdwn | 23 April 2015, 18:23:39 UTC |
738eb7c | Roberto Di Cosmo | 23 April 2015, 18:22:00 UTC | Improved mkdwn | 23 April 2015, 18:22:00 UTC |
0da42ca | Roberto Di Cosmo | 23 April 2015, 18:19:10 UTC | Adding mkdwn vesion of REAMDE | 23 April 2015, 18:19:25 UTC |