[chapel-lang/chapel] Quiet messages from lmod when submitting jobs in l

Branch: refs/heads/master
Revision: 90ffc2b
Author: ronawho
Log Message:

Merge pull request #16299 from ronawho/lmod-quiet-launchcmd

Quiet messages from lmod when submitting jobs in launchcmd

[reviewed by @e-kayrakli and @gbtitus]

Lmod prints a lot of information about what modules are being changed or
reloaded, and we see these when doing a qsub. These messages will get
captured in our test output, which we don’t want so quiet messages from
lmod to avoid that. Previously, we were setting this in a .bashrc file,
but here we’re moving it to launchcmd so it doesn’t have to be set
manually by developers.

Part of https://github.com/Cray/chapel-private/issues/1220

Modified Files:
M util/test/chpl_launchcmd.py

Compare: https://github.com/chapel-lang/chapel/compare/89307c04c8e4...90ffc2bf3059