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=1.5 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id B4D61BBAF for ; Sat, 20 Dec 2008 00:00:17 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.36,251,1228086000"; d="scan'208";a="21544790" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 20 Dec 2008 00:00:17 +0100 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id mBJN0HLJ008980 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sat, 20 Dec 2008 00:00:17 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqQBAHq2S0lKfVwZkWdsb2JhbACTJz4BAQEBCQsKBxEDqgdYg1SBA4wWAQMBA4MA X-IronPort-AV: E=Sophos;i="4.36,251,1228086000"; d="scan'208";a="21544789" Received: from qw-out-2122.google.com ([74.125.92.25]) by mail1-smtp-roc.national.inria.fr with ESMTP; 20 Dec 2008 00:00:16 +0100 Received: by qw-out-2122.google.com with SMTP id 3so271636qwe.33 for ; Fri, 19 Dec 2008 15:00:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=nRDpBSsnRLdzuf2F3VhBVsJzzEE2ScliL6+yTcP74pM=; b=DFxcQbgZIO69dBdXVi1ISNiWDS1lDWF7nRf8LP/T2YK02rOjALspPefotg0Vq5GpsL fG4EZA40y0HX8+f2o1YfU+u4uoMl+MG/NuRo4QNv5m6tMzds5aGMvAIT0sQ7d0Wa5FUg 46HZG6Pm1de5r44k0BD6dabFNwrHAyHFQcTOo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=QW76qhjBJEg5Ixo4LAUtRq8V09mzgN1zQfMdA3KJUwceOzYM0tbdm+cInnwS4KUhap S55u17VT70G14/U91eFtK9I2OYL43TmS5aqNgn0cOCx9Si/Zrm53WZ7/El2TXJ/6hHLs ul5Cza7ovWsVdlz2gMC6qVH72NxWZZrHxEIlA= Received: by 10.214.115.1 with SMTP id n1mr4741911qac.374.1229727615163; Fri, 19 Dec 2008 15:00:15 -0800 (PST) Received: from ?192.168.1.102? ([64.30.3.122]) by mx.google.com with ESMTPS id 5sm21760509ywl.55.2008.12.19.15.00.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Dec 2008 15:00:14 -0800 (PST) Cc: "Hezekiah M. Carty" , Oliver Bandel , OCaml Message-Id: <1F91E9AB-0C4F-4DF3-A631-6FD9C563D321@gmail.com> From: Alexy Khrabrov To: Richard Jones In-Reply-To: <20081219224750.GB350@annexia.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: [Caml-list] More cores Date: Fri, 19 Dec 2008 18:00:00 -0500 References: <1229719052.494c060c9d36d@webmail.in-berlin.de> <20081219212747.GA30594@annexia.org> <3a360f590812191403g504f1a5fk815cce99a4bb1101@mail.gmail.com> <20081219224750.GB350@annexia.org> X-Mailer: Apple Mail (2.929.2) X-Miltered: at concorde with ID 494C2781.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; descriptors:01 arrays:01 bigarrays:01 cheers:01 wrote:01 wrote:01 caml-list:01 functions:01 strings:01 tree:02 ids:03 let:03 guess:04 fri:05 parallel:05 I've used prelude.ml to parallelize my system, and it works fine on Mac OSX. Ilmari has graciously worked with me to add versions of pmap called pmap_init to initialize per-process file descriptors, and pmap_initWithIndex to let the pieces know their IDs -- hopefully they will be rolled into the trunk once it's refactored. On Dec 19, 2008, at 5:47 PM, Richard Jones wrote: > On Fri, Dec 19, 2008 at 05:03:30PM -0500, Hezekiah M. Carty wrote: >> The prelude.ml project has some fork-based parallel functions for >> lists, arrays, strings and bigarrays: >> >> http://github.com/kig/preludeml/tree/master/prelude.ml > > Ace! Any good documentation though? I found a few things in Google, > eg: http://fhtr.blogspot.com/2008/09/preludeml-more-multicore-mandelbrot.html > http://fhtr.blogspot.com/2008/08/preludeml-some-parallel-combinators.html > But I guess some proper introductory documentation would be helpful. In fact it looks self-documenting. :) Cheers, Alexy