Comments (7)
The error seems unrelated to STRUMPACK.
Are you able to install other packages using spack?
from strumpack.
Hi @pghysels.
As a test, I have successfully installed other packages using spack.
Hints suggested that g++ may not support some syntax.
The error message suggests that the system header files which are being included use non-standard features (blocks: ^ symbol), which gcc doesn't support, but clang does.
Probably your best option at the moment is to use clang instead of gcc.
Things get further along using
spack install strumpack%apple-clang
but I get errors later related to linking to pre-existing g++ libraries on my laptop.
from strumpack.
I get a successful build when I execute.
spack install strumpack%apple-clang -mpi
For my current purposes I don't need MPI.
from strumpack.
While I successfully ran an example using the spack
installation, I also made a separate cmake
based build. While everything compiled, I do get a runtime error on the example i tested.
(base) tibia:STRUMPACK-6.3.1 akim$ build/examples/dense/testStructured
dense 1000 x 1000 matrix
- memory(A) = 8 MByte
===============================
Compression from dense matrix
===============================
BLR
- nonzeros(H) = 530000
- memory(H) = 4.24 MByte
- rank(H) = 250
- ||A-H||_F/||A||_F = 3.81149e-05
Abort trap: 6
from strumpack.
The spack
installation results in
(base) tibia:build akim$ ./myexe
dense 1000 x 1000 matrix
- memory(A) = 8 MByte
===============================
Compression from dense matrix
===============================
BLR
- nonzeros(H) = 530000
- memory(H) = 4.24 MByte
- rank(H) = 250
- ||A-H||_F/||A||_F = 3.81149e-05
BLR failed: Operation factor not supported for this type.
HSS
- nonzeros(H) = 160576
- memory(H) = 1.21334 MByte
- rank(H) = 14
- ||A-H||_F/||A||_F = 1.90661e-05
- ||X-H\(H*X)||_F/||X||_F = 1.70229e-15
- ||X-H\(A*X)||_F/||X||_F = 1.52965e-05
GMRES it. 0 res = 31.704 rel.res = 1 restart!
...
from strumpack.
I don't see what could be wrong here, that results in the Abort trap: 6
. It seems to be related to the exception handling.
Do you see any differences in compilers used, compilation flags etc, between CMake and spack installs?
from strumpack.
Hi @pghysels . Apologies for the silence. I have been experimenting with different configurations. The problem I am encountering inspack
is with scalapack and is due to inconsistencies with system libraries and the compiler.
To enable more control, I have successfully installed STRUMPACK with cmake. So I am personally good though I never got things to work with spack.
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
- Access elements in HODLRMatrix HOT 2
- Inconsistant diagonal entries for dense matrix and corresponding HODLR matrix HOT 7
- namespace "thrust" has no member "stable_sort_by_key" HOT 1
- Input matrix NAN in ComputeRange HOT 8
- HODLR OpenMP support HOT 1
- std::length_error', when total nonzeros is higher than maximum of integer4, Fortran use of STRUMPACK_MPIdist HOT 23
- HSSMatrix HSSMatrix log determinant HOT 2
- construct_partially_matrix_free for MPI HOT 2
- [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.