Open KIwabuchi opened 1 month ago
I got some errors when I compiled YGM on the Tioga cluster with a clang-based rocm compiler.
Error 1:
/g/g90/iwabuchi/astro-hip/build/_deps/ygm-src/include/ygm/detail/comm.ipp:439:17: error: expression not permitted as operand of fold expression 439 | (ss << rank() << ": " << ... << args); | ~~~~~~~~~~~~~^~~~~~~
Error 2:
This looks like a simple bug — need to include the <fstream> header.
<fstream>
ygm/container/bag.hpp:139:19: error: implicit instantiation of undefined template 'std::basic_ofstream<char>' 139 | std::ofstream os(rank_fname, std::ios::binary);
Here is how to build YGM on Tioga:
module load rocmcc/6.2.0-magic cray-mpich cmake ../ -DCMAKE_CXX_COMPILER=amdclang++ -DMPI_CXX_COMPILER=mpiamdclang++
I got some errors when I compiled YGM on the Tioga cluster with a clang-based rocm compiler.
Error 1:
Error 2:
This looks like a simple bug — need to include the
<fstream>
header.Here is how to build YGM on Tioga: