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

Build error when cmake option KR_ENABLE_TRACING is ON #51

Open
pkestene opened this issue Dec 8, 2023 · 0 comments
Open

Build error when cmake option KR_ENABLE_TRACING is ON #51

pkestene opened this issue Dec 8, 2023 · 0 comments

Comments

@pkestene
Copy link

pkestene commented Dec 8, 2023

/home/kestenerp/install/kokkos/github/kokkos-resilience-pk/src/resilience/veloc/VelocBackend.cpp: In member function ‘void KokkosResilience::VeloCFileBackend::checkpoint(const string&, int, const std::vector<KokkosResilience::BasicViewHolder<false> >&)’:
/home/kestenerp/install/kokkos/github/kokkos-resilience-pk/src/resilience/veloc/VelocBackend.cpp:340:82: error: ‘m_context’ was not declared in this scope; did you mean ‘make_context’?
  340 |       auto write_trace = Util::begin_trace< Util::TimingTrace< std::string > >( *m_context, "write" );
      |                                                                                  ^~~~~~~~~
      |                                                                                  make_context

Apparently, class VeloCFileBackend should store a "ContextBase *m_context" member to solve this.

@pkestene pkestene changed the title Build error when cmake option KR Build error when cmake option KR_ENABLE_TRACING is ON Dec 8, 2023
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