Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] PGI 10.0 configure fails (OMPI 1.3.3)
From: Scott Beardsley (scott_at_[hidden])
Date: 2009-11-24 17:11:45


> pgcc v9 has problem to compile the above test program:

Not for me (pgcc v9.0-3):

$ cat c.c
#include<stddef.h>
int
main ()
{
struct foo {int a, b;}; size_t offset = offsetof(struct foo, b);
  return 0;
}
$ pgcc -V

pgcc 9.0-3 64-bit target on x86-64 Linux -tp gh-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
$ pgcc c.c
$ echo $?
0

> PGC/x86-64 Linux 9.0-4: compilation completed with severe errors

Ahh it looks like you have a slightly newer version of pgcc than I do.
That might explain the difference.

Scott