Closed arkabokshi closed 6 years ago
What code did you run?
How did you compile BOUT++?
This is a gyrofluid model @d7919 and I have been working on. Not on the BOUT++ GitHub yet. Compiled BOUT++in the usual way ./configure --with-petsc
and the latter library was successfully compiled and tested (the flags I used while compiling PETsc can be seen in the above error file message).
I suspect you'd see the same thing in some of the examples/integrated tests (but worth checking).
Along with the model there's the question of which version of BOUT++ (i.e. what branch/commit of the main code are you using).
BOUT++ version 4.1.2
Revision: 25ee5aa25a3bb1e17a03e08c98d1caa7ab8f81aa
MD5 checksum: 4a2f46d4d882fd7e12f9fed999b11642
I am on branch master
.
Yes, BOUT-dev/examples/laplacexy/alfven-wave
gives the same error.
There's some suggestions on how to track this down here: http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
They suggest that it's likely due to some memory corruption, and the first thing to try is to pass PETSc -malloc_debug
.
Fixed in #1050
The issue seems to be in the
LaplaceXY
routine. The code was run with the defaultBOUT.inp
file options.Have attached the error message. PETSC_error_after_run_finishes.txtThe output is: