Giter VIP home page Giter VIP logo

Comments (7)

pghysels avatar pghysels commented on June 12, 2024

The error seems unrelated to STRUMPACK.
Are you able to install other packages using spack?

from strumpack.

AlexGKim avatar AlexGKim commented on June 12, 2024

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.

AlexGKim avatar AlexGKim commented on June 12, 2024

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.

AlexGKim avatar AlexGKim commented on June 12, 2024

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.

AlexGKim avatar AlexGKim commented on June 12, 2024

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.

pghysels avatar pghysels commented on June 12, 2024

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.

AlexGKim avatar AlexGKim commented on June 12, 2024

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)

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.