In article <cf1a10df-04a2-4ec6-b2d4->,
Malcolm McLean <> wrote:
> On Sep 13, 4:53pm, blm...@myrealbox.com <blm...@myrealbox.com> wrote:
> > In article
> <98dda78b-6b9c-4089-8e79-d1389b691...@y31g2000vbt.googlegroups.com>,
> > Malcolm McLean <malcolm.mcle...@btinternet.com> wrote:
> >
> > > On Sep 13, 3:19pm, blm...@myrealbox.com <blm...@myrealbox.com> wrote:
[ snip ]
> > > On my MPI implementation the mpicc was very fussy, rejecting C++ style
> > > comments. So I would guess that it was a special compiler. I never
> > > tried to dive into its internals, however.
> >
> > I guess that's possible, though it seems equally possible to me that
> > it called a regular C compiler but passed it flags that made it reject
> > C++-style comments. I can't really imagine why someone implementing
> > MPI would produce a full compiler -- I mean, the MPI API defines a set
> > of library functions rather than language extensions -- but what do
> > I know, right?
> >
> > (What implementation was this? I'm curious.)
> >
> It was running on a Beowulf. There were endless versions, for 64 bit
> and 32-bit libraries. The system kept falling over because the paths
> were set up incorrectly and the wrong version of mpirun was being used
> with the mpi compiler, or likewise.
Sounds very irritating. So this was a heterogeneous cluster? I don't
have any real experience with those -- in theory MPI is supposed to be
able to deal with them, but in practice, well, we know the difference
between theory and practice, right?
> Whilst I agree that someone wouldn't write a compiler from scratch
> just to compile MPI, they might have patched a compiler to get rid of
> some of the problems, such as IO not working normally any more.
Define "normally"

. (I/O does get a little potentially
strange when a "program" consists of multiple processes running on
different computers that don't share access to a terminal window
and indeed may not even have access to a shared filesystem.)
I guess it's possible, though it seems like making stdout/stderr
do something sensible would be something one would address in a
runtime system rather than in the compiler. But you used this
system and I didn't ....
I think I'm drifting further and further off topic, here, though.
--
B. L. Massingill
ObDisclaimer: I don't speak for my employers; they return the favor.