-
Notifications
You must be signed in to change notification settings - Fork 96
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
BOUT++-v4.3.1 some examples can not run #2041
Comments
Hi, this looks to be a known bug which was fixed yesterday. See #2038. Try |
Sorry, this has only been fixed in the |
@ZedThree @bshanahan Thanks for quick reply. I git clone the master branch, and compile. uedge-benchmark is OK, but tokamak-2fluid still can not run. |
Can you post the error for tokamak-2fluid? |
the error:
|
@johnomotani the tokamak-2fluid example is not important for me, I am a new user, and want to learn to simulate sol and divertor. I will focus on uedge-benchmark and hermes-2/3. So take your time, or just leave it. |
Fixed in #2043 |
Hello,
In BOUT++-v4.3.1 examples, uedge-benchmark and tokamak-2fluid can be compiled successfully, but Error encountered when running, errors are shown below:
Error encountered
====== Exception path ======
[bt] #8 ./ue_bmark() [0x439e3a]
_start 于 ??:?
[bt] #7 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fc9e07a1a87]
__libc_start_main 于 /build/glibc-kAz5Pl/glibc-2.27/csu/../csu/libc-start.c:344
[bt] #6 ./ue_bmark() [0x433c35]
main 于 /home/huwanpeng/opt-gcc/gcc/include/c++/8.1.0/bits/unique_ptr.h:81
(已内连入)?? 于 /home/huwanpeng/opt-gcc/gcc/include/c++/8.1.0/bits/unique_ptr.h:274
(已内连入)main 于 /home/huwanpeng/codes/BOUT++-v4.3.1/examples/uedge-benchmark/ue_bmark.cxx:253
[bt] #5 ./ue_bmark() [0x474510]
Solver::solve(int, double) 于 /home/huwanpeng/codes/BOUT++-v4.3.1/src/solver/solver.cxx:476
[bt] #4 ./ue_bmark() [0x472905]
Solver::run_rhs(double) 于 /home/huwanpeng/codes/BOUT++-v4.3.1/src/solver/solver.cxx:1161
[bt] #3 ./ue_bmark() [0x44040f]
UedgeBenchmark::rhs(double) 于 /home/huwanpeng/codes/BOUT++-v4.3.1/examples/uedge-benchmark/ue_bmark.cxx:240 (discriminator 5)
[bt] #2 ./ue_bmark() [0x4bea74]
Div_par_K_Grad_par(Field3D const&, Field3D const&, CELL_LOC) 于 /home/huwanpeng/codes/BOUT++-v4.3.1/src/mesh/difops.cxx:308 (discriminator 18)
[bt] #1 ./ue_bmark() [0x4c1933]
Field3D const interp_to(Field3D const&, CELL_LOC, std::__cxx11::basic_string<char, std::char_traits, std::allocator >) 于 /home/huwanpeng/codes/BOUT++-v4.3.1/src/mesh/../../include/interpolation.hxx:66 (discriminator 3)
====== Back trace ======
-> Ncxx4::close on line 266 of 'ncxx4.cxx'
-> const T interp_to(const T&, CELL_LOC, std::__cxx11::string) [with T = Field3D; std::__cxx11::string = std::__cxx11::basic_stri
====== Exception thrown ======
Assertion failed in ../../include/interpolation.hxx, line 66: loc != CELL_DEFAULT
Thanks, looking forward to reply.
The text was updated successfully, but these errors were encountered: