Closed nychiang closed 1 year ago
Does explicitly casting n_
to unsigned integer before passing it to Ginkgo resolves the issue?
Yes, manually casting those variables work fine. Now everything works on Newell. However, on Marianas, I got the following error from different places :
people/svcexasgd/gitlab/126079/src/LinAlg/hiopLinSolverSparseGinkgo.cpp:175:42: error: 'using Array = class gko::array<double>' is deprecated: please use array [-Werror=deprecated-declarations]
175 | auto val_array = gko::Array<double>::view(exec, nnz_, kVal_);
| ^~~~
In file included from /qfs/projects/exasgd/src/ci-deception/linux-centos7-zen2/gcc-10.2.0/ginkgo-1.5.0.glu_experimental-3o5dw4rvskf3bkknmfzth252ybr4crcf/include/ginkgo/ginkgo.hpp:41,
from /people/svcexasgd/gitlab/126079/src/LinAlg/hiopLinSolverSparseGinkgo.hpp:55,
from /people/svcexasgd/gitlab/126079/src/LinAlg/hiopLinSolverSparseGinkgo.cpp:55:
/qfs/projects/exasgd/src/ci-deception/linux-centos7-zen2/gcc-10.2.0/ginkgo-1.5.0.glu_experimental-3o5dw4rvskf3bkknmfzth252ybr4crcf/include/ginkgo/core/base/array.hpp:717:7: note: declared here
717 | using Array [[deprecated("please use array")]] = array<ValueType>;
Any suggestion?
@fritzgoebel @pelesh @cnpetra
maybe avoid deprecated call?
I am working on updating the Ginkgo interface and will get rid of the deprecated call in the process.
@fritzgoebel Thanks for taking care of this. In fact, I tried to fix it in PR #654. Right now it passes all the designed pipeline tests. Please have a look of it, as it is ready for merge.
@cnpetra
Sorry, I was not aware of the PR. Looks good to me.
Closed by PR #654 @cnpetra
Using
C++17
and compiler flags"-Wall -Werror
, I got the following error on PNNL CI:It seems to me Ginkgo use
long unsigned int
inside functiongko::dim
.For more details, see #653 #654
@pelesh @tepperly @cnpetra