<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/155910c4eeb09e684f02ea4ae342873b"
  from="Yaron M. Minsky &lt;yminsky@c...&gt;"
  author="Yaron M. Minsky"
  date="2003-07-16T00:23:54"
  subject="Re: [Caml-list] ocaml on supercomputer?"
  prev="2003/07/28a24d1de6e0bfae026434e22611feed"
  next="2003/07/78071d0102ff4a36a938e2d2c7ee895b"
  prev-in-thread="2003/07/27aaf0216cdc64b28462ae2fb8011e62"
  prev-thread="2003/07/090fba18d39b84b18e76264783dfeb3f"
  next-thread="2003/07/9dd0cec623926fb5532d7122508b57a1"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] ocaml on supercomputer?">
<msg 
  url="2003/07/94b1d15bcfe80899b726ba1495ec2b0f"
  from="Daniel Andor &lt;da209@c...&gt;"
  author="Daniel Andor"
  date="2003-07-15T14:31:26"
  subject="[Caml-list] ocaml on supercomputer?">
<msg 
  url="2003/07/5fed1ff71a77f1003e3d332ed6614452"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-07-15T15:24:39"
  subject="Re: [Caml-list] ocaml on supercomputer?">
<msg 
  url="2003/07/27aaf0216cdc64b28462ae2fb8011e62"
  from="Hal Daume III &lt;hdaume@I...&gt;"
  author="Hal Daume III"
  date="2003-07-15T16:02:40"
  subject="Re: [Caml-list] ocaml on supercomputer?">
<msg 
  url="2003/07/155910c4eeb09e684f02ea4ae342873b"
  from="Yaron M. Minsky &lt;yminsky@c...&gt;"
  author="Yaron M. Minsky"
  date="2003-07-16T00:23:54"
  subject="Re: [Caml-list] ocaml on supercomputer?">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
I'll second that.  I've used ocaml to great effect on my tiny little
beowulf (6 nodes) via the MPI bindings.  Not only was I able to easily
MPI-ify my code, I was able to write a clean little functor that could
be used to parallelize any bag-of-jobs style parallel task in just a few
lines of code.

So, props to ocaml and Xavier.

y

On Tue, 2003-07-15 at 12:02, Hal Daume III wrote:
&gt; &gt; OCaml threads do not exploit shared-memory multiprocessing --
&gt; &gt; basically, all threads interleave their execution, hence multiple
&gt; &gt; processors are not exploited.  Your best bet is MPI or PVM.  Both have
&gt; &gt; bindings for OCaml.
&gt; 
&gt; I thought I'd just stick in my own props for the Ocaml MPI bindings.  I
&gt; had an ~11k line ocaml program which I ported to MPI.  It only required
&gt; 500 or so more lines of code to MPI-ify it (with minor restructuring so
&gt; these parts could be separated out).
&gt; 
&gt; It now runs on our supercomputer (56th faster computer in the world,
&gt; according to top500.org) on anywhere from 10 to 170 nodes (IBM
&gt; Netfinity Cluster P4 Xeon 2 GHz - Myrinet/ 512), and performs incredibly
&gt; well.
&gt; 
&gt; I am *very* happing with these bindings and would like to formally thank
&gt; Xavier for writing them :).
&gt; 
&gt; Best of luck.
&gt; 
&gt;  - Hal
&gt; 
&gt; 
&gt; 
&gt; -------------------
&gt; To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
&gt; Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
&gt; Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
-- 
|--------/            Yaron M. Minsky              \--------|
|--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|

Open PGP --- KeyID B1FFD916 (new key as of Dec 4th)
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

