{"action":"created","issue":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/244","repository_url":"https://api.github.com/repos/trilinos/Trilinos","labels_url":"https://api.github.com/repos/trilinos/Trilinos/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/trilinos/Trilinos/issues/244/comments","events_url":"https://api.github.com/repos/trilinos/Trilinos/issues/244/events","html_url":"https://github.com/trilinos/Trilinos/issues/244","id":143267544,"number":244,"title":"Zoltan2_AlgScotch invalid cast with Sacado Vector","user":{"login":"bavier","id":7989217,"avatar_url":"https://avatars.githubusercontent.com/u/7989217?v=3","gravatar_id":"","url":"https://api.github.com/users/bavier","html_url":"https://github.com/bavier","followers_url":"https://api.github.com/users/bavier/followers","following_url":"https://api.github.com/users/bavier/following{/other_user}","gists_url":"https://api.github.com/users/bavier/gists{/gist_id}","starred_url":"https://api.github.com/users/bavier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bavier/subscriptions","organizations_url":"https://api.github.com/users/bavier/orgs","repos_url":"https://api.github.com/users/bavier/repos","events_url":"https://api.github.com/users/bavier/events{/privacy}","received_events_url":"https://api.github.com/users/bavier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/trilinos/Trilinos/labels/Ifpack2","name":"Ifpack2","color":"5319e7"},{"url":"https://api.github.com/repos/trilinos/Trilinos/labels/Zoltan2","name":"Zoltan2","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"egboman","id":10200375,"avatar_url":"https://avatars.githubusercontent.com/u/10200375?v=3","gravatar_id":"","url":"https://api.github.com/users/egboman","html_url":"https://github.com/egboman","followers_url":"https://api.github.com/users/egboman/followers","following_url":"https://api.github.com/users/egboman/following{/other_user}","gists_url":"https://api.github.com/users/egboman/gists{/gist_id}","starred_url":"https://api.github.com/users/egboman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egboman/subscriptions","organizations_url":"https://api.github.com/users/egboman/orgs","repos_url":"https://api.github.com/users/egboman/repos","events_url":"https://api.github.com/users/egboman/events{/privacy}","received_events_url":"https://api.github.com/users/egboman/received_events","type":"User","site_admin":false},"assignees":[{"login":"egboman","id":10200375,"avatar_url":"https://avatars.githubusercontent.com/u/10200375?v=3","gravatar_id":"","url":"https://api.github.com/users/egboman","html_url":"https://github.com/egboman","followers_url":"https://api.github.com/users/egboman/followers","following_url":"https://api.github.com/users/egboman/following{/other_user}","gists_url":"https://api.github.com/users/egboman/gists{/gist_id}","starred_url":"https://api.github.com/users/egboman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egboman/subscriptions","organizations_url":"https://api.github.com/users/egboman/orgs","repos_url":"https://api.github.com/users/egboman/repos","events_url":"https://api.github.com/users/egboman/events{/privacy}","received_events_url":"https://api.github.com/users/egboman/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-03-24T14:52:27Z","updated_at":"2016-07-19T18:42:48Z","closed_at":null,"body":"Configuring Trilinos at 17ccfa78c106fd86812563a4ab3d50ceace9c13a with:\r\n```\r\ncmake \\\r\n    -DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=YES \\\r\n    -DTrilinos_ENABLE_Stokhos:BOOL=YES \\\r\n    -DTrilinos_ENABLE_Zoltan2:BOOL=YES \\\r\n    -DTrilinos_ENABLE_Ifpack2:BOOL=YES \\\r\n    -DTrilinos_ENABLE_Sacado:BOOL=YES \\\r\n    -DTrilinos_ENABLE_OpenMP:BOOL=YES \\\r\n    -DKokkos_ENABLE_OpenMP:BOOL=YES \\\r\n    -DTPL_ENABLE_Scotch:BOOL=YES \\\r\n    ..\r\n```\r\nresults in the following two build errors:\r\n```\r\n[ 90%] Building CXX object packages/stokhos/src/CMakeFiles/stokhos_ifpack2.dir/Ifpack2_AdditiveSchwarz_MP_Vector_OpenMP.cpp.o\r\nIn file included from /ptmp/Trilinos/packages/zoltan2/src/algorithms/order/Zoltan2_OrderingAlgorithms.hpp:54:0,\r\n                 from /ptmp/Trilinos/packages/zoltan2/src/problems/Zoltan2_OrderingProblem.hpp:54,\r\n                 from /ptmp/Trilinos/packages/ifpack2/src/Ifpack2_AdditiveSchwarz_def.hpp:68,\r\n                 from /ptmp/Trilinos/build/build-ifpack2-zoltan2-scotch/packages/stokhos/src/Ifpack2_AdditiveSchwarz_MP_Vector_OpenMP.cpp:51:\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp: In instantiation of 'void Zoltan2::AlgPTScotch<Adapter>::scale_weights(size_t, Zoltan2::StridedData<typename Adapter::lno_t, typename Adapter::scalar_t>&, Zoltan2::SCOTCH_Num*) [with Ada\r\npter = Zoltan2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 4, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedS\r\ntorage<int, double, 4, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> > >; size_t = long unsigned int; typename Adapter::scalar_t = Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 4, Kokkos::OpenMP> >; typename Adapt\r\ner::lno_t = int; Zoltan2::SCOTCH_Num = int]':\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:740:42:   required from 'int Zoltan2::AlgPTScotch<Adapter>::order(const Teuchos::RCP<Zoltan2::OrderingSolution<typename Adapter::lno_t, typename Adapter::gno_t> >&) [with Adapter = Zoltan\r\n2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 4, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, d\r\nouble, 4, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> > >; typename Adapter::gno_t = int; typename Adapter::lno_t = int]'\r\n/ptmp/Trilinos/packages/zoltan2/src/problems/Zoltan2_OrderingProblem.hpp:237:5:   required from 'void Zoltan2::OrderingProblem<Adapter>::solve(bool) [with Adapter = Zoltan2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int,\r\n double, 4, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 4, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP>\r\n> >]'\r\n/ptmp/Trilinos/packages/ifpack2/src/Ifpack2_AdditiveSchwarz_def.hpp:1517:5:   required from 'void Ifpack2::AdditiveSchwarz<MatrixType, LocalInverseType>::setup() [with MatrixType = Tpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 4, Kokk\r\nos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >; LocalInverseType = Ifpack2::Preconditioner<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 4, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos:\r\n:OpenMP> >]'\r\n/ptmp/Trilinos/build/build-ifpack2-zoltan2-scotch/packages/stokhos/src/Ifpack2_AdditiveSchwarz_MP_Vector_OpenMP.cpp:55:1:   required from here\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:565:32: error: invalid cast from type 'Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 4, Kokkos::OpenMP> >' to type 'double'\r\n     double fw = double(fwgts[i]);\r\n                                ^\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:595:50: error: invalid cast from type 'Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 4, Kokkos::OpenMP> >' to type 'double'\r\n     iwgts[i] = (SCOTCH_Num) ceil(double(fwgts[i])*scale);\r\n                                                  ^\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp: In instantiation of 'void Zoltan2::AlgPTScotch<Adapter>::scale_weights(size_t, Zoltan2::StridedData<typename Adapter::lno_t, typename Adapter::scalar_t>&, Zoltan2::SCOTCH_Num*) [with Ada\r\npter = Zoltan2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixed\r\nStorage<int, double, 16, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> > >; size_t = long unsigned int; typename Adapter::scalar_t = Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::OpenMP> >; typename Ad\r\napter::lno_t = int; Zoltan2::SCOTCH_Num = int]':\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:740:42:   required from 'int Zoltan2::AlgPTScotch<Adapter>::order(const Teuchos::RCP<Zoltan2::OrderingSolution<typename Adapter::lno_t, typename Adapter::gno_t> >&) [with Adapter = Zoltan\r\n2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int,\r\ndouble, 16, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> > >; typename Adapter::gno_t = int; typename Adapter::lno_t = int]'\r\n/ptmp/Trilinos/packages/zoltan2/src/problems/Zoltan2_OrderingProblem.hpp:237:5:   required from 'void Zoltan2::OrderingProblem<Adapter>::solve(bool) [with Adapter = Zoltan2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int,\r\n double, 16, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP\r\n> > >]'\r\n/ptmp/Trilinos/packages/ifpack2/src/Ifpack2_AdditiveSchwarz_def.hpp:1517:5:   required from 'void Ifpack2::AdditiveSchwarz<MatrixType, LocalInverseType>::setup() [with MatrixType = Tpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kok\r\nkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >; LocalInverseType = Ifpack2::Preconditioner<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokko\r\ns::OpenMP> >]'\r\n/ptmp/Trilinos/build/build-ifpack2-zoltan2-scotch/packages/stokhos/src/Ifpack2_AdditiveSchwarz_MP_Vector_OpenMP.cpp:55:1:   required from here\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:565:32: error: invalid cast from type 'Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::OpenMP> >' to type 'double'\r\n     double fw = double(fwgts[i]);\r\n                                ^\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:595:50: error: invalid cast from type 'Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::OpenMP> >' to type 'double'\r\n     iwgts[i] = (SCOTCH_Num) ceil(double(fwgts[i])*scale);\r\n                                                  ^\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp: In instantiation of 'void Zoltan2::AlgPTScotch<Adapter>::scale_weights(size_t, Zoltan2::StridedData<typename Adapter::lno_t, typename Adapter::scalar_t>&, Zoltan2::SCOTCH_Num*) [with Ada\r\npter = Zoltan2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 32, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixed\r\nStorage<int, double, 32, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> > >; size_t = long unsigned int; typename Adapter::scalar_t = Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 32, Kokkos::OpenMP> >; typename Ad\r\napter::lno_t = int; Zoltan2::SCOTCH_Num = int]':\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:740:42:   required from 'int Zoltan2::AlgPTScotch<Adapter>::order(const Teuchos::RCP<Zoltan2::OrderingSolution<typename Adapter::lno_t, typename Adapter::gno_t> >&) [with Adapter = Zoltan\r\n2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 32, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int,\r\ndouble, 32, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> > >; typename Adapter::gno_t = int; typename Adapter::lno_t = int]'\r\n/ptmp/Trilinos/packages/zoltan2/src/problems/Zoltan2_OrderingProblem.hpp:237:5:   required from 'void Zoltan2::OrderingProblem<Adapter>::solve(bool) [with Adapter = Zoltan2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int,\r\n double, 32, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 32, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP\r\n> > >]'\r\n/ptmp/Trilinos/packages/ifpack2/src/Ifpack2_AdditiveSchwarz_def.hpp:1517:5:   required from 'void Ifpack2::AdditiveSchwarz<MatrixType, LocalInverseType>::setup() [with MatrixType = Tpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 32, Kok\r\nkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >; LocalInverseType = Ifpack2::Preconditioner<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 32, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokko\r\ns::OpenMP> >]'\r\n/ptmp/Trilinos/build/build-ifpack2-zoltan2-scotch/packages/stokhos/src/Ifpack2_AdditiveSchwarz_MP_Vector_OpenMP.cpp:55:1:   required from here\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:565:32: error: invalid cast from type 'Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 32, Kokkos::OpenMP> >' to type 'double'\r\n     double fw = double(fwgts[i]);\r\n                                ^\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:595:50: error: invalid cast from type 'Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 32, Kokkos::OpenMP> >' to type 'double'\r\n     iwgts[i] = (SCOTCH_Num) ceil(double(fwgts[i])*scale);\r\n                                                  ^\r\npackages/stokhos/src/CMakeFiles/stokhos_ifpack2.dir/build.make:86: recipe for target 'packages/stokhos/src/CMakeFiles/stokhos_ifpack2.dir/Ifpack2_AdditiveSchwarz_MP_Vector_OpenMP.cpp.o' failed\r\nmake[2]: *** [packages/stokhos/src/CMakeFiles/stokhos_ifpack2.dir/Ifpack2_AdditiveSchwarz_MP_Vector_OpenMP.cpp.o] Error 1\r\n```\r\nand\r\n```\r\n[ 91%] Building CXX object packages/stokhos/src/CMakeFiles/stokhos_ifpack2.dir/Ifpack2_AdditiveSchwarz_UQ_PCE_OpenMP.cpp.o\r\nIn file included from /ptmp/Trilinos/packages/zoltan2/src/algorithms/order/Zoltan2_OrderingAlgorithms.hpp:54:0,\r\n                 from /ptmp/Trilinos/packages/zoltan2/src/problems/Zoltan2_OrderingProblem.hpp:54,\r\n                 from /ptmp/Trilinos/packages/ifpack2/src/Ifpack2_AdditiveSchwarz_def.hpp:68,\r\n                 from /ptmp/Trilinos/build/build-ifpack2-zoltan2-scotch/packages/stokhos/src/Ifpack2_AdditiveSchwarz_UQ_PCE_OpenMP.cpp:51:\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp: In instantiation of 'void Zoltan2::AlgPTScotch<Adapter>::scale_weights(size_t, Zoltan2::StridedData<typename Adapter::lno_t, typename Adapter::scalar_t>&, Zoltan2::SCOTCH_Num*) [with Ada\r\npter = Zoltan2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::UQ::PCE<Stokhos::DynamicStorage<int, double, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::UQ::PCE<Stokhos::DynamicStorage<int, doubl\r\ne, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> > >; size_t = long unsigned int; typename Adapter::scalar_t = Sacado::UQ::PCE<Stokhos::DynamicStorage<int, double, Kokkos::OpenMP> >; typename Adapter::lno_t = int; Zoltan2::SCOT\r\nCH_Num = int]':\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:740:42:   required from 'int Zoltan2::AlgPTScotch<Adapter>::order(const Teuchos::RCP<Zoltan2::OrderingSolution<typename Adapter::lno_t, typename Adapter::gno_t> >&) [with Adapter = Zoltan\r\n2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::UQ::PCE<Stokhos::DynamicStorage<int, double, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::UQ::PCE<Stokhos::DynamicStorage<int, double, Kokkos::Op\r\nenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> > >; typename Adapter::gno_t = int; typename Adapter::lno_t = int]'\r\n/ptmp/Trilinos/packages/zoltan2/src/problems/Zoltan2_OrderingProblem.hpp:237:5:   required from 'void Zoltan2::OrderingProblem<Adapter>::solve(bool) [with Adapter = Zoltan2::XpetraRowMatrixAdapter<Xpetra::RowMatrix<Sacado::UQ::PCE<Stokhos::DynamicStorage<int, double\r\n, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >, Xpetra::RowMatrix<Sacado::UQ::PCE<Stokhos::DynamicStorage<int, double, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> > >]'\r\n/ptmp/Trilinos/packages/ifpack2/src/Ifpack2_AdditiveSchwarz_def.hpp:1517:5:   required from 'void Ifpack2::AdditiveSchwarz<MatrixType, LocalInverseType>::setup() [with MatrixType = Tpetra::RowMatrix<Sacado::UQ::PCE<Stokhos::DynamicStorage<int, double, Kokkos::OpenMP\r\n> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >; LocalInverseType = Ifpack2::Preconditioner<Sacado::UQ::PCE<Stokhos::DynamicStorage<int, double, Kokkos::OpenMP> >, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP> >]'\r\n/ptmp/Trilinos/build/build-ifpack2-zoltan2-scotch/packages/stokhos/src/Ifpack2_AdditiveSchwarz_UQ_PCE_OpenMP.cpp:61:1:   required from here\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:565:32: error: invalid cast from type 'Sacado::UQ::PCE<Stokhos::DynamicStorage<int, double, Kokkos::OpenMP> >' to type 'double'\r\n     double fw = double(fwgts[i]);\r\n                                ^\r\n/ptmp/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgScotch.hpp:595:50: error: invalid cast from type 'Sacado::UQ::PCE<Stokhos::DynamicStorage<int, double, Kokkos::OpenMP> >' to type 'double'\r\n     iwgts[i] = (SCOTCH_Num) ceil(double(fwgts[i])*scale);\r\n                                                  ^\r\npackages/stokhos/src/CMakeFiles/stokhos_ifpack2.dir/build.make:854: recipe for target 'packages/stokhos/src/CMakeFiles/stokhos_ifpack2.dir/Ifpack2_AdditiveSchwarz_UQ_PCE_OpenMP.cpp.o' failed\r\nmake[2]: *** [packages/stokhos/src/CMakeFiles/stokhos_ifpack2.dir/Ifpack2_AdditiveSchwarz_UQ_PCE_OpenMP.cpp.o] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/comments/233727456","html_url":"https://github.com/trilinos/Trilinos/issues/244#issuecomment-233727456","issue_url":"https://api.github.com/repos/trilinos/Trilinos/issues/244","id":233727456,"user":{"login":"srajama1","id":12969599,"avatar_url":"https://avatars.githubusercontent.com/u/12969599?v=3","gravatar_id":"","url":"https://api.github.com/users/srajama1","html_url":"https://github.com/srajama1","followers_url":"https://api.github.com/users/srajama1/followers","following_url":"https://api.github.com/users/srajama1/following{/other_user}","gists_url":"https://api.github.com/users/srajama1/gists{/gist_id}","starred_url":"https://api.github.com/users/srajama1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srajama1/subscriptions","organizations_url":"https://api.github.com/users/srajama1/orgs","repos_url":"https://api.github.com/users/srajama1/repos","events_url":"https://api.github.com/users/srajama1/events{/privacy}","received_events_url":"https://api.github.com/users/srajama1/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T18:42:48Z","updated_at":"2016-07-19T18:42:48Z","body":"Yes, it could be fixed in Zoltan2 or Ifpack2 ? Is there something like magnitude for Stokhos scalar type ? Traditionally the non-zero values are treated as weights. If one implements what is a reasonable weight for Stokhos scalar type then either Zoltan2 or Ifpack2 can use it."}}
{"actor":{"display_login":"srajama1"}}