Skip to content
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

[OptApp] Fixing tolerance issue in the test #11760

Merged
merged 2 commits into from
Nov 3, 2023

Conversation

sunethwarna
Copy link
Member

📝 Description
As you have noticed, OptApp started having a test failure in CI. It was due to tolerance of the AMGCL solver used in solving the PDE. Now I changed everything to use Intel-Pardiso direct solver so not to have tolerance issues.

Sorry for the inconvinience.

🆕 Changelog

  • Fix tolerance issue in the test

@sunethwarna sunethwarna added Applications Python Hotfix FastPR This Pr is simple and / or has been already tested and the revision should be fast labels Nov 3, 2023
@sunethwarna sunethwarna self-assigned this Nov 3, 2023
Igarizza
Igarizza previously approved these changes Nov 3, 2023
@@ -277,7 +292,7 @@ def test_vector_shell_filter(self):

filtered_field = self.shell_vector_filter.UnFilterField(unfiltered_uniform_field_nodal)
filtered_field = self.shell_vector_filter.FilterField(filtered_field)
self.assertAlmostEqual(KOA.ExpressionUtils.NormL2(filtered_field), 5.196058, 4)
self.assertAlmostEqual(KOA.ExpressionUtils.NormL2(filtered_field), 5.196153341144455, 4)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The number is close, what I get on Mac Os with amgcl.

@sunethwarna
Copy link
Member Author

sunethwarna commented Nov 3, 2023

Hmm... now its failing in MeshMovingApplication and I haven't even touched anything related to MeshMovingApplication....

@sunethwarna
Copy link
Member Author

Can someone pre-approve... @rubenzorrilla @roigcarlo @Igarizza @matekelemen ?

@sunethwarna sunethwarna merged commit 507017c into master Nov 3, 2023
9 of 11 checks passed
@sunethwarna sunethwarna deleted the optapp/fix/implicit_filter_test branch November 3, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Applications FastPR This Pr is simple and / or has been already tested and the revision should be fast Hotfix Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants