Skip to content

cray compilers: fix bug with verifying cray compilers - #17303

Merged
becker33 merged 3 commits into
developfrom
bugfix/cray-compiler-exe-verification
Jun 30, 2020
Merged

becker33 merged 3 commits into
developfrom
bugfix/cray-compiler-exe-verification

Conversation

@becker33

Copy link
Copy Markdown
Member

Fixes #17301

Compiler verification now accounts for the fact that cray backend compilers use relative paths to the cray compiler wrappers.

@eugeneswalker

Copy link
Copy Markdown
Contributor

This worked for me!

Comment thread lib/spack/spack/compiler.py Outdated

@scheibelp scheibelp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this talks about verifying relative paths when in fact it can only verify absolute paths and executable names (i.e. not an arbitrary relative path like x/gcc).

There's some redundancy between which_string and accessible_exe but that may be needed in order to properly report which compiler exes are missing.

Comment thread lib/spack/spack/compiler.py Outdated
@becker33
becker33 merged commit b52390d into develop Jun 30, 2020
@becker33
becker33 deleted the bugfix/cray-compiler-exe-verification branch June 30, 2020 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cray: CompilerAccessError: cc CC ftn not executable

3 participants