We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The User Parameter handling is broken. E.g. the SCOREP_USER_PARAMETER_STRING expands to:
SCOREP_USER_PARAMETER_STRING
#define SCOREP_USER_PARAMETER_STRING( name, value ) { \ static SCOREP_User_ParameterHandle scorep_param = SCOREP_USER_INVALID_PARAMETER; \ SCOREP_User_ParameterString( &scorep_param, name, value ); }
be aware of the curly brackets!
However, the bindings call the parameter like the following:
void parameter_string(std::string name, std::string value) { static SCOREP_User_ParameterHandle scorep_param = SCOREP_USER_INVALID_PARAMETER; SCOREP_User_ParameterString(&scorep_param, name.c_str(), value.c_str()); }
which will result in always the same parameter being used, as scorep_param is only initialised once.
scorep_param
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The User Parameter handling is broken. E.g. the
SCOREP_USER_PARAMETER_STRING
expands to:be aware of the curly brackets!
However, the bindings call the parameter like the following:
which will result in always the same parameter being used, as
scorep_param
is only initialised once.The text was updated successfully, but these errors were encountered: