The unknown-switch error has been an issue for our site for a while as it affects some of our core user software. The suggested solution of setting NOSWITCHERROR=1 in the siterc file has worked well up until recently. I have noticed that some new software relies on those switch errors in their configure scripts, most notably openmpi/4.1.0, which fails to build when switch errors are disabled.
For the majority of our cases, NOSWITCHERROR=1 is beneficial and so I would like to keep it active, but we need a way to enable errors for select cases like the above. Is there any command-line flag to active errors (e.g., a -switcherror counterpart to -noswitcherror)?