Closed nschloe closed 8 years ago
That exception means MueLu was not configured with any direct solver for Tpetra. The fix is to enable Amesos2/KLU or Amesos2/Basker in your Trilinos configure. The test xml file should also be updated to use Amesos2 instead of Amesos.
-Eric
From: Nico Schlömer notifications@github.com<mailto:notifications@github.com> Reply-To: gahansen/Albany reply@reply.github.com<mailto:reply@reply.github.com> Date: Sunday, April 12, 2015 at 9:22 AM To: gahansen/Albany Albany@noreply.github.com<mailto:Albany@noreply.github.com> Subject: [EXTERNAL] [Albany] 28 - MPNIQuad2D_Tpetra (Failed) (#4)
After a clean Albany build, test 28 fails:
[...] 99% tests passed, 1 tests failed out of 119
Total Test time (real) = 2410.31 sec
The following tests FAILED: 28 - MPNIQuad2D_Tpetra (Failed) Errors while running CTest
In more detail:
UpdateCTestConfiguration from :/home/nschloe/software/albany/build/DartConfiguration.tcl UpdateCTestConfiguration from :/home/nschloe/software/albany/build/DartConfiguration.tcl Test project /home/nschloe/software/albany/build Constructing a list of tests Done constructing a list of tests Checking test dependency graph... Checking test dependency graph end test 28 Start 28: MPNIQuad2D_Tpetra
28: Test command: /usr/bin/mpiexec "-np" "4" "/home/nschloe/software/albany/build/src/AlbanyT" "inputT.xml"
28: Test timeout computed to be: 9.99988e+06
28: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name wind and rank 1!
28: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name wind and rank 0!
28: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name wind and rank 2!
28: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name wind and rank 3!
28: TmplSTKMeshStruct:: Creating 2D mesh of size 20x20 elements and scaled to 1x1
28: Heat Problem Num MeshSpecs: 1
28: Heat Problem Num MeshSpecs: 1
28: Heat Problem Num MeshSpecs: 1
28: Heat Problem Num MeshSpecs: 1
28: Field Dimensions: Workset=50, Vertices= 4, Nodes= 4, QuadPts= 4, Dim= 2
28: Field Dimensions: Workset=50, Vertices= 4, Nodes= 4, QuadPts= 4, Dim= 2
28: Field Dimensions: Workset=50, Vertices= 4, Nodes= 4, QuadPts= 4, Dim= 2
28: Field Dimensions: Workset=50, Vertices= 4, Nodes= 4, QuadPts= 4, Dim= 2
28: Field Dimensions: Workset=50, Vertices= 4, Nodes= 4, QuadPts= 4, Dim= 2
28: Field Dimensions: Workset=50, Vertices= 4, Nodes= 4, QuadPts= 4, Dim= 2
28: Field Dimensions: Workset=50, Vertices= 4, Nodes= 4, QuadPts= 4, Dim= 2
28: Field Dimensions: Workset=50, Vertices= 4, Nodes= 4, QuadPts= 4, Dim= 2
28: STKDisc: 100 elements on Proc 0
28: STKDisc: nodeset NodeSet0 has size 6 on Proc 0.
28: STKDisc: nodeset NodeSet1 has size 6 on Proc 0.
28: STKDisc: nodeset NodeSet2 has size 21 on Proc 0.
28: STKDisc: nodeset NodeSet3 has size 0 on Proc 0.
28: STKDisc: nodeset NodeSet99 has size 1 on Proc 0.
28: STKDisc: sideset SideSet0 has size 5 on Proc 0.
28: STKDisc: sideset SideSet1 has size 5 on Proc 0.
28: STKDisc: sideset SideSet2 has size 20 on Proc 0.
28: STKDisc: sideset SideSet3 has size 0 on Proc 0.
28:
28: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
28: Sacado ParameterLibrary has been initialized:
28: Library of all registered parameters:
28: DBC on NS NodeSet0 for DOF T: Supports AD = 1, Supports_Analytic = 0
28: DBC on NS NodeSet1 for DOF T: Supports AD = 1, Supports_Analytic = 0
28: DBC on NS NodeSet2 for DOF T: Supports AD = 1, Supports_Analytic = 0
28: DBC on NS NodeSet3 for DOF T: Supports AD = 1, Supports_Analytic = 0
28: Quadratic Nonlinear Factor: Supports AD = 1, Supports_Analytic = 0
28: Thermal Conductivity KL Random Variable 0: Supports AD = 1, Supports_Analytic = 0
28: Thermal Conductivity KL Random Variable 1: Supports AD = 1, SupportsAnalytic = 0
28: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
28:
28: Number of parameter vectors = 1
28: Number of parameters in parameter vector 0 = 2
28: Number of distributed parameters vectors = 0
28: Number of response vectors = 1
28: ****
28: -- Status Test Results --
28: *...........OR Combination ->
28: ...........AND Combination ->
28: _...........F-Norm = 4.850e-01 < 1.000e-08
28: (Length-Scaled Two-Norm, Absolute Tolerance)
28: ??...........WRMS-Norm = 1.000e+12 < 1
28: ...........Number of Iterations = 0 < 10
28: ***
28:
28: ****
28: -- Nonlinear Solver Step 0 --
28: ||F|| = 1.019e+01 step = 0.000e+00 dx = 0.000e+00
28: ****
28:
28:
28: *** WARNING *
28: MueLu::AmesosSmoother: "Amesos-klu" is not available. Using "Klu" instead
28: multigrid algorithm = sa
28: smoother: type = MueLu symmetric Gauss-Seidel
28: smoother: pre or post = both
28: coarse: type = Amesos-KLU
28: number of equations = 1
28: coarse: max size = 2000 [default]
28: max levels = 10 [default]
28:
28: Clearing old data (if any)
28:
28: *** WARNING ***
28: Hierarchy::ReplaceCoordinateMap: matrix and coordinates maps are same, skipping...
28: Using default factory (MueLu::AmalgamationFactory) for building 'UnAmalgamationInfo'.
28: Level 0
28: Max coarse size (<= 2000) achieved
28:
28: p=0: *\ Caught standard std::exception of type 'MueLu::Exceptions::RuntimeError' :
28:
28: /home/nschloe/software/trilinos/privateTrilinos/packages/muelu/src/Smoothers/MueLu_DirectSolver_def.hpp:146:
28:
28: Throw number = 3
28:
28: Throw test that evaluated to true: true
28:
28: Direct solver for Tpetra was not constructed
28: during request for data " PreSmoother" on level 0 by factory NoFactory
28:
28: p=1: * Caught standard std::exception of type 'MueLu::Exceptions::RuntimeError' :
28:
28: /home/nschloe/software/trilinos/privateTrilinos/packages/muelu/src/Smoothers/MueLu_DirectSolver_def.hpp:146:
28:
28: Throw number = 3
28:
28: Throw test that evaluated to true: true
28:
28: Direct solver for Tpetra was not constructed
28: during request for data " PreSmoother" on level 0 by factory NoFactory
28:
28: p=2: * Caught standard std::exception of type 'MueLu::Exceptions::RuntimeError' :
28:
28: /home/nschloe/software/trilinos/privateTrilinos/packages/muelu/src/Smoothers/MueLu_DirectSolver_def.hpp:146:
28:
28: Throw number = 3
28:
28: Throw test that evaluated to true: true
28:
28: Direct solver for Tpetra was not constructed
28: during request for data " PreSmoother" on level 0 by factory NoFactory
28:
28: p=3: * Caught standard std::exception of type 'MueLu::Exceptions::RuntimeError' :
28:
28: /home/nschloe/software/trilinos/privateTrilinos/packages/muelu/src/Smoothers/MueLu_DirectSolver_def.hpp:146:
28:
28: Throw number = 3
28:
28: Throw test that evaluated to true: true
28:
28: Direct solver for Tpetra was not constructed
28: during request for data " PreSmoother" on level 0 by factory NoFactory
28: =================================================================================================================================================
28:
28: TimeMonitor results over 4 processors
28:
28: Timer Name MinOverProcs MeanOverProcs MaxOverProcs MeanOverCallCounts
28: -------------------------------------------------------------------------------------------------------------------------------------------------
28: > Albany Fill: Jacobian 0.01765 (1) 0.01767 (1) 0.01768 (1) 0.01767 (1)
28: > Albany Fill: Jacobian Export 0.001342 (1) 0.001653 (1) 0.001796 (1) 0.001653 (1)
28: > Albany Fill: Residual 0.007272 (1) 0.007329 (1) 0.00739 (1) 0.007329 (1)
28: Albany: _Total Time_ 0.2639 (1) 0.264 (1) 0.264 (1) 0.264 (1)
28: Albany: Total Fill Time 0.02518 (2) 0.02523 (2) 0.02528 (2) 0.01262 (2)
28: Albany: Setup Time 0.1873 (1) 0.1874 (1) 0.1875 (1) 0.1874 (1)
28: MueLu: Hierarchy: Setup (total) 0.002472 (1) 0.002576 (1) 0.002733 (1) 0.002576 (1)
28: MueLu: Hierarchy: Setup (total, level=0) 0.002424 (1) 0.002528 (1) 0.002683 (1) 0.002528 (1)
28: NOX Total Preconditioner Construction 0.03764 (1) 0.03766 (1) 0.03768 (1) 0.03766 (1)
28: Phalanx: Evaluator 0: Gather Solution
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 2.80 sec
The following tests FAILED: 28 - MPNIQuad2D_Tpetra (Failed) Errors while running CTest
Reply to this email directly or view it on GitHubhttps://github.com/gahansen/Albany/issues/4.
Shouldn't this be intercepted at Albany configure time?
Yes, definitely. I need to rework some of the config stuff in Albany for detecting MueLu, whether at least one of SuperLU, Basker, and KLU(2) are enabled, and en/disabling some tests based on these findings. Some of this is already done, but some of it is out of date. Sorry you got a ctest failure from this.
On Mon, Apr 13, 2015 at 9:05 AM, Nico Schlömer notifications@github.com wrote:
Shouldn't this be intercepted at configure time?
— Reply to this email directly or view it on GitHub https://github.com/gahansen/Albany/issues/4#issuecomment-92392677.
Hi Nico,
Doing a little cleanup here - is there anything outstanding with this issue or can I close it?
Glen
Probably @ambrad can answer that.
It's fine to close. KLU2 is enabled by default now, so there should always be a direct solver available to MueLu.
After a clean Albany build, test 28 fails:
In more detail: