add support for running shell commands asynchronously with run_shell_cmd#4444
add support for running shell commands asynchronously with run_shell_cmd#4444lexming merged 8 commits intoeasybuilders:5.0.xfrom
run_shell_cmd#4444Conversation
…sing run_shell_cmd
…ock.skip_extensions_parallel
35c8a41 to
a19776a
Compare
|
Quick test:
And that's only the skipping part being done in parallel... |
run_shell_cmd (WIP)run_shell_cmd (WIP)
|
I've tested this with
The scaling is not spectacular, but I think that's mainly determine by the order in which extensions are being considered, not so much the implementation of running the extension installations in parallel in the background. So, I think this is ready for review/merge. Do note that these changes require a corresponding change in easyblocks, see: I prefer keeping the support for There's a small additional change needed to make parallel installation of extensions work for easyconfigs like |
run_shell_cmd (WIP)run_shell_cmd
TODO:
run_shell_cmdfor usingasynchronous=Truerun_shell_cmdwithasynchronous=TrueinEasyBlock.skip_extensions_parallelrun_shell_cmdwithasynchronous=TrueinExtension.async_cmd_startReasyconfig and--parallel-extensions-install(and--skip)