File: index.htm

package info (click to toggle)
cfortran 20110621-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 1,120 kB
  • sloc: ansic: 3,390; fortran: 959; makefile: 112; sh: 14
file content (76 lines) | stat: -rw-r--r-- 4,210 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="GENERATOR" content="Mozilla/4.5 [en] (X11; I; SunOS 5.5.1 sun4u) [Netscape]">
   <title>cfortran.h</title>
</head>
<body bgcolor="#FFFFFF">
<br>&nbsp;
<h2>
cfortran.h :  Interfacing C or C++ and FORTRAN
</h2>

cfortran.h is an easy-to-use powerful bridge between C and FORTRAN.<br>
It provides a transparent, machine independent interface between<br>
C and FORTRAN routines and global data.<br>
<br>
C and C++ are generally equivalent as far as cfortran.h is concerned.<br>
Unless explicitly noted otherwise, mention of C implicitly includes C++.<br>
<br>
The following presentation is a good introduction to mixed language programming.<br>
&nbsp;&nbsp;&nbsp;Burkhard D. Burow. "Mixed Language Programming",<br>
&nbsp;&nbsp;&nbsp;In Computing in High Energy Physics (CHEP'95), Rio de Janeiro, Brazil,<br>
&nbsp;&nbsp;&nbsp;Sept. 1995, editors R. Shellard and T.Nguyen, World Scientific, pp. 610-614.<br>
Here is the <a href="http://www-zeus.desy.de/~burow/cfortran/CHEP95.cfortran.h.paper.ps">paper</a>
and the <a href="http://www-zeus.desy.de/~burow/cfortran/CHEP95.cfortran.h.talk.ps">slides</a> of the presentation.<br>
It introduces cfortran.h and alternative methods for mixed language programming<br>
and thus can help you decide if cfortran.h can be of use to you.<br>
<br>
Knowing its popularity might help you decide if cfortran.h can be of use to you.<br>
The following is my best estimate of the number of users of cfortran.h.<br>
Since its first release in 1990, <a href="mailto:burow@desy.de">I</a> have exchanged e-mails with hundreds of users of cfortran.h.<br>
Assuming that a small fraction of users of cfortran.h ever send me e-mail,<br>
then cfortran.h has a few thousand users. You easily can find users in a www search.<br>
<br>
<br>
The cfortran.h software consists of the single C header file <a href="file:///usr/include/cfortran.h">cfortran.h</a>.<br>
<br>
The documentation is the single file <a href="cfortran.html">cfortran.html</a>.<br>
The documentation also is available at its original location <a href="http://wwwinfo.cern.ch/asd/cernlib/cfortran.html">http://wwwinfo.cern.ch/asd/cernlib/cfortran.html</a>.<br>
The documentation also is available as the gzipped ASCII file <a href="cfortran.doc.gz">cfortran.doc.gz</a>.<br>
<br>
A variety of small independent applications are available to test and demonstrate cfortran.h.<br>
All the applications are contained in
<!--a compressed tar file <a href="examples/cfortran.examples.tar.gz">cfortran.examples.tar.gz</a>.<br>
The following will unpack the applications into a directory named eg/.<br>
The program zcat is the GNU version or compatible.<br>
unix&gt; zcat cfortran.examples.tar.gz | tar xf -<br> -->
the <a href = "examples/">examples</a> directory.
<br>
Though NOT recommended for most purposes,<br>
the above applications also are available in a single C file <a href="examples/cfortest.c">cfortest.c</a><br>
and a single Fortran file <a href="examples/cfortex.f">cfortex.f</a>.<br>
<br>
<br>
If cfortran.h has served you well, you may want to look at the recent instance of graph reduction<br>
described at <a href="http://www-zeus.desy.de/~funnel/TSIA/index.htm">http://www-zeus.desy.de/~funnel/TSIA/index.htm</a>.<br>
cfortran.h provides an application with transparent mixed language programming.<br>
In other words, cfortran.h hides the details of mixed language programming from the application.<br>
In a similar vein, graph reduction (a.k.a. dataflow) has long promised transparent parallelism,<br>
reliability and other execution features. The promises have not been fulfilled, since graph reduction<br>
lacked a practical implementation. Though not yet widely known, practical graph reduction recently<br>
has been achieved.<br>
<br>
<br>
<hr WIDTH="100%">



<p>Burkhard D. Steinmacher-Burow, Postfach 1163, 73241 Wernau, Germany.
<br><a href="mailto:burow@desy.de">burow@desy.de</a>
<br><a href="http://www-zeus.desy.de/~burow/cfortran/index.htm">http://www-zeus.desy.de/~burow/cfortran/index.htm</a>
<p>
<hr WIDTH="100%">
</body>
</html>