From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 98609BC37 for ; Fri, 18 Dec 2009 17:58:52 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.47,419,1257116400"; d="scan'208";a="52440799" Received: from bne75-9-88-168-234-79.fbx.proxad.net (HELO [192.168.0.62]) ([88.168.234.79]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA; 18 Dec 2009 17:58:51 +0100 Cc: caml-list@yquem.inria.fr Message-Id: <3DC4D16E-C188-4476-9304-3C40C2C94919@inria.fr> From: Damien Doligez To: Dave Lewis In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Caml-list] compiling OCaml program for supercomputer running SGI Propack 6? Date: Fri, 18 Dec 2009 17:58:50 +0100 References: X-Mailer: Apple Mail (2.936) X-Spam: no; 0.00; damien:01 damien:01 ocaml:01 ocaml:01 compilation:01 compiler:01 itanium:01 2009:98 28,:98 doligez:01 doligez:01 wrote:01 compile:01 caml-list:01 executables:01 Hi, On 2009-12-17, at 19:28, Dave Lewis wrote: > [Apologies for duplication across mailing lists.] > > Hi - I'd like to run this OCaml program: [...] > on the 3TB memory supercomputer described here > http://www.ncsa.illinois.edu/UserInfo/Resources/Hardware/SGIAltix/Tec > ... > > It appears that the OS, SGI ProPack 6 [...] > > is a version of Linux, but the 64-bit Linux compilation we produced > > using the OCaml 3.10 compiler gives this error message: > > Exec format error. Binary file not executable. > It looks like you are trying to run Pentium executables on an Itanium machine. If the supercomputer is available for compiling, you should bootstrap and install OCaml on that machine, otherwise you'll need to find a smaller Itanium-based machine to compile your program (and hope the executables will be compatible), or make a cross-compiler to run on your PC. Making a cross-compiler is quite a lot harder than installing OCaml on the target machine directly, but you have a how-to here: http://brion.inria.fr/gallium/index.php/CrossCompiler -- Damien