Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use shellcheck on smpirun
authorAugustin Degomme <adegomme@users.noreply.github.com>
Tue, 14 Jul 2020 22:52:05 +0000 (00:52 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Tue, 14 Jul 2020 22:52:05 +0000 (00:52 +0200)
commitb538b30ae0f651a95448ed2f5da5cf2566040a6a
tree07278e8125fb9cf7dbb1ebe5ccccc5d48f5f3991
parent38d1bb26915b146bfa40b15b5c87a8c1eee44ac6
use shellcheck on smpirun
rules were mainly about escaping, quoting stuff, getting rid of -a and -o
but also some UUOC https://github.com/koalaman/shellcheck/wiki/SC2002
or performance improvement https://github.com/koalaman/shellcheck/wiki/SC2129
and some trap hint : https://github.com/koalaman/shellcheck/wiki/SC2064

two remainings : DEFAULT_NUMPROCS variable is unused. unclear what it was about, should it be the default num of cores in a generated platform ? or the default -np setting ?
"local" is not posix, but a proposal for now
src/smpi/smpirun.in