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

NAG compiler fix: skip implicit RPATH detection #15902

Merged

Conversation

scheibelp
Copy link
Member

Fixes #15776

Skip collection of compiler link paths if compiler does not define a verbose flag. This includes NAG.

verbose_flag() is not implemented for the NAG compiler in Spack. It is possible that -V is the appropriate choice for this. Since link-path detection logic involves compiling a C file, I'm not sure if it should be run at all if the available exe is meant for compiling Fortran.

Copy link
Member

@alalazo alalazo left a comment

Choose a reason for hiding this comment

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

Thanks @scheibelp

@@ -250,13 +250,13 @@ def enable_new_dtags(self):
PrgEnv_compiler = None

def __init__(self, cspec, operating_system, target,
paths, modules=[], alias=None, environment=None,
paths, modules=None, alias=None, environment=None,
Copy link
Member

Choose a reason for hiding this comment

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

💯

@alalazo alalazo merged commit 75640f0 into spack:develop Apr 9, 2020
@skosukhin
Copy link
Member

There had already been a fix for this problem: #14782. Should I close my PR then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install openmpi with NAG compiler
4 participants