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

MueLu coarse coordinates #3053

Merged
merged 1 commit into from Jul 16, 2018
Merged

Conversation

lucbv
Copy link
Contributor

@lucbv lucbv commented Jul 3, 2018

@trilinos/muelu

Description

Modifying the creation of coarse coordinates from CoordinateTransferFactory to prolongators.

Motivation and Context

This avoids having multiple intricate algorithm in the transfer factory when the prolongators already implement most of the work.

Related Issues

How Has This Been Tested?

All unit-test requiring coordinates to be injected in MueLu are still passing

Checklist

  • My commit messages mention the appropriate GitHub issue numbers.
  • My code follows the code style of the affected package(s).
  • 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.

@lucbv lucbv requested review from cgcgcg, csiefer2 and jhux2 July 3, 2018 14:46
Copy link
Contributor

@mhoemmen mhoemmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why you need to template on RealValuedMultiVector. Couldn't you just deduce its type from MultiVector or Matrix?

@cgcgcg
Copy link
Contributor

cgcgcg commented Jul 3, 2018

@mhoemmen Yes, you could. The idea was to have one single typedef for a real-valued multivector, instead of having it in every single file. In the unlikely scenario that we want to change the type for coordinates, we have to edit a single file, instead of grepping through everything for hard-coded doubles..

@mhoemmen
Copy link
Contributor

mhoemmen commented Jul 3, 2018

@cgcgcg So why not have a typedef just for the type of coordinates, instead of having a typedef for the type of a MultiVector containing coordinates? A typedef just for the type of a coordinate would be orthogonal to the other template parameters.

}
#else
RCP<CoupledAggregationFactory> CoupledAggFact2 = rcp( new CoupledAggregationFactory() );
CoupledAggFact2 = rcp( new CoupledAggregationFactory() );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is superfluous?

#include "MueLu_CoalesceDropFactory_kokkos.hpp"
// #include "MueLu_CoarseMapFactory_kokkos.hpp"
// #include "MueLu_CoordinatesTransferFactory_kokkos.hpp"
// #include "MueLu_NullspaceFactory_kokkos.hpp"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come we don't need NullspaceFactory_kokkos, but the regular NullspaceFactory?

@cgcgcg
Copy link
Contributor

cgcgcg commented Jul 3, 2018

@mhoemmen True, we could have done that. I prefer this, since we like to use the shorthand MultiVector, and this then just means we can use RealValuedMultiVector without any template parameters.

@mhoemmen
Copy link
Contributor

mhoemmen commented Jul 3, 2018

Would you ever want to support multiple coordinate types in a single MueLu build? If not, why not use a typedef instead of a template parameter?

Compare: Tpetra has a LocalOrdinal type template parameter, but it's only ever been tested with int (with very rare exceptions). It should be (and will become) just a typedef local_ordinal_type.

@lucbv lucbv self-assigned this Jul 3, 2018
@lucbv lucbv added type: enhancement Issue is an enhancement, not a bug pkg: MueLu labels Jul 3, 2018
@lucbv
Copy link
Contributor Author

lucbv commented Jul 3, 2018

@mhoemmen, I hear you but honestly based on how this was handled so far I do not feel confident that people will remember to do typedef appropriately, the RealValuedMultiVector seems easier to uniformize the handling of coordinates even if it is not the most elegant.
I will also look into modifying the shorthand to have it templated on Teuchos::ScalarTraits<Scalar>::magnitudeType so that we never encounter undefined behavior when coordinates could of type double and scalar of type float or quad?

@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_pullrequest_gcc_4.9.3

  • Build Num: 1003
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 709
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 263
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Coarse_Coordinates
  • SHA: 91727a1
  • Mode: TEST_REPO

Pull Request Author: lucbv

@mhoemmen
Copy link
Contributor

mhoemmen commented Jul 3, 2018

@lucbv I would like to push back a little bit on this.

Intel debug builds literally don't work for SPARC any more because the linker overflows unsigned int. To be blunt, if we (Sierra and ATDM apps) can't build MueLu, we won't use it.

The lesson learned in Tpetra is that if you give users a template parameter, they will put anything in there that compiles. GlobalOrdinal should never have been a template parameter. Now we find ourselves with Tpetra_INST_INT_* for * = INT, LONG, LONG_LONG, UNSIGNED_LONG. This adds almost no value to users, while forcing Trilinos to build Tpetra and all downstream packages over again for each supported GlobalOrdinal type.

If you expose a new template parameter without constraining it, you will find yourself supporting many more possible template parameter values than you intended.

Literally this is how I would fix this problem:

// some MueLu main header file

// Type of a coordinate
using coordinate_type = double;

// Type of a MultiVector of coordinates
template<class MultiVectorType>
using coordinate_multivector_type = Xpetra::MultiVector<coordinate_type, typename MultiVectorType::local_ordinal_type, typename MultiVectorType::global_ordinal_type, typename MultiVectorType::node_type>;

Now both users and MueLu developers can do this:

using XMV = Xpetra::MultiVector<Scalar, LO, GO, Node>;
XMV X (...);
coordinate_multivector_type<XMV> coords (...);

Copy link
Contributor

@mhoemmen mhoemmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment above.

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: 1 or more Jobs FAILED

Note: Testing will normally be attempted again in approx. 2 Hrs 30 Mins. If a change to the PR source branch occurs, the testing will be attempted again on next available autotester run.

Pull Request Auto Testing has FAILED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3

  • Build Num: 1003
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 709
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 263
  • Status: FAILED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e


CDash Test Results for PR# 3053.

@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_pullrequest_gcc_4.9.3

  • Build Num: 1006
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 712
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 266
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Coarse_Coordinates
  • SHA: 91727a1
  • Mode: TEST_REPO

Pull Request Author: lucbv

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: 1 or more Jobs FAILED

Note: Testing will normally be attempted again in approx. 2 Hrs 30 Mins. If a change to the PR source branch occurs, the testing will be attempted again on next available autotester run.

Pull Request Auto Testing has FAILED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3

  • Build Num: 1006
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 712
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 266
  • Status: FAILED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e


CDash Test Results for PR# 3053.

@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_pullrequest_gcc_4.9.3

  • Build Num: 1007
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 713
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 267
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Coarse_Coordinates
  • SHA: 91727a1
  • Mode: TEST_REPO

Pull Request Author: lucbv

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: 1 or more Jobs FAILED

Note: Testing will normally be attempted again in approx. 2 Hrs 30 Mins. If a change to the PR source branch occurs, the testing will be attempted again on next available autotester run.

Pull Request Auto Testing has FAILED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3

  • Build Num: 1007
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 713
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 267
  • Status: FAILED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 91727a1
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e


CDash Test Results for PR# 3053.

@lucbv lucbv added the AT: WIP Causes the PR autotester to not test the PR. (Remove to allow testing to occur.) label Jul 5, 2018
@lucbv
Copy link
Contributor Author

lucbv commented Jul 6, 2018

@mhoemmen, I am working on this, the level of pain is at about 120%, I hope this will decrease our build time/space by a reasonable amount.
Also ironically even though I am removing this template parameter Galeri::Xpetra::BuildProblem is still templated on SC,LO,GO,Map,CrsMatrixWrap,MultiVector which seems redundant since MultiVector has typedefs for SC,LO,GO...

@lucbv lucbv removed the AT: WIP Causes the PR autotester to not test the PR. (Remove to allow testing to occur.) label Jul 6, 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_pullrequest_gcc_4.9.3

  • Build Num: 1019
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA c90fc52
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 725
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA c90fc52
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 279
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA c90fc52
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Coarse_Coordinates
  • SHA: c90fc52
  • Mode: TEST_REPO

Pull Request Author: lucbv

@mhoemmen
Copy link
Contributor

mhoemmen commented Jul 7, 2018

@lucbv wrote:

the level of pain is at about 120%

That's not so bad for this solver stack ;-)

I hope this will decrease our build time/space by a reasonable amount.

Me too, though I think it's still worth having orthogonal template parameters, even if there is no build time or size improvement.

Galeri::Xpetra::BuildProblem is still templated on SC,LO,GO,Map,CrsMatrixWrap,MultiVector which seems redundant since MultiVector has typedefs for SC,LO,GO...

I agree that we should change this. I filed an issue for this: #3077

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: 1 or more Jobs FAILED

Note: Testing will normally be attempted again in approx. 2 Hrs 30 Mins. If a change to the PR source branch occurs, the testing will be attempted again on next available autotester run.

Pull Request Auto Testing has FAILED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3

  • Build Num: 1019
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA c90fc52
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 725
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA c90fc52
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 279
  • Status: FAILED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA c90fc52
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA a992c9e


CDash Test Results for PR# 3053.

@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_pullrequest_gcc_4.9.3

  • Build Num: 1054
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 759
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 313
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Coarse_Coordinates
  • SHA: 4c3a1c6
  • Mode: TEST_REPO

Pull Request Author: lucbv

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: 1 or more Jobs FAILED

Note: Testing will normally be attempted again in approx. 2 Hrs 30 Mins. If a change to the PR source branch occurs, the testing will be attempted again on next available autotester run.

Pull Request Auto Testing has FAILED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3

  • Build Num: 1054
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 759
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 313
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8


CDash Test Results for PR# 3053.

@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_pullrequest_gcc_4.9.3

  • Build Num: 1057
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 762
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 316
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Coarse_Coordinates
  • SHA: 4c3a1c6
  • Mode: TEST_REPO

Pull Request Author: lucbv

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: 1 or more Jobs FAILED

Note: Testing will normally be attempted again in approx. 2 Hrs 30 Mins. If a change to the PR source branch occurs, the testing will be attempted again on next available autotester run.

Pull Request Auto Testing has FAILED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3

  • Build Num: 1057
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 762
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 316
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8


CDash Test Results for PR# 3053.

@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_pullrequest_gcc_4.9.3

  • Build Num: 1060
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 765
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 319
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Coarse_Coordinates
  • SHA: 4c3a1c6
  • Mode: TEST_REPO

Pull Request Author: lucbv

@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_pullrequest_gcc_4.9.3

  • Build Num: 1060
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 765
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 319
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 4c3a1c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 4ad98a8


CDash Test Results for PR# 3053.

@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
THE LAST COMMIT TO THIS PULL REQUEST HAS NOT BEEN REVIEWED YET!

@trilinos-autotester
Copy link
Contributor

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

@lucbv
Copy link
Contributor Author

lucbv commented Jul 12, 2018

@mhoemmen can you look at this again, I think this satisfies your requirement now, It also passes tests, so it should be ready to be merge.

Copy link
Contributor

@mhoemmen mhoemmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this! :-) It looks like you changed some classes not to be templated on RealValuedMultiVector, but not other classes -- is that intentional?

@@ -61,6 +61,7 @@ namespace Galeri {
template <typename Scalar, typename LocalOrdinal, typename GlobalOrdinal, typename Map, typename Matrix, typename MultiVector>
class Elasticity2DProblem : public Problem<Map,Matrix,MultiVector> {
public:
using RealValuedMultiVector = typename Problem<Map,Matrix,MultiVector>::RealValuedMultiVector;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I much prefer this -- thanks!

typedef Teuchos::ScalarTraits<Scalar> TST;

Teuchos::ArrayRCP<SC> x = this->Coords_->getDataNonConst(0);
Teuchos::ArrayRCP<SC> y = this->Coords_->getDataNonConst(1);
Teuchos::ArrayRCP<real_type> x = this->Coords_->getDataNonConst(0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For later (not for this PR), replace use of getData and getDataNonConst to use Kokkos data structures.

@@ -370,8 +375,8 @@ namespace Galeri {
}

// Calculate center
SC cx = this->Coords_->getVector(0)->meanValue();
SC cy = this->Coords_->getVector(1)->meanValue();
real_type cx = this->Coords_->getVector(0)->meanValue();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For later (not this PR), consider merging these two all-reduces into one.

@@ -61,12 +61,12 @@ namespace Galeri {

namespace Xpetra {

template <typename Scalar, typename LocalOrdinal, typename GlobalOrdinal, typename Map, typename Matrix, typename MultiVector>
class HelmholtzFEM2DProblem : public Problem_Helmholtz<Map,Matrix,MultiVector> {
template <typename Scalar, typename LocalOrdinal, typename GlobalOrdinal, typename Map, typename Matrix, typename MultiVector, typename RealValuedMultiVector>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does HelmholtzFEM2DProblem still take a RealValuedMultiVector template parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, this only gets compiled with MueLu_ENABLE_Experimental=ON, I'll take care of this.

@@ -57,16 +57,16 @@ namespace Galeri {
namespace Xpetra {

// ============================================= Helmholtz1D =============================================
template <typename Scalar, typename LocalOrdinal, typename GlobalOrdinal, typename Map, typename Matrix, typename MultiVector>
class Helmholtz1DProblem : public Problem_Helmholtz<Map,Matrix,MultiVector> {
template <typename Scalar, typename LocalOrdinal, typename GlobalOrdinal, typename Map, typename Matrix, typename MultiVector, typename RealValuedMultiVector>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does HelmholtzFEM1DProblem still take a RealValuedMultiVector template parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

@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
THE LAST COMMIT TO THIS PULL REQUEST HAS BEEN REVIEWED, BUT NOT ACCEPTED OR REQUIRES CHANGES

@trilinos-autotester
Copy link
Contributor

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

PTentative is now building the coarse coordinates by default which simplifies the automatic handling of coordinates transfer.
Also fixing a bunch of unit-test factories logic when kokkos is enabled.
@lucbv
Copy link
Contributor Author

lucbv commented Jul 13, 2018

@mhoemmen, alright I modified the Helmholtz tests and I did a build with MueLu_ENABLE_Experimental=ON and a build with COMPLEX=ON. No problem with either of them so this should be good to go now!

@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_pullrequest_gcc_4.9.3

  • Build Num: 1074
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 779
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 333
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Coarse_Coordinates
  • SHA: 2d68cf9
  • Mode: TEST_REPO

Pull Request Author: lucbv

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: 1 or more Jobs FAILED

Note: Testing will normally be attempted again in approx. 2 Hrs 30 Mins. If a change to the PR source branch occurs, the testing will be attempted again on next available autotester run.

Pull Request Auto Testing has FAILED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3

  • Build Num: 1074
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 779
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 333
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6


CDash Test Results for PR# 3053.

@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_pullrequest_gcc_4.9.3

  • Build Num: 1077
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 782
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 336
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Coarse_Coordinates
  • SHA: 2d68cf9
  • Mode: TEST_REPO

Pull Request Author: lucbv

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: 1 or more Jobs FAILED

Note: Testing will normally be attempted again in approx. 2 Hrs 30 Mins. If a change to the PR source branch occurs, the testing will be attempted again on next available autotester run.

Pull Request Auto Testing has FAILED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3

  • Build Num: 1077
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 782
  • Status: FAILED

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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 336
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6


CDash Test Results for PR# 3053.

@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_pullrequest_gcc_4.9.3

  • Build Num: 1079
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 784
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 338
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Coarse_Coordinates
  • SHA: 2d68cf9
  • Mode: TEST_REPO

Pull Request Author: lucbv

@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_pullrequest_gcc_4.9.3

  • Build Num: 1079
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 784
  • 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 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 338
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 3053
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Coarse_Coordinates
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 2d68cf9
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 63e07e6


CDash Test Results for PR# 3053.

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pre-Merge Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED AND APPROVED by [ mhoemmen ]!

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - Master Automerge is disabled (in .cfg file)

2 similar comments
@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - Master Automerge is disabled (in .cfg file)

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - Master Automerge is disabled (in .cfg file)

@lucbv lucbv merged commit b2bb089 into trilinos:develop Jul 16, 2018
@lucbv lucbv deleted the MueLu_Coarse_Coordinates branch July 16, 2018 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: MueLu type: enhancement Issue is an enhancement, not a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants