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
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
(http://caml.inria.fr/bin/msearch/caml-list) for previous discussions
on this topic.

All the best,

- Xavier Leroy