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

add support in NAMD easyblock to pass additional C++ compiler options for building Charm++ component with + wrap them in single quotes #2118

Merged
merged 2 commits into from
Aug 14, 2020

Conversation

boegel
Copy link
Member

@boegel boegel commented Aug 14, 2020

Building NAMD 2.14 with foss/2019b or foss/2020a requires passing -fpermissive when building Charm++, so we need a custom easyconfig parameter to allow for that...

@boegel boegel added this to the next release (4.2.3?) milestone Aug 14, 2020
@boegel boegel requested a review from migueldiascosta August 14, 2020 09:36
…s, to avoid trouble with '-fp-model source' being passed when building with Intel compilers
@boegel boegel changed the title add support in NAMD easyblock to pass additional C++ compiler options for building Charm++ component with add support in NAMD easyblock to pass additional C++ compiler options for building Charm++ component with + wrap them in single quotes Aug 14, 2020
@boegel boegel added the bug fix label Aug 14, 2020
Copy link
Member

@migueldiascosta migueldiascosta left a comment

Choose a reason for hiding this comment

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

lgtm

@migueldiascosta
Copy link
Member

migueldiascosta commented Aug 14, 2020

just wondering, if the issue is specific to the g++ version, why not checking that and adding -fpermissive automatically?

are you anticipating the need to pass other cxxflags to ./build charm++?

@boegel
Copy link
Member Author

boegel commented Aug 14, 2020

@migueldiascosta I could, but i) I don't know which range of g++ versions the flag is required, ii) this problem will probably disappear in future NAMD versions (so the check in the easyblock would have to be both compiler and NAMD version specific, which seems a bit much).

There may arise a use case for passing other C++ compiler flags to the ./build charm++ command, so I figured this was the best way forward...

@migueldiascosta
Copy link
Member

Going in, thanks @boegel!

@migueldiascosta migueldiascosta merged commit 1caabcf into easybuilders:develop Aug 14, 2020
@boegel boegel deleted the NAMD_charm_cxxflags branch August 14, 2020 15:25
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.

2 participants