-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
When compiling, we get
[100%] Linking CXX executable scope
/ccs/home/merth/.hunter/_Base/51d2d6b/8e06572/d68db6d/Install/lib64/libfmtd.a(format.cc.o): In function `fmt::internal::FormatterBase::next_arg(char const*&)':
/ccs/home/merth/.hunter/_Base/51d2d6b/8e06572/d68db6d/Build/fmt/Source/fmt/format.h:2214: undefined reference to `_fill'
/ccs/home/merth/.hunter/_Base/51d2d6b/8e06572/d68db6d/Install/lib64/libfmtd.a(format.cc.o): In function `fmt::internal::FormatterBase::get_arg(unsigned int, char const*&)':
/ccs/home/merth/.hunter/_Base/51d2d6b/8e06572/d68db6d/Build/fmt/Source/fmt/format.h:2220: undefined reference to `_fill'
/ccs/home/merth/.hunter/_Base/51d2d6b/8e06572/d68db6d/Install/lib64/libfmtd.a(format.cc.o): In function `fmt::BasicFormatter<char, fmt::ArgFormatter<char> >::get_arg(fmt::BasicStringRef<char>, char const*&)':
/ccs/home/merth/.hunter/_Base/51d2d6b/8e06572/d68db6d/Build/fmt/Source/fmt/format.h:3809: undefined reference to `_fill'
/ccs/home/merth/.hunter/_Base/51d2d6b/8e06572/d68db6d/Install/lib64/libfmtd.a(format.cc.o):(.eh_frame+0x13): undefined reference to `__IBMCPlusPlusExceptionV3'
/usr/bin/ld: link errors found, deleting executable `scope'
collect2: error: ld returned 1 exit sta
This is fixed with module load gcc followed by cmake .. -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CUDA_HOST_COMPILER=which gcc``