I need to generate domains for CPU v GPU perf plots for MOM6. I was going to do square domains, but rectangular process layouts fit better on the number of CPUs I'm testing. Atm I'm testing 18 and 104 cores - the best layouts being 6x3 and 13x8 respectively. I thought it would be useful to test both square and rectangular domains to see how the GPU version performs.
I'm happy to implement this feature but wanted input on where to implement it. In find_layouts_with_maxncore? e.g. with an arg like rectangle_ratio? 1 would give square, 2 would try to give processor layout of 2:1 etc.
I need to generate domains for CPU v GPU perf plots for MOM6. I was going to do square domains, but rectangular process layouts fit better on the number of CPUs I'm testing. Atm I'm testing 18 and 104 cores - the best layouts being 6x3 and 13x8 respectively. I thought it would be useful to test both square and rectangular domains to see how the GPU version performs.
I'm happy to implement this feature but wanted input on where to implement it. In find_layouts_with_maxncore? e.g. with an arg like
rectangle_ratio? 1 would give square, 2 would try to give processor layout of 2:1 etc.