Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify that the compilers supposed to be used actually work #4124

Open
ocaisa opened this issue Nov 15, 2022 · 0 comments
Open

Verify that the compilers supposed to be used actually work #4124

ocaisa opened this issue Nov 15, 2022 · 0 comments
Milestone

Comments

@ocaisa
Copy link
Member

ocaisa commented Nov 15, 2022

On generoso, we had an NFS issue which meant that some permissions got corrupted. The end result was that gcc was not resolving to the GCCcore module (which was now unexecutable) but to the system gcc. This slips through unnoticed because we do not use full paths to $CC and friends (and sometimes for good reasons, like for our rpath wrappers). gcc in particular is a problem case since it is (almost) certain to exist on the system.

We should add a check to ensure that version of the compilers in our path match the versions we expect them to be. Example commands to achieve this:

gcc -dumpfullversion -dumpversion
clang -dumpversion
icc -dumpversion  # Does not give a version that matches the module file
icx -dumpversion  # Does not give a version that matches the module file
@boegel boegel added this to the 4.x milestone Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants