Hi Olaf, Thank you very much for the effort. That's great! I am afraid I haven't been able to figure a fix out for macOS flags to build with OpenMP yet. Best regards,
A link for a propused solution: https://github.com/gprMax/gprMax/issues/134 I'll let you know in case it works.
Hi Volker, I see. I reckon in macOS the library is called "libomp", instead of libgomp and maybe that's why it isn't found?. I will try to symlink them to "libomp" in order to give a new try and I'll let you know. Cheers,
(Sorry for double posting)
Hi Voker, Thanks a lot for the quick replay. To be honest, I'm really looking forward to get OpenMP functionality in macOS, but I haven't been sure how to do it and so I sticked up with the guide in this wiki. In macOS, I've used "libomp" to get OpenMP for some R packages, where I needed to add a flag -fopenmp and some references during the building process like SHLIB_OPENMP_CFLAGS=-fopenmp. The reference can be seen in this URL. Similarly, in the configure.ac file from SAGA 7.6.1 I saw a mention...
I apologise, I forgot to include the URL of the building formula, just in case. https://github.com/OSGeo/homebrew-osgeo4mac/blob/master/Formula/osgeo-saga.rb I'm also adding output from the building process from when I extracted the message https://circleci.com/api/v1.1/project/github/OSGeo/homebrew-osgeo4mac/6247/output/107/0?file=true&allocation-id=5e53b991359ae3731e4985f6-0-build%2F197B6795 Thank you in advance for your effort maintaining and improving SAGA. It's awesome!
omp_get_thread_num() prevent from building 7.6.0