Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement default_sampling_points seriously #96

Closed
terasakisatoshi opened this issue Feb 1, 2025 · 2 comments · Fixed by #101
Closed

Implement default_sampling_points seriously #96

terasakisatoshi opened this issue Feb 1, 2025 · 2 comments · Fixed by #101

Comments

@terasakisatoshi
Copy link
Contributor

On Ubuntu, Eigen::Tensor<ComplexF64, 4> gtau = tau_sampling->evaluate(gl, dim); causes an error.

-- Extracted package version: 0.1.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Extracted package version: 0.6.0
-- Configuring done (1.8s)
-- Generating done (0.0s)
-- Build files have been written to: /workspaces/libsparseir/build
[ 19%] Building CXX object _deps/xprec-build/CMakeFiles/xprec.dir/src/circular.cpp.o
[ 19%] Building CXX object _deps/xprec-build/CMakeFiles/xprec.dir/src/exp.cpp.o
[ 19%] Building CXX object _deps/xprec-build/CMakeFiles/xprec.dir/src/floats.cpp.o
[ 23%] Building CXX object _deps/xprec-build/CMakeFiles/xprec.dir/src/gauss.cpp.o
[ 23%] Building CXX object _deps/xprec-build/CMakeFiles/xprec.dir/src/cinterface.cpp.o
[ 26%] Building CXX object _deps/xprec-build/CMakeFiles/xprec.dir/src/hyperbolic.cpp.o
[ 30%] Building CXX object _deps/xprec-build/CMakeFiles/xprec.dir/src/io.cpp.o
[ 30%] Building CXX object _deps/xprec-build/CMakeFiles/xprec.dir/src/sqrt.cpp.o
[ 34%] Linking CXX shared library libxprec.so
[ 34%] Built target xprec
[ 38%] Building CXX object CMakeFiles/sparseir.dir/src/sparseir.cxx.o
[ 42%] Linking CXX shared library libsparseir.so
[ 42%] Built target sparseir
[ 65%] Building CXX object test/CMakeFiles/libsparseirtests.dir/_linalg.cxx.o
[ 65%] Building CXX object test/CMakeFiles/libsparseirtests.dir/gauss.cxx.o
[ 65%] Building CXX object test/CMakeFiles/libsparseirtests.dir/example.cxx.o
[ 65%] Building CXX object test/CMakeFiles/libsparseirtests.dir/utils.cxx.o
[ 80%] Building CXX object test/CMakeFiles/libsparseirtests.dir/freq.cxx.o
[ 92%] Building CXX object test/CMakeFiles/libsparseirtests.dir/sve.cxx.o
[ 80%] Building CXX object test/CMakeFiles/libsparseirtests.dir/poly.cxx.o
[ 80%] Building CXX object test/CMakeFiles/libsparseirtests.dir/_specfuncs.cxx.o
[ 80%] Building CXX object test/CMakeFiles/libsparseirtests.dir/_root.cxx.o
[ 96%] Building CXX object test/CMakeFiles/libsparseirtests.dir/svd.cxx.o
[ 96%] Building CXX object test/CMakeFiles/libsparseirtests.dir/kernel.cxx.o
[ 96%] Building CXX object test/CMakeFiles/libsparseirtests.dir/basis.cxx.o
[ 96%] Building CXX object test/CMakeFiles/libsparseirtests.dir/augment.cxx.o
[ 96%] Building CXX object test/CMakeFiles/libsparseirtests.dir/sampling.cxx.o
[100%] Linking CXX executable libsparseirtests
[100%] Built target libsparseirtests
Randomness seeded to: 1823977355
Warning: Basis cutoff is 2.22045e-16, which is below √ε with ε = DDouble(2.4651903288156619e-32,0.0000000000000000e+00).
Expect singular values and basis functions for large l to have lower precision than the cutoff.
Warning: Basis cutoff is 1e-08, which is below √ε with ε = 2.22045e-16.
Expect singular values and basis functions for large l to have lower precision than the cutoff.
Warning: Basis cutoff is 1e-20, which is below √ε with ε = 2.22045e-16.
Expect singular values and basis functions for large l to have lower precision than the cutoff.
Warning: Basis cutoff is 1e-10, which is below √ε with ε = 2.22045e-16.
Expect singular values and basis functions for large l to have lower precision than the cutoff.
Warning: Basis cutoff is 1e-100, which is below √ε with ε = DDouble(2.4651903288156619e-32,0.0000000000000000e+00).
Expect singular values and basis functions for large l to have lower precision than the cutoff.
Warning: Basis cutoff is 1e-100, which is below √ε with ε = DDouble(2.4651903288156619e-32,0.0000000000000000e+00).
Expect singular values and basis functions for large l to have lower precision than the cutoff.
Warning: Basis cutoff is 1e-15, which is below √ε with ε = DDouble(2.4651903288156619e-32,0.0000000000000000e+00).
Expect singular values and basis functions for large l to have lower precision than the cutoff.
Warning: Expected 19 sampling points, got 34.
free(): invalid size

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libsparseirtests is a Catch2 v3.4.0 host application.
Run with -? for options

-------------------------------------------------------------------------------
Sampling Tests
  Testing with Λ=10.000000
-------------------------------------------------------------------------------
/workspaces/libsparseir/test/sampling.cxx:23
...............................................................................

/workspaces/libsparseir/test/sampling.cxx:23: FAILED:
  {Unknown expression after the reported line}
due to a fatal error condition:
  SIGABRT - Abort (abnormal termination) signal

===============================================================================
test cases:   56 |   55 passed | 1 failed
assertions: 3401 | 3400 passed | 1 failed

run.sh: line 1:  2822 Aborted                 ./build/test/libsparseirtests
@terasakisatoshi
Copy link
Contributor Author

Ref #98

@terasakisatoshi
Copy link
Contributor Author

#100 fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant