Newsgroups: comp.os.parix
From: joe@gonzo.informatik.uni-dortmund.de (Joachim Sprave)
Subject: Re: C calls Fortran
Organization: CS Department, Dortmund University, Germany
Date: 13 May 1996 09:03:34 GMT
Message-ID: <4n6tt6$efm@fbi-news.Informatik.Uni-Dortmund.DE>

In article <4n2bu8$1nt@fbi-news.Informatik.Uni-Dortmund.DE>,
joe@gonzo.informatik.uni-dortmund.de (Joachim Sprave) writes:
|> Does anyone know how to call f77 subroutines from a C program
|> in Parix (Power Xplorer)?
|> 
Sorry for anwering my own question in this overcrowded newsgroup :-),
but perhaps it's enough that I spent a weekend finding out:

Fortran needs its I/O system to be initialized. If you have an
F77 subroutine doing any I/O, the main has to be in Fortran, too, and
you should use f77.px as the linker driver.

	joe


