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
Bug in poisson2_example #200
Labels
Comments
Hi, |
Hi,
This error occurred under macOS with the Apple Clang compiler. I am now double-checking with GCC (same OS, same configuration) to check if it is only a problem with Clang.
… On 26 Jun 2018, at 11:53, Angelos Mantzaflaris ***@***.***> wrote:
Hi,
I cannot reproduce this.. on linux in Debug mode it seems to run fine..
Even valgrind finds no flaws...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#200 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AB5nozglZToXGTReunMoiYaeEEV-5tqcks5uAgSWgaJpZM4U2YC3>.
|
Ok also trying clang on linux right now |
Here is a small update to the problem. It also happens with GCC (6.4.0) under macOS.
I could narrow down the error to the following:
The push()-method of the file gsExprAssembler.h is called twice. During the first call, colMap.isFinalized() and rowMap.isFinalized() both return true. The push()-method is called a second time and then, colMap.isFinalized() returns false while rowMap.isFinalized() returns true. That exception is thrown at this line
GISMO_ASSERT(colMap.boundarySize() == fixedDofs.rows(), …);
Matthias
… On 26 Jun 2018, at 13:10, Angelos Mantzaflaris ***@***.***> wrote:
Ok also trying clang on linux right now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#200 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AB5no5RLHMELX3-USCsu-7wdAWv7sFgoks5uAha0gaJpZM4U2YC3>.
|
I forgot to mention that the value of m_curElimID in method boundarySize() is this:
boundarySize m_curElimId: 1883329032
Seems as if things remain uninitialised.
… On 26 Jun 2018, at 13:27, Matthias Möller ***@***.***> wrote:
Here is a small update to the problem. It also happens with GCC (6.4.0) under macOS.
I could narrow down the error to the following:
The push()-method of the file gsExprAssembler.h is called twice. During the first call, colMap.isFinalized() and rowMap.isFinalized() both return true. The push()-method is called a second time and then, colMap.isFinalized() returns false while rowMap.isFinalized() returns true. That exception is thrown at this line
GISMO_ASSERT(colMap.boundarySize() == fixedDofs.rows(), …);
Matthias
> On 26 Jun 2018, at 13:10, Angelos Mantzaflaris ***@***.*** ***@***.***>> wrote:
>
> Ok also trying clang on linux right now
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub <#200 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AB5no5RLHMELX3-USCsu-7wdAWv7sFgoks5uAha0gaJpZM4U2YC3>.
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear all,
there seems to be a bug in the poisson2_example.cpp file which only shows when compiled in
Debug
mode. The code compiles fine but give the following error when run:Any help is appreciated.
Matthias
The text was updated successfully, but these errors were encountered: