Skip to content
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

examples: fix compiler warnings for #2281 #2296

Merged
merged 1 commit into from
Feb 23, 2018

Conversation

prwolfe
Copy link
Contributor

@prwolfe prwolfe commented Feb 23, 2018

Change to the example code to remove compiler warnings. Because this is examples some information was left in comments of behind ifdefs instead of simple deletion.

Description

Motivation and Context

Related Issues

  • Closes
  • Blocks
  • Is blocked by
  • Follows
  • Precedes
  • Related to
  • Part of
  • Composed of

How Has This Been Tested?

Screenshots

Checklist

  • My commit messages mention the appropriate GitHub issue numbers.
  • My code follows the code style of the affected package(s).
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the code contribution guidelines for this project.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • No new compiler warnings were introduced.
  • These changes break backwards compatibility.

Additional Information

@prwolfe prwolfe self-assigned this Feb 23, 2018
@prwolfe prwolfe requested review from mhoemmen and jmgate February 23, 2018 18:33
@bartlettroscoe bartlettroscoe added the stage: in progress Work on the issue has started label Feb 23, 2018
@trilinos-autotester
Copy link
Contributor

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request.

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: Trilinos_autotester_test

  • Build Num: 426
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
COMPILER_MODULE sems-gcc/4.8.4
JENKINS_BUILD_TYPE Release
JENKINS_COMM_TYPE MPI
JENKINS_DO_COMPLEX OFF
JENKINS_JOB_TYPE Experimental
MPI_MODULE sems-openmpi/1.8.7
PULLREQUESTNUM 2296
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH issue2281
TRILINOS_SOURCE_REPO https://github.com/prwolfe/Trilinos
TRILINOS_SOURCE_SHA 6e7c3b5
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA e79722a

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3

  • Build Num: 291
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
COMPILER_MODULE sems-gcc/4.9.3
JENKINS_BUILD_TYPE Release
JENKINS_COMM_TYPE MPI
JENKINS_DO_COMPLEX OFF
JENKINS_JOB_TYPE Experimental
MPI_MODULE sems-openmpi/1.8.7
PULLREQUESTNUM 2296
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH issue2281
TRILINOS_SOURCE_REPO https://github.com/prwolfe/Trilinos
TRILINOS_SOURCE_SHA 6e7c3b5
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA e79722a

Using Repos:

Repo: TRILINOS (prwolfe/Trilinos)
  • Branch: issue2281
  • SHA: 6e7c3b5
  • Mode: TEST_REPO

Pull Request Author: prwolfe

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: Trilinos_autotester_test

  • Build Num: 426
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
COMPILER_MODULE sems-gcc/4.8.4
JENKINS_BUILD_TYPE Release
JENKINS_COMM_TYPE MPI
JENKINS_DO_COMPLEX OFF
JENKINS_JOB_TYPE Experimental
MPI_MODULE sems-openmpi/1.8.7
PULLREQUESTNUM 2296
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH issue2281
TRILINOS_SOURCE_REPO https://github.com/prwolfe/Trilinos
TRILINOS_SOURCE_SHA 6e7c3b5
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA e79722a

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3

  • Build Num: 291
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
COMPILER_MODULE sems-gcc/4.9.3
JENKINS_BUILD_TYPE Release
JENKINS_COMM_TYPE MPI
JENKINS_DO_COMPLEX OFF
JENKINS_JOB_TYPE Experimental
MPI_MODULE sems-openmpi/1.8.7
PULLREQUESTNUM 2296
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH issue2281
TRILINOS_SOURCE_REPO https://github.com/prwolfe/Trilinos
TRILINOS_SOURCE_SHA 6e7c3b5
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA e79722a

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
NO REVIEWS HAVE BEEN PERFORMED ON THIS PULL REQUEST!

@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@prwolfe prwolfe merged commit 31553f2 into trilinos:develop Feb 23, 2018
@prwolfe prwolfe deleted the issue2281 branch February 23, 2018 19:44
brian-kelley added a commit to brian-kelley/Trilinos that referenced this pull request Aug 19, 2024
SpAdd handle: delete sort_option getter/setter (trilinos#2296)

SpAdd handle was originally a copy-paste of the spgemm
handle way back in trilinos#122, and included get_sort_option() and
set_sort_option() from spgemm. But these try to use the member
bool sort_option, which doesn't exist. Somehow these functions never
produced compile errors until someone tried to call them.

Fixes build errors on Sunspot.
ndellingwood added a commit that referenced this pull request Aug 29, 2024
adamslc pushed a commit to adamslc/Trilinos that referenced this pull request Feb 6, 2025
SpAdd handle: delete sort_option getter/setter (trilinos#2296)

SpAdd handle was originally a copy-paste of the spgemm
handle way back in trilinos#122, and included get_sort_option() and
set_sort_option() from spgemm. But these try to use the member
bool sort_option, which doesn't exist. Somehow these functions never
produced compile errors until someone tried to call them.

Fixes build errors on Sunspot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants