Skip to content

Improve compiler support#5394

Merged
jngrad merged 1 commit into
espressomd:pythonfrom
jngrad:compiler_support
Jul 7, 2026
Merged

Improve compiler support#5394
jngrad merged 1 commit into
espressomd:pythonfrom
jngrad:compiler_support

Conversation

@jngrad

@jngrad jngrad commented Jul 7, 2026

Copy link
Copy Markdown
Member

Blocks #5392

Description of changes:

  • improve nvcc toolchain support in C++ code in preparation for Kokkos with CUDA support
    • qualify short-range loop functions as host only or host+device kernels
    • not all C++20 STL features are fully supported by nvcc 12.0
  • deactivate relocatable device code and separable CUDA compilation
  • bump NLopt version when built from sources to get modern CMake support

Improve nvcc toolchain support in C++ code in preparation for Kokkos
with CUDA support. Deactivate relocatable device code and separable
CUDA compilation. Bump NLopt version when built from sources to get
modern CMake support.
Comment thread src/core/MpiCallbacks.hpp
@jngrad
jngrad requested a review from itischler July 7, 2026 11:20
@jngrad jngrad added the CMake label Jul 7, 2026
@jngrad jngrad added this to the ESPResSo 5.0.2 milestone Jul 7, 2026
@jngrad jngrad added the Core label Jul 7, 2026
@jngrad
jngrad merged commit ad29b71 into espressomd:python Jul 7, 2026
10 checks passed
@jngrad
jngrad deleted the compiler_support branch July 7, 2026 13:17
juliopas pushed a commit to juliopas/espresso that referenced this pull request Jul 16, 2026
Description of changes:
- improve nvcc toolchain support in C++ code in preparation for Kokkos with CUDA support
   - qualify short-range loop functions as host only or host+device kernels
   - not all C++20 STL features are fully supported by nvcc 12.0
- deactivate relocatable device code and separable CUDA compilation
- bump NLopt version when built from sources to get modern CMake support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants