Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YGM Compiler Error on Tioga #266

Open
KIwabuchi opened this issue Oct 8, 2024 · 0 comments
Open

YGM Compiler Error on Tioga #266

KIwabuchi opened this issue Oct 8, 2024 · 0 comments

Comments

@KIwabuchi
Copy link
Member

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.

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++ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant