Skip to content

Enforcing no-copy aprun flag and packaged python code

Compare
Choose a tag to compare
@mpbelhorn mpbelhorn released this 17 Nov 00:11
· 163 commits to master since this release

Wraprun now calls aprun via a python subprocess. This eliminates passing and evaluating large executable strings to a parent bash instance. The python code for parsing input has been placed in a standard python package that can be used outside of the CLI binary for testing.

An error was found in earlier releases where the no-copy "-b" flag to aprun was not being injected to the aprun call when it should be. This has been added and the warnings dumped to the log file fixed to show when it was forcibly added. To remove such warnings, users may manually include the flag in the aprun flags to the first executable. It is a syntax error to supply the '-b' flag more than once.