Giter VIP home page Giter VIP logo

Comments (3)

pghysels avatar pghysels commented on June 12, 2024

I can reproduce the problem when running with 4 mpi processes, but not with 1.
I will look into it.

We will try to add a Fortran interface to the newest version. We no longer further develop the 1.1.1 version of the code. However, since it might take a while before we have the Fortran interface to the newest code ready, I recommend you keep using the 1.1.1 version for now. So I will check this invalid read issue as soon as possible.

Pieter

from strumpack.

pghysels avatar pghysels commented on June 12, 2024

The problem is on line 298 in HSS_par_tools.hpp:
pgemr2d(m,n,A,child1->tree_ib,child2->tree_ib,descA,A12[my_i],IONE,IONE,desc,globctxt);
replace that with:
pgemr2d(m,n,A,child1->tree_ib,child2->tree_ib,descA,(desc[BLACSctxt] != -1) ? A12[my_i] : NULL,IONE,IONE,desc,globctxt);

Same for line 314 in HSS_par_tools.hpp:
pgemr2d(n,m,A,child2->tree_ib,child1->tree_ib,descA,A21[my_i],IONE,IONE,desc,globctxt);
replace that with:
pgemr2d(n,m,A,child2->tree_ib,child1->tree_ib,descA,(desc[BLACSctxt] != -1) ? A21[my_i] : NULL,IONE,IONE,desc,globctxt);

from strumpack.

 avatar commented on June 12, 2024

Thanks Pieter, this fixed the problem indeed. I tried to debug it myself, but I am not a C man.

I will use version 1.1.1 for now, but am indeed interested to switching to 2 when a Fortran wrapper becomes available.

Thanks for the effort to make this library!

from strumpack.

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.