#2410: compiling Baikal with gcc >= 9.3 is very slow
| Reporter: | Roland Haas |
| Status: | new |
| Milestone: | |
| Version: | |
| Type: | bug |
| Priority: | major |
| Component: | EinsteinToolkit thorn |
Comment (by Roland Haas):
Table of compile time for gcc 9.3.0 using -O1 -march=core and the ET_2020_05_v0 version of the code
| File name | time to compile |
|---|---|
| Baikal/src/driver_enforcedetgammabar_constraint.c | 458.326 |
| Baikal/src/driver_pt2_BSSN_RHSs.c | 65.7796 |
| Baikal/src/BSSN_RHSs_enable_Tmunu_True_FD_order_4.c | 46.865 |
| Baikal/src/BSSN_Ricci_FD_order_4.c | 9.34175 |
| Baikal/src/driver_BSSN_T4UU.c | 7.00304 |
| BaikalVacuum/src/BSSN_RHSs_enable_Tmunu_False_FD_order_4.c | 8947.04 |
| BaikalVacuum/src/BSSN_RHSs_enable_Tmunu_False_FD_order_8.c | 2453.11 |
| BaikalVacuum/src/BSSN_Ricci_FD_order_4.c | 1100.26 |
| BaikalVacuum/src/driver_enforcedetgammabar_constraint.c | 433.173 |
| BaikalVacuum/src/BSSN_Ricci_FD_order_8.c | 305.455 |
| BaikalVacuum/src/driver_pt2_BSSN_RHSs.c | 66.2126 |
| BaikalVacuum/src/BSSN_to_ADM.c | 1.22881 |
which is about a factor of 430 faster for the slowest file (BSSN_RHSs_enable_Tmunu_False_FD_order_4.c) and changes compile time from several hours to a minute or so.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2410/compiling-baikal-with-gcc-93-is-very-slow