Skip to content
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

OpenMP problem with gcc13 #12206

Open
VictorEijkhout opened this issue Sep 5, 2023 · 1 comment
Open

OpenMP problem with gcc13 #12206

VictorEijkhout opened this issue Sep 5, 2023 · 1 comment
Labels
MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. type: bug The primary issue is a bug in Trilinos code or tests

Comments

@VictorEijkhout
Copy link

VictorEijkhout commented Sep 5, 2023

[ 53%] Building CXX object packages/epetra/src/CMakeFiles/epetra.dir/Epetra_CrsGraphData.cpp.o
cd /work2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-impi/packages/epetra/src && /opt/intel/oneapi/mpi/2021.9.0/bin/mpicxx -DEPETRA_LIB_EXPORTS_MODE -DKOKKOS_DEPENDENCE -Depetra_EXPORTS -I/wo\
rk2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-impi -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-impi/packages/epetra/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/\
epetra/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-impi/packages/teuchos/core/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/core/src -I/work2/00434/eijkhou\
t/trilinos/build-14.4.0-clx-gcc13-impi/packages/kokkos/core/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/kokkos/core/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-i\
mpi/packages/kokkos -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/kokkos/core/src/../../tpls/desul/include -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-impi/packages/kokkos\
/containers/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/kokkos/containers/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-impi/packages/kokkos/algorithms/src -I/work\
2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/kokkos/algorithms/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-impi/packages/kokkos/simd/src -I/work2/00434/eijkhout/trilinos/tri\
linos-14.4.0/packages/kokkos/simd/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/parser/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/parameterlist/\
src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/comm/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/numerics/src -I/work2/00434/eijkhout/trilinos/tril\
inos-14.4.0/packages/teuchos/remainder/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-impi/packages/teuchos/remainder/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-impi\
/packages/teuchos/kokkoscompat/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/kokkoscompat/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-gcc13-impi/packages/teuchos\
/kokkoscomm/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/kokkoscomm/src -isystem /opt/intel/oneapi/mkl/2023.1.0/include -isystem /work2/00434/eijkhout/boost/installation-\
boost-1.81.0-clx-gcc13/include -fopenmp  -O3 -DNDEBUG -fPIC -fopenmp -std=c++17 -MD -MT packages/epetra/src/CMakeFiles/epetra.dir/Epetra_CrsGraphData.cpp.o -MF CMakeFiles/epetra.dir/Epetra_CrsGra\
phData.cpp.o.d -o CMakeFiles/epetra.dir/Epetra_CrsGraphData.cpp.o -c /work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/epetra/src/Epetra_CrsGraphData.cpp
/home1/apps/gcc/13.2.0/bin/ld: /opt/intel/oneapi/mkl/2023.1.0/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed8_orb_cpt'
/home1/apps/gcc/13.2.0/bin/ld: /opt/intel/oneapi/mkl/2023.1.0/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_4'
/home1/apps/gcc/13.2.0/bin/ld: /opt/intel/oneapi/mkl/2023.1.0/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_fini'
/home1/apps/gcc/13.2.0/bin/ld: /opt/intel/oneapi/mkl/2023.1.0/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_4u'
/home1/apps/gcc/13.2.0/bin/ld: /opt/intel/oneapi/mkl/2023.1.0/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed8_rd'

If I compare this with a succesfull build:

[ 54%] Building CXX object packages/epetra/src/CMakeFiles/epetra.dir/Epetra_CrsGraphData.cpp.o
cd /work2/00434/eijkhout/trilinos/build-14.4.0-clx-intel23-impi/packages/epetra/src && /opt/intel/oneapi/mpi/2021.9.0/bin/mpicxx -DEPETRA_LIB_EXPORTS_MODE -DKOKKOS_DEPENDENCE -Depetra_EXPORTS -I/\
work2/00434/eijkhout/trilinos/build-14.4.0-clx-intel23-impi -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-intel23-impi/packages/epetra/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/pac\
kages/epetra/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-intel23-impi/packages/teuchos/core/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/core/src -I/work2/00434\
/eijkhout/trilinos/build-14.4.0-clx-intel23-impi/packages/kokkos/core/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/kokkos/core/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-c\
lx-intel23-impi/packages/kokkos -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/kokkos/core/src/../../tpls/desul/include -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-intel23-impi/p\
ackages/kokkos/containers/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/kokkos/containers/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-intel23-impi/packages/kokkos/algori\
thms/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/kokkos/algorithms/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-intel23-impi/packages/kokkos/simd/src -I/work2/00434/eij\
khout/trilinos/trilinos-14.4.0/packages/kokkos/simd/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/parser/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuc\
hos/parameterlist/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/comm/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/numerics/src -I/work2/00434/eijk\
hout/trilinos/trilinos-14.4.0/packages/teuchos/remainder/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-intel23-impi/packages/teuchos/remainder/src -I/work2/00434/eijkhout/trilinos/build-1\
4.4.0-clx-intel23-impi/packages/teuchos/kokkoscompat/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/kokkoscompat/src -I/work2/00434/eijkhout/trilinos/build-14.4.0-clx-intel\
23-impi/packages/teuchos/kokkoscomm/src -I/work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/teuchos/kokkoscomm/src -isystem /opt/intel/oneapi/mkl/2023.1.0/include -fiopenmp  -O3 -DNDEBUG -f\
PIC -fiopenmp -std=c++17 -MD -MT packages/epetra/src/CMakeFiles/epetra.dir/Epetra_CrsGraphData.cpp.o -MF CMakeFiles/epetra.dir/Epetra_CrsGraphData.cpp.o.d -o CMakeFiles/epetra.dir/Epetra_CrsGraph\
Data.cpp.o -c /work2/00434/eijkhout/trilinos/trilinos-14.4.0/packages/epetra/src/Epetra_CrsGraphData.cpp

RED HERRING I see the use of -fopenmp instead of -fiopenmp THAT'S AN INTEL FLAG.

trilinos_logs.zip

@VictorEijkhout VictorEijkhout added the type: bug The primary issue is a bug in Trilinos code or tests label Sep 5, 2023
Copy link

github-actions bot commented Sep 7, 2024

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity.
If you would like to keep this issue open please add a comment and/or remove the MARKED_FOR_CLOSURE label.
If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE.
If it is ok for this issue to be closed, feel free to go ahead and close it. Please do not add any comments or change any labels or otherwise touch this issue unless your intention is to reset the inactivity counter for an additional year.

@github-actions github-actions bot added the MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. type: bug The primary issue is a bug in Trilinos code or tests
Projects
None yet
Development

No branches or pull requests

1 participant