[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Xavier Leroy <xavier.leroy@i...> |
| Subject: | Re: [Caml-list] ocaml on supercomputer? |
> 1) (Cross) compiling. Which of mips r12000, power4 and usparcIII are best > 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.) > How do I cross-compile (if I need to), given that there are math > libraries (BLAS, LAPACK) that I need to link to on the target > platform? To run ocamlopt on the target machine, at a minimum I > 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. > 2) Threads vs. MPI. Writing threaded code for an SMP node would be > the simplest way for me to harness many CPUs at the same time. But > what's thread support like on different platforms (listed below) > 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