Open macedo22 opened 3 weeks ago
Yes also on CaltechHPC I've had this problem and had to set DEBUG_SYMBOLS=OFF
. I don't think the SolveXcts
executable is doing anything unreasonable or goes beyond what we intend to support with the DataBox, so as you mentioned the underlying issue is #5472 and IMO it's fairly high priority to fix.
Related to #5472
When attempting to build
SolveXcts
on ocean withgcc 11.3.0
Release, compilation succeeds but attempting to link generates this error that repeats until the process is killed:A temporary workaround to get things to build successfully is to use
-D DEBUG_SYMBOLS=OFF
in thecmake
command inspectre_run_cmake
, which also reduces peak RAM during compilation.Memory usage during compiling and linking is very high when debug symbols are on (default setting for Release). Here is the memory usage and time for building with and without debug symbols:
Here is the full command that was used to compile
SolveXcts
with debug symbols (-g
):And here is the full command that was used to compile
SolveXcts
without debug symbols (-DDEBUG_SYMBOLS=OFF
used incmake
command removes-g
):