`a.out --dataParTasksPerLocale=... .....` controls the degree of data parallelism for standard data structures. It sets the same restriction for each locale.
https://chapel-lang.org/docs/language/spec/data-parallelism.html?#configuration-constants-for-default-data-parallelism Or are you concerned with restricting the hardware parallelism available? That can probably be achieved with non-Chapel-specific means. Vass -----Original Message----- From: Damian McGuckin <[email protected]> Date: Wednesday, July 8, 2020 at 7:22 PM To: Chapel-Sourceforge <[email protected]> Subject: [Chapel-developers] locales.maxTaskPar now readonly I used to be able to set this to specify the number of Parallel Tasks. I still can with 1.20. With 1.22, it says that this is an illegal lvalue. And the documentation agrees saying I can only query this variable. What is the mechanism to force the maximum parallelism achievable on a given machine please? I went fishing in the documentation and cannot find anything. I do notice now that serial now only ever uses 100% of a CPU so I no longer need to use this to single single CPU mode. I want this to be able to test code on say an N-core machine with say N/4 cores N/2 cores N cores active in my Chapel task. Thanks - Damian Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037 Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here Views & opinions here are mine and not those of any past or present employer _______________________________________________ Chapel-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-developers _______________________________________________ Chapel-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-developers
