Comments (3)
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.
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.
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)
- Fortran Interface for Finite Element nonlinear solver HOT 4
- Windows 10 support HOT 6
- Iterate Cluster Tree HOT 5
- mpi_type for std::pair leads to memory leaks HOT 3
- MSVC: Cannot convert from strumpack::EliminationTreeMPIDist<scalar_t,integer_t> *' to 'const strumpack::EliminationTree<scalar_t,integer_t> *' HOT 1
- Including ButterflyPACK HOT 2
- Segmentation fault during forward solve with CUDA HOT 4
- STRUMPACK with > 1 GPU per node HOT 11
- Crash with updated PETSc interface using version 7.1.3 HOT 2
- Does STRUMPACK support the 'long double' data type? HOT 1
- Symmetric support HOT 1
- is there a way to pass and receive gpu pointers to linear solvers? HOT 3
- [feat] formatting support
- OpenMP error when building with NVC++ HOT 3
- ButterflyPACK interface compiler errors HOT 3
- Link STRUMPACK with my c++ code HOT 2
- Symmetric example program gives a wrong solution HOT 6
- SPD support with MAGMA
- Using Custom Matrix Vector Routines with STRUMPACK
- [error] Cmake based build with intel mkl library HOT 35
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strumpack.