Converts Fortran code to C code 
Author Message
 Converts Fortran code to C code

Converts fortran code to C code.

Do you know the tool (public domain) that converts Fortran code to C
code?
If you do, will you kindly send it to me?  I will really appreciate
your advice or any comments.

Thank you.



Mon, 18 Jan 1993 12:14:24 GMT  
 Converts Fortran code to C code

Quote:

>Converts Fortran code to C code.

>Do you know the tool (public domain) that converts Fortran code to C
>code?

this question has been asked several times. the tool is "f2c" and the
version i know was written at at&t, as i recall. it works quite well.

it is available via anonymous FTP from:

        research.att.com

in pub/dist/f2c.

if you can't ftp, then sending mail to netlib:


        send index

should get you started. it is quite large to post. i don't recall seing
this posted to comp.sources.{unix,misc}. it is also worth the effort to
get it.

hope this helps...

-bill

Bill Rosenkranz            |UUCP: {uunet,texsun}!convex!c1yankee!rosenkra



Thu, 21 Jan 1993 01:09:05 GMT  
 Converts Fortran code to C code

Quote:

>it is available via anonymous FTP from:

>    research.att.com

>in pub/dist/f2c.

Um, there is no pub/dist directory on research.att.com at the moment.
Not that FTP can find, anyway.
--
The 486 is to a modern CPU as a Jules  | Henry Spencer at U of Toronto Zoology



Thu, 21 Jan 1993 14:48:09 GMT  
 Converts Fortran code to C code

Quote:

> (William Rosencranz) writes:
>> [f2c] is available via anonymous FTP from:

>>        research.att.com

>> in pub/dist/f2c.

> Um, there is no pub/dist directory on research.att.com at the moment.
> Not that FTP can find, anyway.

No, but there is a directory  dist/f2c  which _does_ have the f2c and
f77 library files.

--
John Eaton

Department of Chemical Engineering
The University of Texas at Austin
Austin, Texas  78712



Fri, 22 Jan 1993 00:11:11 GMT  
 Converts Fortran code to C code

Quote:
>> Um, there is no pub/dist directory on research.att.com at the moment.
>> Not that FTP can find, anyway.

>No, but there is a directory  dist/f2c  which _does_ have the f2c and
>f77 library files.

Not last night there wasn't; I looked thoroughly and carefully.  However,
there is now.  A pox (a minor one :-)) on people who don't post "renovations
in progress" signs...
--
The 486 is to a modern CPU as a Jules  | Henry Spencer at U of Toronto Zoology



Fri, 22 Jan 1993 05:29:07 GMT  
 Converts Fortran code to C code

Quote:

>In article i wrote
>>it is available via anonymous FTP from:

>>        research.att.com

>>in pub/dist/f2c.

>Um, there is no pub/dist directory on research.att.com at the moment.

grrrr...thank u henry. it should be dist/f2c....sorry...

BTW/FYI: much of the vectorizable fortran that i pump thru f2c produces
vectorizable C code (admitedly not too much since i just joined
convex a few months ago). also note that the way convex does directives
in C (using "/*$dir ... */") results in recognizable directives for
the convex C compiler (vc or cc v4.0). cray (and alliant) uses
"#pragma ..." in scc. this was a pleasant suprise the first time i
tried it and is a distinct plus, IMHO...

-bill

Bill Rosenkranz            |UUCP: {uunet,texsun}!convex!c1yankee!rosenkra



Fri, 22 Jan 1993 00:34:04 GMT  
 Converts Fortran code to C code

Quote:


>>> Um, there is no pub/dist directory on research.att.com at the moment.

>>No, but there is a directory  dist/f2c  which _does_ have the f2c and
>>f77 library files.

>Not last night there wasn't; I looked thoroughly and carefully.  However,

i got f2c and libs on 6 (or 7?) aug from research.att.com. also there must
be something... BUT.. 'dir' shows noting. (i see this on other hosts too...
why ??) the trick, do an 'ls -l' or 'ls -FC' for long or short list.
perhaps the peoples out there go fix their ftp-servers, so these work
the way they sould.....

   stefan

(ps sorry for my english.... perhaps i'm going to learn it, sometime in the
future..:-)

--



Mon, 25 Jan 1993 05:35:41 GMT  
 Converts Fortran code to C code

Quote:

>i got f2c and libs on 6 (or 7?) aug from research.att.com. also there must
>be something... BUT.. 'dir' shows nothing. (i see this on other hosts too...
>why ??) the trick, do an 'ls -l' or 'ls -FC' for long or short list.
>perhaps the peoples out there go fix their ftp-servers, so these work
>the way they should .....

I ran into this same problem (being unable to get a directory from
research.att.com).  There are two solutions:

1) use the netlib mail server
   start out by saying


          Subject: send index

   read the reply, and go from there.  My guess is that 'send index
   from dist/f2c' will tell you what's in the f2c distribution.

2) fix your ftp client by getting the latest release of ftp.  I got
   mine from the BSD-4.3 tahoe distribution at wuarchive.wustl.edu
   I can't build it yet, because I have to find herror(3), but we'll
   get there.  Evidently, there have been some changes in the official
   ftp protocol that are not yet reflected in the vendors products.
   for example, Ultrix uses the old protocols.

---
--

Computational Science Laboratory        (716) 477-3457
Eastman Kodak Company                   #include <disclaimer.std>
Rochester, NY 14650



Tue, 02 Feb 1993 22:30:36 GMT  
 Converts Fortran code to C code

Quote:


>>f2c is available via anonymous FTP from:
>>        research.att.com
>>in pub/dist/f2c.
>Um, there is no pub/dist directory on research.att.com at the moment.
>Not that FTP can find, anyway.

The directory is dist/f2c.

Andy Sherman/AT&T Bell Laboratories/Murray Hill, NJ
AUDIBLE:  (201) 582-5928

What? Me speak for AT&T?  You must be joking!



Fri, 05 Feb 1993 20:33:27 GMT  
 
 [ 9 post ] 

 Relevant Pages 

1. convert Fortran code to C code

2. Converting Fortran code to c code

3. Should I convert FORTRAN code to C?

4. program converts fortran code to C or Pascal

5. How to link fortran code with C code in VC 5.0

6. How to link fortran code with C code in VC 5.0

7. How to link fortran code with C code in VC 5.0

8. converting this VB code to VC++ code

9. how to convert source code pascal to source code c

10. how convert a c code to a assembly code

11. Help convert the C code to C pseudo code

12. Converting PL1 Code to C Code

 

 
Powered by phpBB® Forum Software