Git Product home page Git Product logo

Comments (8)

FlorianSchwendinger avatar FlorianSchwendinger commented on May 24, 2024 1

Hi Brendan,

Thank you for the info and sorry for the late reply.
This week I am still quite bussy but I will have a look at it next week.

from scs.

bnaras avatar bnaras commented on May 24, 2024 1

Hi @FlorianSchwendinger and @bodono , I've already made all the changes to the R scs package for 3.0. I also added all the tests that Brendan had and they pass. I'll commit and make a PR very soon.

from scs.

bnaras avatar bnaras commented on May 24, 2024 1

@bnaras how do you want proceed? Should I wait for the changes you suggested? We could also upload the new (current) version now and later make the name changes. What do you think?

@FlorianSchwendinger I will commit these changes later this week and make a PR.

from scs.

FlorianSchwendinger avatar FlorianSchwendinger commented on May 24, 2024

Continuing pull/8#issuecomment-939350343 I tried the openMP support but saw in htop that it is currently using already all of my cores which solving bigger problems and setting the environment variables did not change that. So I will look later into this.

@bnaras how do you want proceed? Should I wait for the changes you suggested? We could also upload the new (current) version now and later make the name changes. What do you think?

from scs.

bodono avatar bodono commented on May 24, 2024

I think the only way it could be using more cores without openMP is from linking in a multi-threaded blas / lapack. It uses blas / lapack to do the Anderson acceleration and to project onto the positive semidefinite cone.

from scs.

bnaras avatar bnaras commented on May 24, 2024

Continuing pull/8#issuecomment-939350343 I tried the openMP support but saw in htop that it is currently using already all of my cores which solving bigger problems and setting the environment variables did not change that. So I will look later into this.

I tried looking into this myself too and I think that this requires linking to indirect version of the solver. We currently only link to the direct version for the R package. Could that make a difference @bodono ?

from scs.

bodono avatar bodono commented on May 24, 2024

The direct version of the solver is the main version, the indirect version is really only required for huge problems. Other than the indirect solver, openMP is only used to parallelize some of the cone projections (eg, exponential cone). I think it's fine to not have it on by default if it's causing issues.

from scs.

FlorianSchwendinger avatar FlorianSchwendinger commented on May 24, 2024

The direct version of the solver is the main version, the indirect version is really only required for huge problems. Other than the indirect solver, openMP is only used to parallelize some of the cone projections (eg, exponential cone). I think it's fine to not have it on by default if it's causing issues.

Ok, very interesting. I can have a look at adding the indirect solver, for the next release.

from scs.

Related Issues (5)

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.