Xref: utzoo comp.lang.c:32418 comp.lang.fortran:3867 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!ncar!boulder!ccncsu!typhoon.atmos.colostate.edu!thorson From: thorson@typhoon.atmos.colostate.edu (Bill Thorson) Newsgroups: comp.lang.c,comp.lang.fortran Subject: Re: Fortran Main with C I/O Keywords: peace, calm, smart Message-ID: <9794@ccncsu.ColoState.EDU> Date: 1 Oct 90 22:50:41 GMT References: <1044@helens.Stanford.EDU> <1990Sep20.221007.8515@cs.dal.ca> <1990Sep21.132232.11305@DRD.Com> <1990Oct1.155217.24452@ux1.cso.uiuc.edu> Sender: news@ccncsu.ColoState.EDU Reply-To: thorson@typhoon.UUCP (Bill Thorson) Distribution: usa Organization: CSU Dept. of Atmospheric Science Lines: 24 In article <1990Oct1.155217.24452@ux1.cso.uiuc.edu> hirchert@harriett.ncsa.uiuc.edu (Kurt Hirchert) writes: >In article <1990Sep21.132232.11305@DRD.Com> mike@DRD.Com (Mike Rovak) writes: > >This "solution" works only if you are willing to give up using Fortran I/O. >There are a number of people who want to be able to use _both_ Fortran I/O >and C I/O. (In the future, similar issues may apply to error handling and >memory management.) >-- >Kurt W. Hirchert hirchert@ncsa.uiuc.edu >National Center for Supercomputing Applications On our Sun we have built in C calls named f_init() and f_exit() to alow FORTRAN io. I'm not sure about all Sun compilers but I have used it and it seems to work alright. Bill Thorson #!/bin/sh #-----------------------------------------------------------------------# echo Bill Thorson thorson@typhoon.atmos.colostate.edu echo Dept of Atmospheric Science +1 303 491-8339 echo Colorado State University echo Ft. Collins, CO 80523 Cray||Sun||Amiga -- I can't decide? #-----------------------------------------------------------------------#