algebraic-solving / msolve

Library for Polynomial System Solving through Algebraic Methods
https://msolve.lip6.fr
GNU General Public License v2.0
92 stars 22 forks source link

"segmentation fault" when attempting multithread calculation #26

Closed jasonrong001 closed 1 year ago

jasonrong001 commented 1 year ago

I am using MAC with M1 chip.

Since apple's gcc seems to have issue with gmp, I was able to build with

export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib

./autogen.sh

./configure CC=gcc-12 CFLAGS=-I/opt/homebrew/include

make

After that the single-thread calculation works fine, but the multithread calculation returns

zsh: segmentation fault ./msolve -t 4 -f in.ms -o out.ms

mohabsafey commented 1 year ago

This bug is fixed in the new release 0.4.8 Many thanks for the feedback.