add -fdefault-double-8 to r8 toolchain compiler option for GCC (to be consistent with Intel)#4121
Conversation
-r8 for intel promotes reals => 64bit, but leaves doubles as 64bit. -fdefault-real-8 for gfotran promotes reals => 64bit and promotes doubles to 128bit. -fdefault-real-8 -fdefault-double-8 yields the same effect as intel's -r8
|
https://github.com/easybuilders/easybuild-framework/blob/develop/test/framework/toolchain.py#L870 the toochain r8 test is failing. Not completely sure I can easily see exactly what's being tested there. |
|
@hattom I think it's assuming it will be a string, and is tripping up because it's now a list specifically, https://github.com/easybuilders/easybuild-framework/blob/develop/test/framework/toolchain.py#L875 |
|
Slightly further down in the same file there's Should the above r8 test be changed to support also: |
@hattom yes that should work |
Update r8 toolchain test for lists
|
hmm, that's not quite right 😄 |
Co-authored-by: Jasper <[email protected]>
The good news is that I tested this already locally. |
|
Is this sort of error normal? |
|
We do see odd errors from time to time. I've kicked the failed tests to run again. |
fdefault-double-8 to r8 toolchain compiler option for GCC (to be consistent with Intel)
|
Going in, thanks @hattom! |
fdefault-double-8 to r8 toolchain compiler option for GCC (to be consistent with Intel)-fdefault-double-8 to r8 toolchain compiler option for GCC (to be consistent with Intel)
-r8 for intel promotes reals => 64bit, but leaves doubles as 64bit.
-fdefault-real-8 for gfotran promotes reals => 64bit and promotes doubles to 128bit.
-fdefault-real-8 -fdefault-double-8 yields the same effect as intel's -r8
#4120 contains examples.