renard pushed a change to branch master. from 6df7941 minor change adds 75a1155 allowing to have lower number of partitions than max_concurrency adds 53a1931 - safer omp_distribute component extraction (in Debug) - default number of threads and partitions is 1, increasing threads automatically increases partitions unless specific number of partitions was requested. - corrected constructions with universal references adds 8bd82f1 thread based partitioning: - flag in mesh region needs to atomic, not distributed, not to depend on the thread policy used - initializing threads to 1, to be able to expand it to the desired number (setting them to any large number prevents later setting to 1, as shrinking partitions is not possible) adds 467ae55 1) partitioning can be changed only once; 2) flag in the region should be atomic; 3) starting from one thread, if more desired, this should be specified adds 5d3e796 Merge branch 'master' of git.sv.gnu.org:/srv/git/getfem into partitions_initiation adds 55089b9 cleaner error messages syntax adds 57f174f Merge branch 'master' of git.sv.gnu.org:/srv/git/getfem into partitions_initiation
No new revisions were added by this update. Summary of changes: src/getfem/getfem_mesh_region.h | 11 +++++---- src/getfem/getfem_omp.h | 52 ++++++++++++++++++++++++----------------- src/getfem_mesh_region.cc | 14 +++++------ src/getfem_omp.cc | 51 +++++++++++++++++++++++++++++----------- 4 files changed, 83 insertions(+), 45 deletions(-)