-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issues encountered by the Fujitsu compiler #2261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just got one question, see below.
@@ -259,7 +259,11 @@ function( NEST_CHECK_RANDOM123 ) | |||
if ( ${COMPILE_RESULT} AND ${RUN_RESULT} EQUAL 0 ) | |||
set( HAVE_RANDOM123 ON ) | |||
else () | |||
message( ${RUN_OUTPUT} ) | |||
if ("${RUN_OUTPUT}" STREQUAL "") | |||
message( "Test output is empty." ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this message? Would it not be better to call message()
only if RUN_OUTPUT
is not empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RUN_OUTPUT
is empty only when the compilation of the Random123 tests failed, so I've added a message for that instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR fixes issues that surfaced when compiling with the Fujitsu compiler on Fugaku.
std::vector
, which fixes Refactor variable initialization to avoid C++17 feature for type deduction #2207.