On Tue, 29 Jul 2008, Jeff Squyres wrote:

On Jul 29, 2008, at 6:52 AM, Mark Dixon wrote:

FWIW: I compile with PGI 7.1.4 regularly on RHEL4U4 and don't see this problem. It would be interesting to see the config.log's from these builds to see the actual details of what went wrong.
...
Compiler      OS                   Result
============  ===================  ============
32-bit 7.1.6  CentOS 5.2 (32-bit)  no threading
32-bit 7.1.4  CentOS 5.2 (32-bit)  no threading  **config.log attached**
32-bit 7.1.4  RHEL4u6 (64-bit)     works!
32-bit 7.1.4  CentOS 5.1 (64-bit)  no threading
...
I'm afraid this one is out of my bailiwick -- I don't know. Looking through your config.log file, it does look like this lack of __builtin_expect is the killer. FWIW, here's my configure output when I run with pgcc v7.1.4:
...
I suggest that you bring this issue up with PGI support; they're fairly responsive on their web forums.
...

In case anyone's interested, the fix is to upgrade to at least PGI 7.2-2.

It seems that there was a change to glibc between RHEL4 and RHEL5 (2.3 vs. 2.5) which requires __builtin_expect to be defined when using certain pthread library functions.

This also appears to be a problem for the Sun Studio 12 compiler (bug id 6603861), but it would seem that Sun's not in a hurry to fix it.

Thanks for your time,

Mark
--
-----------------------------------------------------------------
Mark Dixon                       Email    : m.c.di...@leeds.ac.uk
HPC/Grid Systems Support         Tel (int): 35429
Information Systems Services     Tel (ext): +44(0)113 343 5429
University of Leeds, LS2 9JT, UK
-----------------------------------------------------------------

Reply via email to