I (finally) installed GMT via homebrew on my laptop as well. As I currently experiment quite a bit with grid manipulation and plotting I was wondering why only one core seems to be utilized when running
grdimage etc. In my understanding those should be able to run multi-threaded?
I wasn’t very successful in searching the documentation – the only place where I found something of interest was the
-x option: “By default we try to use all available cores.” Which means either I didn’t understand it properly and
grdimage etc. can’t run multi-threaded or my homebrew installation didn’t come with OpenMP support.
GMT reports as:
GMT - The Generic Mapping Tools, Version 6.0.0 [64-bit] [12 cores]
So the 12 cores got recognized but I run on only one core which is a bit sad knowing that 11 cores are hungrily waiting to convert energy into heat and nice plots while one core is screaming away doing all the work.
Any advice on how to get OpenMP support on a MacOS homebrew installation?
Thank you and all the best,