[ET Trac] #2553: Cactus' link command uses CPPFLAGS and CXXFLAGS

Erik Schnetter trac-noreply at einsteintoolkit.org
Wed Aug 11 22:30:36 CDT 2021

#2553: Cactus' link command uses CPPFLAGS and CXXFLAGS

 Reporter: Roland Haas
   Status: open
  Version: development version
     Type: bug
 Priority: minor
Component: Cactus

Comment (by Erik Schnetter):

I didn’t realize you had trouble compiling these thorns.


For me, these settings work:

CXX = /home/eschnetter/Cactus/view-cuda/bin/nvcc --compiler-bindir /home/eschnetter/Cactus/view-cuda-compilers/bin/g++ -x cu
CXXFLAGS = -pipe -g --compiler-options -march=native -std=c++17 --compiler-options -std=gnu++17 --expt-relaxed-constexpr --extended-lambda --gpu-architecture sm_75 --forward-unknown-to-host-compiler --Werror cross-execution-space-call --Werror ext-lambda-captures-this --relocatable-device-code=true --objdir-as-tempdir

with standard Cactus. This uses `nvcc` for all C\+\+ code as well as for linking.

Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2553/cactus-link-command-uses-cppflags-and
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20210812/4b6eb8e1/attachment.html 

More information about the Trac mailing list