Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] PGI 10.0 configure fails (OMPI 1.3.3)
From: Scott Beardsley (scott_at_[hidden])
Date: 2009-11-24 14:41:33

There is a post on the PG forums[1] that claims it is a bug in the OMPI
1.3.3 configure script. I couldn't find any reference on the
openmpi-users or openmpi-devel lists. Is there a fix for the configure
script floating around.

It seems more like a PGI problem to me. pgcc (v10.0) can't compile the

int main ()
struct foo {int a, b;}; size_t offset = offsetof(struct foo, b);
  return 0;

$ pgcc conftest.c
PGC-S-0037-Syntax error: Recovery attempted by deleting keyword struct
(conftest.c: 4)
PGC-S-0039-Use of undeclared variable foo (conftest.c: 4)
PGC-S-0039-Use of undeclared variable b (conftest.c: 4)
PGC/x86-64 Linux 10.0-0: compilation completed with severe errors

pgcc v9 and gcc seem to have no problem with that code.

Oh, here is my configure command:

CC=pgcc CXX=pgCC F77=pgf77 FC=pgf90 ./configure