Open daegerte opened 2 months ago
pygimli : 1.4.6+43.gc2601998 (master)
pgcore : Module not found
Did you build the pygimli core by yourself?
Yes, we follow your instructions and we don't use no conda. We alsop have an older version (1.4.3+39.g0f55444b) running on another laptop as well as on a server, both with ubuntu 20 with python 3.8.10
for own builds .. can you please try:
make gtest
This is a first test of the core library without any python involved .. maybe its shows some additional information to help address the problem
Hi, sorry for late answer, been absent.
First the working older version:
daegerte@Damian:~/gimli/build$ make gtest
Scanning dependencies of target gimli
[ 4%] Building CXX object core/src/CMakeFiles/gimli.dir/gimli.cpp.o
[ 8%] Linking CXX shared library ../../lib/libgimli.so
[ 95%] Built target gimli
Scanning dependencies of target gimliUnitTest
[ 95%] Building CXX object core/tests/unittest/CMakeFiles/gimliUnitTest.dir/unitTest.cpp.o
[100%] Linking CXX executable ../../../bin/gimliUnitTest
[100%] Built target gimliUnitTest
Scanning dependencies of target gtest
starting unittest
..CHOLMOD sparse: A: 3-by-3, nz 3, up/lo. OK
CHOLMOD analyzed preordering: 2
CHOLMOD factor: L: 3-by-3 simplicial, LDL'. nzmax 3. nz 3 OK
Info: non-symmetric matrix found ( 1 2 4 -1 tol: 5 ).. switching to umfpack.
Info: Using umfpack.
CHOLMOD sparse: A: 3-by-3, nz 9, up/lo. OK
CHOLMOD analyzed preordering: 2
CHOLMOD factor: L: 3-by-3 simplicial, LDL'. nzmax 6. nz 6 OK
CHOLMOD sparse: A: 3-by-3, nz 6, upper. OK
CHOLMOD analyzed preordering: 2
CHOLMOD factor: L: 3-by-3 simplicial, LDL'. nzmax 6. nz 6 OK
CHOLMOD sparse: A: 3-by-3, nz 6, lower. OK
CHOLMOD analyzed preordering: 2
CHOLMOD factor: L: 3-by-3 simplicial, LDL'. nzmax 6. nz 6 OK
CHOLMOD sparse: A: 3-by-3, nz 9, up/lo. OK
CHOLMOD analyzed preordering: 2
CHOLMOD factor: L: 3-by-3 simplicial, LDL'. nzmax 6. nz 6 OK
CHOLMOD sparse: A: 3-by-3, nz 6, lower. OK
CHOLMOD analyzed preordering: 2
CHOLMOD factor: L: 3-by-3 simplicial, LDL'. nzmax 6. nz 6 OK
CHOLMOD sparse: A: 3-by-3, nz 6, upper. OK
CHOLMOD analyzed preordering: 2
CHOLMOD factor: L: 3-by-3 simplicial, LDL'. nzmax 6. nz 6 OK
.............................Hello, this is: libgimli-v1.4.3-39-g0f55444b
I'm calling from: ./core/tests/unittest/testGIMLiMisc.h:31 void GIMLIMiscTest::testGimliMisc()
number of CPU: 3
size_t: 8
ssize_t: 8
Index: 8
Sindex: 8
int: 4
long: 8
long long int: 8
int8: 1
int16: 2
int32: 4
int64: 8
uint8: 1
uint16: 2
uint32: 4
uint64: 8
float: 4
double: 8
....MemWatch
./core/tests/unittest/testGIMLiMisc.h:90 Memory (st) in use: abs: 230.539 rel: 0 MByte. t = 4.0507e-05/4.1281e-05 s
./core/tests/unittest/testGIMLiMisc.h:92 Memory (st) in use: abs: 993.48 rel: 762.941 MByte. t = 0.000102137/6.0694e-05 s
./core/tests/unittest/testGIMLiMisc.h:94 Memory (st) in use: abs: 230.539 rel: -762.941 MByte. t = 0.000171098/6.889e-05 s
./core/tests/unittest/testGIMLiMisc.h:96 Memory (st) in use: abs: 993.859 rel: 763.32 MByte. t = 0.775432/0.775262 s
./core/tests/unittest/testGIMLiMisc.h:98 Memory (st) in use: abs: 230.844 rel: -763.016 MByte. t = 0.838828/0.0633951 s
..................
OK (53 tests)
[100%] Built target gtest
and now on not working new version Nothing goes here.
damian@Damian:~/src/gimli/build$ make gtest
Consolidate compiler generated dependencies of target gimli
[ 95%] Built target gimli
[ 95%] Building CXX object core/tests/unittest/CMakeFiles/gimliUnitTest.dir/unitTest.cpp.o
[100%] Linking CXX executable ../../../bin/gimliUnitTest
[100%] Built target gimliUnitTest
starting unittest
.........Floating point exception (core dumped)
make[3]: *** [core/tests/unittest/CMakeFiles/gtest.dir/build.make:70: gtest] Error 136
make[2]: *** [CMakeFiles/Makefile2:639: core/tests/unittest/CMakeFiles/gtest.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:646: core/tests/unittest/CMakeFiles/gtest.dir/rule] Error 2
make: *** [Makefile:400: gtest] Error 2
I'm not sure if we ever had such a Machine : aarch64
platform. We dont have such hardware with a build toolchain to test it ourself.
We recently released a new version and rebuild on various platforms on different machines without any problems. Can you please check it the error persists with the recent dev branch?
If there is still the same error, it might be possible to identify the test that throws this exception, however its a little fiddely for your side since we can't search ourself without hand on such problem.
Problem description
pygimli.test() fails with a fatal Python error: Floating point exception
Your environment
Please provide the output of
print(pygimli.Report())
here. If that does not work, please give provide some additional information on your:Operating system: Linux Ubuntu Python version: 3.10.12 pyGIMLi version: 1.4.6 Way of installation: Manual compilation from source, etc.
Date: Wed Feb 21 14:28:33 2024 CET
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
Steps to reproduce
Tell us how to reproduce this issue. Ideally, you could paste the code that produces the error:
Expected behavior
Tests should run throug without error.
Actual behavior
Test fail with above error.