delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/08/22:40:50

Newsgroups: comp.os.msdos.djgpp
From: fanzhang AT eecg DOT toronto DOT edu (Fan Zhang)
Subject: Re: MPI lib with g77 (Question 2)
X-Nntp-Posting-Host: nmos.eecg.toronto.edu
Message-ID: <38A0C208.4558C8F5@eecg.toronto.edu>
Organization: eecg
X-Accept-Language: en
References: <389F82B9 DOT 98AA9059 AT eecg DOT toronto DOT edu> <87ovsm$l1r$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
Date: 9 Feb 2000 01:26:24 GMT
MIME-Version: 1.0
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
Lines: 44
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


Hans-Bernhard Broeker wrote:

> Fan Zhang <fanzhang AT eecg DOT toronto DOT edu> wrote:
> > Hi,
>
> > I'm trying to compile a bunch of Fortran programs using MPI with g77.
>
> Care telling what that 'MPI' is?
>

The MPI library is the standard Message Passing Interface library using in the

parallel computation. Since it is standard, I should link to it without
problem.


>
> > But it turns out that after g77 compiled, the MPI functions in the
> > object files change it's name to lower case.
>
> They don't exactly "change" to lower case, they are lower case all the
> time.  FORTRAN 77, the language compiled by g77, is 100%
> case-insensitive --- it's the one where you can write 'r Et   U      r  N'
> and get the exact same effect as if you'd typed 'return' or 'RETURN'.
>

Since we can get the g77 source code, is it possible for us to change it so
that even under DOS enviroment it is case-sensitive?

I found that the f2c did the same thing to "change" the subroutines to lower
case. [ ie. MPI_Something() is change to mpi_something__() ].

Is there anybody know how to make a change in either g77 source code or f2c
source code so that we can make a case sensitive g77 or f2c? (And also won't
include those double under scores "__")

Thanks,

Fan Zhang



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019