caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* compiling OCaml program for supercomputer running SGI Propack 6?
@ 2009-12-17 18:28 Dave Lewis
  2009-12-18 16:51 ` [Caml-list] " ds.caml
  2009-12-18 16:58 ` Damien Doligez
  0 siblings, 2 replies; 3+ messages in thread
From: Dave Lewis @ 2009-12-17 18:28 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 1366 bytes --]

[Apologies for duplication across mailing lists.]

Hi - I'd like to run this OCaml program:

       http://www.cs.utah.edu/~hal/megam/<http://www.google.com/url?sa=D&q=http://www.cs.utah.edu/%7Ehal/megam/&usg=AFQjCNHB7epkdYpt-s4xTcYEn08rjFVv9g>

on the 3TB memory supercomputer described here


http://www.ncsa.illinois.edu/UserInfo/Resources/Hardware/SGIAltix/Tec...<http://www.google.com/url?sa=D&q=http://www.ncsa.illinois.edu/UserInfo/Resources/Hardware/SGIAltix/TechSummary/&usg=AFQjCNE-j5ESYpWkNcp516iaiCwl6qXtnw>

It appears that the OS, SGI ProPack 6

       http://www.sgi.com/products/software/linux/propack.html<http://www.google.com/url?sa=D&q=http://www.sgi.com/products/software/linux/propack.html&usg=AFQjCNFiosQdkaP9Ufb5oFbjIOEto94QMg>

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.

I'm not sure where to go from here.   The compilers available for the
machine are listed as:

       Intel 10.1: Fortran77/90/95 C C++
       GNU: Fortran77 C C++

so if there were an OCaml to Fortran, C, or C++ translator we might be
able to go that route.  Anybody know of one?  On the other hand, I
know there's been some use of OCaml in scientific computing, so maybe
someone has a better idea?
Regards, Dave
www.DavidDLewis.com

[-- Attachment #2: Type: text/html, Size: 1754 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] compiling OCaml program for supercomputer running SGI Propack 6?
  2009-12-17 18:28 compiling OCaml program for supercomputer running SGI Propack 6? Dave Lewis
@ 2009-12-18 16:51 ` ds.caml
  2009-12-18 16:58 ` Damien Doligez
  1 sibling, 0 replies; 3+ messages in thread
From: ds.caml @ 2009-12-18 16:51 UTC (permalink / raw)
  To: caml-list

On 2009/12/17 19:28, Dave Lewis wrote:
>        Exec format error. Binary file not executable.
>
Seen that before: looks like you're trying to run an x86_64 binary on  
an Itanium machine.
You would have to build O'Caml on that machine and compile your code  
there.  Last time I tried O'Caml on Itanium Linux (that was RHEL 4  
about a year ago) everything worked just fine.
Hope this helps.
-Daniel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] compiling OCaml program for supercomputer running SGI Propack 6?
  2009-12-17 18:28 compiling OCaml program for supercomputer running SGI Propack 6? Dave Lewis
  2009-12-18 16:51 ` [Caml-list] " ds.caml
@ 2009-12-18 16:58 ` Damien Doligez
  1 sibling, 0 replies; 3+ messages in thread
From: Damien Doligez @ 2009-12-18 16:58 UTC (permalink / raw)
  To: Dave Lewis; +Cc: caml-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-18 16:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-17 18:28 compiling OCaml program for supercomputer running SGI Propack 6? Dave Lewis
2009-12-18 16:51 ` [Caml-list] " ds.caml
2009-12-18 16:58 ` Damien Doligez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).