From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id BA114BBC4 for ; Fri, 20 Feb 2009 20:01:22 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtEBADSNnknU436rkWdsb2JhbACBbpJqAQEBAQkLCgcRA79wAYQOBg X-IronPort-AV: E=Sophos;i="4.38,242,1233529200"; d="scan'208";a="23300014" Received: from moutng.kundenserver.de ([212.227.126.171]) by mail3-smtp-sop.national.inria.fr with ESMTP; 20 Feb 2009 20:01:10 +0100 Received: from gate.lan.gerd-stolpmann.de (dslb-084-059-117-089.pools.arcor-ip.net [84.59.117.89]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis) id 0MKxQS-1LaacX0Hj8-00024a; Fri, 20 Feb 2009 20:01:09 +0100 Received: from [192.168.0.32] (fw.lan.gerd-stolpmann.de [192.168.1.1]) by gate.lan.gerd-stolpmann.de (Postfix) with ESMTP id B5F53C12A; Fri, 20 Feb 2009 20:01:08 +0100 (CET) Subject: Re: [Caml-list] true parallelism / threads From: Gerd Stolpmann To: Atmam Ta Cc: caml-list@yquem.inria.fr In-Reply-To: <167d0c900902200840n3b236bb7p411e054c49381486@mail.gmail.com> References: <167d0c900902200840n3b236bb7p411e054c49381486@mail.gmail.com> Content-Type: text/plain Date: Fri, 20 Feb 2009 20:03:02 +0100 Message-Id: <1235156582.10617.5.camel@flake.lan.gerd-stolpmann.de> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+CZkAT+zSbcEyPUdh52GGwa763UmpFd+D9wo3 e3s8ILuGLG6vmmMuRYRTMq3qNZFeWbieVOnvA27Eo2zL/NwFSx hDFUtDFPlV127UZE1uB5aQVlgSsU89b X-Spam: no; 0.00; parallelism:01 gerd:01 stolpmann:01 ocaml:01 ocaml:01 ocamlnet:01 gerd:01 stolpmann:01 viktoriastr:01 64293:01 darmstadt:01 6151:01 6151:01 searcher:98 blog:98 Am Freitag, den 20.02.2009, 10:40 -0600 schrieb Atmam Ta: > Hi, > > I am trying to evaluate ocaml for a project involving large scale > numerical calculations. We would need parallel processing, i.e. a > library that distributes jobs accross multiple processors within a > machine and accross multiple PCs. > Speed and easy programability are important. I have tried to search > this issue first, but the postings I found were usually negative and > 4-5 years old. On the other hand, I see a number of libraries in the > Hump that by now might be taking care of these things. > > My question is: is ocaml good for parallel processing / hreaded > computation, are there (mature) libraries or tools that let developers > make use of multicore and multimachine environments? ocamlnet contains a mature sunrpc implementation, and a framework for multi-processing. It is used in professional cluster environments, e.g. by the Wink people searcher. See here for a commented example: http://blog.camlcity.org/blog/parallelmm.html Gerd -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------