-
Notifications
You must be signed in to change notification settings - Fork 33
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
Move to gcc10 as baseline compiler (OMP build error on ggttgg with gcc9.2) #269
Comments
Note also that only gcc10 includes the lto-dump tool, useful for LTO studies issue #229 |
I had noted somewhere (in commit log 6ff529c and in my private bashMG.sh) that gcc10.3 was giving issues (a segmentation fault?) with cuda 10.4, but presently I see no such issue. I will move to gcc10.3. |
…adgraph5#269) - ~unchanged perf, looks ok
…P issue madgraph5#269) - ~unchanged perf, looks ok (Note: I had made a note somwehere of a segmentation fault with gcc10.3 and cuda 11.4? but all looks ok...)
…5#269) - 10% gain with agggressive inlining! (madgraph5#229)
) - 10% gain with agggressive inlining! (madgraph5#229)
Using gcc10.3 I see no real performance benefit on the default "no inline" build, but I see a 10% gain in the "aggressive inlining" mode (#229)... |
Ok this is now done - closing it. I am using
I have updated all logs to use gcc10.3 as new baseline The code now builds AND REQUIRES gcc10 (or at least, it will not build on gcc9.2 due to the OMP bug). Closing |
…ttgg - (temporarely?) reenable gcc9 builds without OMP, issue madgraph5#269 - export OMPFLAGS from Subprocess/Makefile to src/Makefile, even if not really needed in src - remove LIBFLAGS in src/Makefile - remove $(MGONGPU_CONFIG) from src/Makefile - remove unnecessary CXX redefinition - reorder some lines and document them - improve info messages about USEBUILDDIR - move from c++14 to c++17 also in cuda as done for c++
…ttgg - (temporarely?) reenable gcc9 builds without OMP, issue madgraph5#269 - export OMPFLAGS from Subprocess/Makefile to src/Makefile, even if not really needed in src - remove LIBFLAGS in src/Makefile - remove $(MGONGPU_CONFIG) from src/Makefile - remove unnecessary CXX redefinition - reorder some lines and document them - improve info messages about USEBUILDDIR - move from c++14 to c++17 also in cuda as done for c++
… that OpenMP required this (madgraph5#269)
…ttgg - (temporarely?) reenable gcc9 builds without OMP, issue madgraph5/madgraph4gpu#269 - export OMPFLAGS from Subprocess/Makefile to src/Makefile, even if not really needed in src - remove LIBFLAGS in src/Makefile - remove $(MGONGPU_CONFIG) from src/Makefile - remove unnecessary CXX redefinition - reorder some lines and document them - improve info messages about USEBUILDDIR - move from c++14 to c++17 also in cuda as done for c++
While working on epochX4 PR #267 I got a build error for ggttgg using gcc9.2
It appears that this is a gcc9 error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91920
The bug report mentions that this is fixed in gcc10 and backported to gcc9.3.
Indeed I tested gcc10.2 and the issue seems gone, I no longer get the build error above.
It is probably a good idea to upgrade my baseline compiler anyway (even for AVX512 issue #173). I am using cuda 11.4 and I think that gcc11 is no longer supported by it. I will try to upgrade to the latest gcc10 I have available (gcc10.3) and check that I get no performance hit.
The text was updated successfully, but these errors were encountered: