I am not sure whether it is something worth to report or I am missing something. My machine is
“Linux ubuntu-ThinkPad-T490 5.15.0-78-generic #85-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux”
By running “make testall”, the PKE unit test is killed as shown below.
Upon further investigation, I run ./pke_tests in the unitest directory and got the following output
I tried this more than once and even removed the build directory to recreate it. Moreover, I also performed “make clean” but the problem persist. Please excuse me if I missed something obvious.
Should I fix this pke unit test killing on my machine before playing with the pke code?
@s_ali I agree with @Caesar that it might be a memory issue. Recreating the build directory and rebuilding the library is a start. If you are interested in the pke tests only, you can link the library like this:
$ make pke_tests
And only the pke tests will be built. Nothing else gets built: no unit tests for binfhe and core, no examples or extras.
After your build succeeds, you can run either all pke tests:
Yes, the reason for the crash must be lack of memory. I also occasionally got crashes running tests on my laptop with 16GB of RAM.
So, the best would be to upgrade your computer’s RAM to 16GB or more, as the more is the better.
For now you can try to run smaller sets of unit tests.