- accept plain lists (space or comma separated) as well as the traditional OpenFOAM lists. This simplifies argument handling with job scripts. For example, simpleFoam -ioRanks 0,4,8 ... vs simpleFoam -ioRanks '(0 4 8)' ... It is also possible to select the IO ranks on a per-host basis: simpleFoam -ioRanks host ... - expose rank/subrank handling as static fileOperation methods
21 lines
1.4 KiB
Plaintext
21 lines
1.4 KiB
Plaintext
Test that -ioRanks selections perform as expected and that sub-rank
|
|
selection is also doing the correct thing.
|
|
|
|
For example,
|
|
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks host
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '(0 3 14)'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks 14,15,2,0,10,15,0,0,0,
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '0,3,10'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '0,3,11'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '0,3,14'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '0,3,15'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '0,3,12,115'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '0,3,10,12,115'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks host -pick '1,2,3,4'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -pick '2,4,6,8'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '0,3' -pick '2,4,6,8'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '0,4' -pick '2,4,6,8'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '0,6' -pick '2,4,6,8'
|
|
mpirun -np 10 --oversubscribe Test-fileHandler-ranks1 -parallel -ioRanks '0,6' -pick '2,4,6,8'
|