Open charlesfleche opened 6 years ago
Building on macOS 10.13.2 (17C205) clang 5.0.1, Autocuts segfaults at startup:
$ ./Autocuts_bin Segmentation fault: 11
I had a similar issue which came from the getenv call in main.cpp. Try replacing it with a constant or setting the environment variable OMP_NUM_THREADS.
getenv
OMP_NUM_THREADS
Building on macOS 10.13.2 (17C205) clang 5.0.1, Autocuts segfaults at startup: