From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA17984; Tue, 15 Jul 2003 17:24:39 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA15818 for ; Tue, 15 Jul 2003 17:24:38 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6FFObf12623; Tue, 15 Jul 2003 17:24:37 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA13091; Tue, 15 Jul 2003 17:24:36 +0200 (MET DST) Date: Tue, 15 Jul 2003 17:24:36 +0200 From: Xavier Leroy To: Daniel Andor Cc: caml-list@inria.fr Subject: Re: [Caml-list] ocaml on supercomputer? Message-ID: <20030715172436.A7268@pauillac.inria.fr> References: <200307151531.33043.da209@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200307151531.33043.da209@cam.ac.uk>; from da209@cam.ac.uk on Tue, Jul 15, 2003 at 03:31:31PM +0100 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 mips:01 blas:01 lapack:01 ocamlopt:01 ocamlrun:01 threads:01 mpi:01 exploited:01 bindings:01 ocaml:01 supported:01 node:02 threaded:02 compile:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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