Bash: parallel or wait?

Did somebody already experiment with parallel and wait to run identical gmt commands with different variables in a shell in parallel?

I’m running 144 calls to grdgradient with different lighting parameters. Currently it is “one after another” but I see some gains in running as many of them as possible in parallel.

What did you choose to get the job done and why?

Surely gmt batch is the obvious choice to run things like this.

Oh no! I almost veered off the right path … pure GMT is (as always it seems) the solution. Thank you, Paul

1 Like