PAPI Compile Issues with Intel 19 beta on Ubuntu 18.04

Create issue
Issue #2171 new
Zach Etienne created an issue

I get this error message when attempting to compile the latest ETK master (Jul 27, 2018) with the default ThornList using Intel 19.0.0.070 20180524 on Ubuntu 18.04:

PAPI: Building... In file included from pfmlib_common.c(32): /usr/include/stdlib.h(140): error: identifier "_Float32" is undefined extern _Float32 strtof32 (const char *restrict nptr, ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(146): error: identifier "_Float64" is undefined extern _Float64 strtof64 (const char *restrict nptr, ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(158): error: identifier "_Float32x" is undefined extern _Float32x strtof32x (const char *restrict nptr, ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(164): error: identifier "_Float64x" is undefined extern _Float64x strtof64x (const char *restrict nptr, ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(233): error: identifier "_Float32" is undefined _Float32 __f) ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(239): error: identifier "_Float64" is undefined _Float64 __f) ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(251): error: identifier "_Float32x" is undefined _Float32x __f) ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(257): error: identifier "_Float64x" is undefined _Float64x __f) ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(316): error: identifier "_Float32" is undefined extern _Float32 strtof32_l (const char *restrict nptr, ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(323): error: identifier "_Float64" is undefined extern _Float64 strtof64_l (const char *restrict nptr, ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(337): error: identifier "_Float32x" is undefined extern _Float32x strtof32x_l (const char *restrict nptr, ^

In file included from pfmlib_common.c(32): /usr/include/stdlib.h(344): error: identifier "_Float64x" is undefined extern _Float64x strtof64x_l (const char *restrict nptr, ^

compilation aborted for pfmlib_common.c (code 2)

Keyword: None

Comments (2)

  1. Zach Etienne reporter
    • removed comment

    I have confirmed that when ExternalLibraries/PAPI is removed from the ThornList, the ETK compiles fine with Intel 19.0.0.070 + Ubuntu 18.04.

  2. Roland Haas
    • removed comment

    Is this still the case? The line

    extern _Float64x strtof64x_l (const char *restrict nptr,
    

    looks perfectly fine to me as long as _Float64x is actually defined. You may have to dig deeper to see why / if _Float64x is not defined (in some header file I would assume).

  3. Log in to comment