English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
compiling OCaml program for supercomputer running SGI Propack 6?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-12-18 (16:58)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] compiling OCaml program for supercomputer running SGI Propack 6?

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:

-- Damien