codes-org / codes

The Co-Design of Exascale Storage Architectures (CODES) simulation framework builds upon the ROSS parallel discrete event simulation engine to provide high-performance simulation utilities and models for building scalable distributed systems simulations
Other
40 stars 16 forks source link

CODES warning flags on BG/Q (Imported #139) #139

Open nmcglo opened 8 years ago

nmcglo commented 8 years ago

Original Issue Author: Misbah Mubarak Original Issue ID: 139 Original Issue URL: https://xgitlab.cels.anl.gov/codes/codes/issues/139


On Cetus, the CODES compilation with XL compilers gives warnings for Wall, Wshadow and Wextra flags saying "Option -Wall was incorrectly specified, The option will be ignored".

Anyway we can turn off these flags for the Blue Gene or XL compilers?

nmcglo commented 8 years ago

Jonathan Jenkins:

Hmm - it seems the check being used for flags additions (AX_CHECK_COMPILE_FLAG) fails only when there are errors - compiler warnings are ignored, and the flags are added. Later on, I can add a configure-time option --enable-xlc-flags, that replaces the normal warning flags with xlc variants. In the meantime, you can simply comment out (but don't commit :) ) the AX_CHECK_COMPILE_FLAG lines and supply the proper warning flags through the command line invocation of configure.

nmcglo commented 4 years ago

Needs re-evaluation in 2019.