-
Notifications
You must be signed in to change notification settings - Fork 112
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
NaN detected with RS with Dunavant quadrature rule, not with Strout #668
Comments
ok it turned out to be caused by dunavant quadrature rule. With strout, it works. |
Indeed strange, thanks for reporting! |
Not sure If I should re-open the issue or not. |
@sebwolf-de :
But then I only get:
when running with intel compilers in debug mode. |
Intel compilers "Debug" mode still uses some optimizations. See also #298 for that matter. Or you could try gcc, which doesn't optimize that aggresively in "Debug" mode. |
I tested the fully-coupled palu scenario with R&S friction, mesh |
Or could you change this line https://github.com/SeisSol/Training/blob/b09bfe3ff732256d95d0ea0b64eb80f5e61b853b/sulawesi/Sulawesi_initial_stressRS.yaml#L18 to |
This fixes the problem, although this is not the desired behaviour of SeisSol. |
After a more careful consideration, we came to the conclusion that a traction close to 0 is unphysical for R&S friction. The setup in the training is built such that in a very narrow depth zone, the traction is close to 0. Out of coincidence, with the new mesh and the new quad rule, we had a quadpoint on the fault that lay in that zero-traction-zone. The close-to-zero traction led to a negative state variable and then a lot of more unwanted stuff happening. |
Describe the bug
I'm using the sulawesi RS Training with a new mesh (fault a bit more segmented).
on v1.0.0-rc with Dunavant quadrature rule, I get:
and no problem with Strout:
Expected behavior
no nan with Dunavant
To Reproduce
compiled with
cmake -DCOMMTHREAD=ON -DNUMA_AWARE_PINNING=ON -DASAGI=ON -DCMAKE_BUILD_TYPE=Release -DHOST_ARCH=skx -DPRECISION=double -DORDER=4 -DGEMM_TOOLS_LIST=LIBXSMM,PSpaMM ..
with seissol-env/develop-intel21-impi-x2b on supermucNG.
setup: /hppfs/work/pr63qo/di73yeq4/Training_bug/sulawesi_bugRS
note: v1.0.0-rc setup with LSW and Strout works.
The text was updated successfully, but these errors were encountered: