Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
interfacing FORTRAN/OCAML??
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1999-08-31 (12:19)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: interfacing FORTRAN/OCAML??
> I would like to know if interfacing FORTRAN with OCAML is possible(OCAML
> calling FORTRAN) ; I read it for C, but didn t see for Fortran. Does it
> mean I shoud call fortran with C then C with OCAML?

Yes, that's the basic idea.  Most Fortran compilers (except perhaps
some Fortran 9x stuff) have a pretty straightforward interface with C,
so it's not as bad as it sounds.

Several of your colleagues at CEA have significant experience on
interfacing Fortran libraries with Caml code.  You can look on the
archives of the Caml mailing list
( for previous discussions
on this topic.

All the best,

- Xavier Leroy