-
Notifications
You must be signed in to change notification settings - Fork 51
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
Fixes for opening an iteration #1239
Conversation
715a199
to
fb4dc64
Compare
restarting CI |
It looks like NVHPC compilers (formerly PGI) fail on the |
I can reproduce this locally, will have a look |
The NVIDIA compilers have a lot of test failures for me locally.. |
f57da19
to
83ef5f4
Compare
Don't flush when opening an iteration
discussed today: likely a glitch that the read toggles into write mode at some point. |
When defining: namespace std
{
inline string to_string(openPMD::FlushLevel const &level)
{
switch (level)
{
case openPMD::FlushLevel::UserFlush:
return "UserFlush";
case openPMD::FlushLevel::InternalFlush:
return "InternalFlush";
case openPMD::FlushLevel::SkeletonOnly:
return "SkeletonOnly";
case openPMD::FlushLevel::CreateOrOpenFiles:
return "CreateOrOpenFiles";
}
}
} // namespace std and adding to
the result is this
:D I'll try passing by value instead of reference |
I think that the last push should fix it. Looks like a compiler issue to me, but it works now. However, I noticed that builds with MPI or ADIOS2 have lots of failure with NVC++, we should maybe try to extend our tests there and see if it can be fixed. The thing seems to do lots of very funny optimization that may or may not result in correct binaries. |
NVHPC is now running fine again :) |
Actually, in C++, adding anything in the To fix the UB in the code, rely on ADL and define the
|
Ah yeah, true On the other hand, it was just some temporary debugging output and the memory issue that I saw came from somewhere else |
The Python bindings don't compile at all |
@franzpoeschel I think |
7852942
to
18f99ac
Compare
18f99ac
to
48114fa
Compare
restarting CI |
@franzpoeschel one tiny suggestion inline for your consideration |
Co-authored-by: Axel Huebl <[email protected]>
restarting CI since I merged a couple PRs in between |
Similar to #1253 (comment) - tricky to bkacport to |
Commit isolated from #1237
TODO: