<?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/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?"
  prev="2003/07/94b1d15bcfe80899b726ba1495ec2b0f"
  next="2003/07/27aaf0216cdc64b28462ae2fb8011e62"
  prev-in-thread="2003/07/94b1d15bcfe80899b726ba1495ec2b0f"
  next-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>
&gt; 1) (Cross) compiling.  Which of mips r12000, power4 and usparcIII are best 
&gt; supported so that my existing code runs well?

SPARC/Solaris and MIPS/IRIX are well supported, SPARC perhaps a bit better.
The POWER/AIX port of OCaml isn't really supported because I don't
have such a machine at hand.  (And also because AIX is a pain.)

&gt; How do I cross-compile (if I need to), given that there are math
&gt; libraries (BLAS, LAPACK) that I need to link to on the target
&gt; platform?  To run ocamlopt on the target machine, at a minimum I
&gt; need to cross-compile ocamlrun, right?

You do not need to cross-compile: just build the OCaml distribution on
the target machine, and compile your program on the target machine as well.

&gt; 2) Threads vs. MPI.  Writing threaded code for an SMP node would be
&gt; the simplest way for me to harness many CPUs at the same time.  But
&gt; what's thread support like on different platforms (listed below)
&gt; with OCaml?

OCaml threads do not exploit shared-memory multiprocessing --
basically, all threads interleave their execution, hence multiple
processors are not exploited.  Your best bet is MPI or PVM.  Both have
bindings for OCaml.

Hope this helps,

- Xavier Leroy

-------------------
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>

