Skip to content

correctly pass down optimization flags in CP2K easyblock#1293

Merged
damianam merged 1 commit intoeasybuilders:developfrom
boegel:CP2K_opt_flags
Dec 12, 2017
Merged

correctly pass down optimization flags in CP2K easyblock#1293
damianam merged 1 commit intoeasybuilders:developfrom
boegel:CP2K_opt_flags

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Nov 21, 2017

I recently discovered that the optimisation flags that EasyBuild wants to use are not being passed down properly, only the optarch flag controlling the processor architecture to optimise for (e.g. -xHost or --march=native) was.

This is probably for historical reasons, but I consider this a bug now.

The main impact is that compiler options related to floating-point correctness, like -fp-model source, are not being passed down, which may (significantly) impact accuracy of the obtained results.

This change has made a big difference in the number of failing tests, see also the discussion in #1174.

Copy link
Copy Markdown
Member

@damianam damianam left a comment

Choose a reason for hiding this comment

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

lgtm

@damianam damianam merged commit 5911a43 into easybuilders:develop Dec 12, 2017
@boegel boegel deleted the CP2K_opt_flags branch December 12, 2017 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants