From: Patrick Goldbronn - SYSCO <patrick.goldbronn@cea.fr>
To: Pierre Weis <Pierre.Weis@inria.fr>
Subject: Re: interfacing FORTRAN/OCAML??
Date: Tue, 31 Aug 1999 07:27:44 +0000 [thread overview]
Message-ID: <37CB83F0.506A2A81@cea.fr> (raw)
In-Reply-To: <37CA99E6.F6616950@cea.fr>
karine CHEVALIER-JABET wrote:
>
> Hello,
>
> 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?
>
> I guess this is a FAQ...
> Thank you
>
> Karine Chevalier-Jabet
In fact it is quite the same : you must interfacing C and fortran (it
compiler dependent, for the name of function). You should read the
compiler user guide (SUN is good for interfacing C and fortran)
You can go in http://caml.inria.fr/hump.html#ffi (ocaml fortran
interface)
I know INRIA works on an libraries which allow facilities to use big
array outside the heap (if you have such trouble).
For instance I have wrote a litle interface between C and fortran
array.
If you are interested, I can send it to you.
Bests Regards
--
#####################################
# Patrick GOLDBRONN #
# CEA - DRN/DMT/SYSCO #
# CE-Saclay, Bâtiment 460 #
# 91191 GIF/YVETTE CEDEX (FRANCE) #
# #
# Tél : 01 69 08 40 66 #
# Fax : 01 69 08 96 96 #
#####################################
next prev parent reply other threads:[~1999-09-01 13:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-30 12:54 karine CHEVALIER-JABET
1999-08-30 19:25 ` Xavier Leroy
[not found] ` <37CA99E6.F6616950@cea.fr>
1999-08-31 7:27 ` Patrick Goldbronn - SYSCO [this message]
1999-09-01 14:24 ` William Chesters
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=37CB83F0.506A2A81@cea.fr \
--to=patrick.goldbronn@cea.fr \
--cc=Pierre.Weis@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox