ENH: more flexible handling of FOAM_IORANKS

- 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
This commit is contained in:
Mark Olesen
2023-05-17 11:24:44 +02:00
parent 336422e00b
commit 06147dabe7
14 changed files with 680 additions and 120 deletions

View File

@ -0,0 +1,3 @@
Test-fileHandler-ranks1.C
EXE = $(FOAM_USER_APPBIN)/Test-fileHandler-ranks1

View File

@ -0,0 +1,2 @@
/* EXE_INC = */
/* EXE_LIBS = */