[gradsusr] Multiprocessor Support

Jennifer M Adams jadams21 at gmu.edu
Wed Jun 27 16:15:51 EDT 2018


GrADS is single-threaded. If you want to run more than one GrADS process at a time, you must divide your tasks and then invoke each thread separately and put them in background mode. Something like this:
> grads -lbxc ‘task.gs do A’ & 
> grads -lbxc ‘task.gs do B' & 
> grads -lbxc ‘task.gs do C’ &
—Jennifer


> On Jun 27, 2018, at 1:00 PM, Mark Sponsler <msponsler at COMCAST.NET> wrote:
> 
> Hi,
> 
> I have multiple Windows servers all running various OpenGrads batch scripts in parallel. I'd like to consolidate hardware. 
> 
> 
> 
> Is it possible to run multiple instances of Grads in parallel on a single multi core processor?
> 
> 
> 
> Using the affinity command one can assign Grads to run on one specific CPU of say an 8 physical core CPU.
> 
> 
> 
> But the question is how many threads does Grads break down into and would not those threads just get randomly assigned to any available CPU, ultimately resulting in collisions and contentions between all the various threads?
> 
> 
> 
> Long time ago I though I remember seeing a post that said Grads was single threaded, but I cant find it in the archives. 
> 
> 
> 
> Any insight would be appreciated. 
> 
> 
> 
> Versions:
> 
> 2.0.2.oga.2 (I assume this is the latest version)
> 
>         
> 
> Thanks,
> Mark
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://secure-web.cisco.com/1QzH5lNH7B2xgFryNVmc5UdSsoseGL6wM2vi4C2lNbGxbXc2G7TdvU-7OWYSoeNfwW-b4EkuelRskTYmd50Gl-DOHCeYxNP5D0o3HcMA9cmaVEm37lS8NjPgZqpLDAdHVOpHuwA9Xvvv9gaMViAp9yJtEPCgsD2yLrY6rKE-bpOraTzPslkMIX0CqQ3shSTz3a9rymvpGNNd5kW3m9-SkPAf0wI_18dXlqQXIHFRBo-SIlyhuO4e3C7mjshs4NxiCD1usXFV5kWxjStB7HjIczYMfJV9s_LlV04Hn582JeXcwB9YiY6Jzj3XOiKwgNFyLOibqQ04sM8Zgu3Okj6jBvRB3QtqkSNRUlf30ufVNyHYY9YpK5GvlUGF--j_OgygYqEZ8U0Vy8ShQZQ1zGLnZow5YSxt9plUDCK4xCY8YiVIoXK-_EIvobho4b1JAiD-y/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr

--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University






More information about the gradsusr mailing list