forked from sandialabs/omega_h
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
Line 450 in 82824b2
| OMEGA_H_CHECK(version <= latest_version); |
This line gets hit when I want to read a mesh of version 11 without kokkos with an older Omega_h (it tried commit 09a5171) in release build.
assertion version <= latest_version failed at /users/hasanm4/lore/wsources/omega_h_scorec/src/Omega_h_file.cpp +441
Aborted (core dumped)
But when I build the same Omega_h with Kokkos (with OpenMP backend), it does not hit the check. It terminates with a std::bad_alloc error.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_allocAlthough if I build it in debug mode, it hits that check as expected:
describe: omega_h_scorec/src/Omega_h_file.cpp:441: void Omega_h::binary::read(std::istream&, Omega_h::Mesh*, Omega_h::I32): Assertion `version <= latest_version' failed.
Reactions are currently unavailable