Giter Club home page Giter Club logo

Comments (7)

pelesh avatar pelesh commented on July 28, 2024

Does explicitly casting n_ to unsigned integer before passing it to Ginkgo resolves the issue?

from hiop.

nychiang avatar nychiang commented on July 28, 2024

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

from hiop.

cnpetra avatar cnpetra commented on July 28, 2024

maybe avoid deprecated call?

from hiop.

fritzgoebel avatar fritzgoebel commented on July 28, 2024

I am working on updating the Ginkgo interface and will get rid of the deprecated call in the process.

from hiop.

nychiang avatar nychiang commented on July 28, 2024

@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

from hiop.

fritzgoebel avatar fritzgoebel commented on July 28, 2024

Sorry, I was not aware of the PR. Looks good to me.

from hiop.

nychiang avatar nychiang commented on July 28, 2024

Closed by PR #654 @cnpetra

from hiop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.