https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859
--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It doesn't compile for me. cmake -DENABLE_MPI=0 -DENABLE_OpenMP=1 .. make -j16 I don't have ittnotify.h, I've tried to comment that out as well as the _itt* calls, but then run into: /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/ABecLaplacian.cpp:83:36: error: ‘NUM_TEAMS’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/ABecLaplacian.cpp:93:82: error: ‘DEVID’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/ABecLaplacian.cpp:98:74: error: ‘NUM_THREADS_PER_BOX’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/ABecLaplacian.cpp:532:36: error: ‘NUM_TEAMS’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/ABecLaplacian.cpp:542:82: error: ‘DEVID’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/ABecLaplacian.cpp:547:78: error: ‘NUM_THREADS_PER_BOX’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/ABecLaplacian.cpp:820:47: error: ‘NUM_TEAMS’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/ABecLaplacian.cpp:820:120: error: ‘DEVID’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/MultiGrid.cpp:786:36: error: ‘NUM_TEAMS’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/MultiGrid.cpp:796:82: error: ‘DEVID’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/MultiGrid.cpp:801:74: error: ‘NUM_THREADS_PER_BOX’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/MultiGrid.cpp:857:36: error: ‘NUM_TEAMS’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/MultiGrid.cpp:867:82: error: ‘DEVID’ was not declared in this scope /usr/src/BoxLib/Src/LinearSolvers/C_CellMG/MultiGrid.cpp:872:74: error: ‘NUM_THREADS_PER_BOX’ was not declared in this scope Is that something that ittnotify.h defines? At least in the ittnotify.h I've googled for it doesn't, so it is unclear from where these macros would be satisfied.