Modify

Opened 5 months ago

Last modified 2 months ago

#2171 new defect

PAPI Compile Issues with Intel 19 beta on Ubuntu 18.04

Reported by: zachetie@… Owned by:
Priority: unset Milestone:
Component: Other Version: development version
Keywords: Cc:

Description

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)

Attachments (0)

Change History (2)

comment:1 Changed 4 months ago by zachetie@…

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.

comment:2 Changed 2 months ago by Roland Haas

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).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.