Menu

#230 BasicRunner reports mpirun instead of actual solver

new
nobody
None
normal
minor
Always
none
2023.7
general
2024-05-29
2024-05-29
No

I noticed that the BasicRunner does not report the actual solver used if it is started in parallel.
This does not impact any functionality as far as i'm aware.

A fix would be to use "self.origArgv" for "solver" & "solverFull" in PyFoam/Execution/BasicRunner line 238-239.

See this output from BasicRunner("redistributePar -case /tmp/case_convex-yvofy6wu -decompose -constant", lam=some LAMMachine).start():

"logfile": "/tmp/case_convex-yvofy6wu/redistributePar_decompose.logfile",
"casefullname": "/tmp/case_convex-yvofy6wu",
"casename": "case_convex-yvofy6wu",
"solver": "mpirun", # should be redistributePar
"solverFull": "mpirun",
"commandLine": "mpirun --machinefile /tmp/case_convex-yvofy6wu/hostfile redistributePar -case /tmp/case_convex-yvofy6wu -decompose -constant -parallel",

kind regards

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.