-
Notifications
You must be signed in to change notification settings - Fork 153
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
Unexpected parallel results #1017
Comments
Quick update: For the same Gmsh version (3.0.6), I have identical results with the Trilinos --no-pysparse solver as with the above PETSC (3.20.4) case. Considering this, I tried to replicate this method that mentioned Gmsh not always giving the correct sized grid by replacing the second chunk of code in above example by the following:
This returns;
For Gmsh 4.11.1:
|
Thanks for the detailed report. There are two issues going on here:
Using either Trilinos or PETSc, making these two changes gives
|
Thank you for pointing this out. The PyTrilinos feedstock on conda-forge still lags way behind Python versions, but you're correct that it installs in Python 3.7 (and even 3.8 on some platforms). I'll fix the documentation (#1018). |
Well this turned out to be a much simpler problem; me! I clearly have some more learning to do. Thanks for taking the time to explain, this would've taken me a while to find 👍. Good to know about the in-built slicing also |
I would classify both of these issues as subtle. I appreciate you asking about them. |
I originally posted about this on the mailing board but, in hindsight, here seems more appropriate.
I'm not getting the expected results when running in parallel across multiple cores on one cluster node. This problem persists when using either Trilinos with Gmsh 4.11.1 and PETSC with Gmsh 3.0.6. The script below (run with Trillinos --no-pysparse) demonstrates this:
Output from serial case:
Output from the parallel case with Trilinos --no-pysparse, Gmsh 4.11.1 (made via "conda-trilinos-lock.yml"):
With regards to that warning: Gmsh 4.11.1 was documented as Fipy-compatible (>=4.5.2) in 2021, but I tried downgrading to <4.0 due to on older discussion here. Furthermore, the FiPy documentation notes that "PyTrilinos on conda-forge presently only provides 12.10, which is limited to Python 2.x.", whilst the above environment was run with Python 3.7.12, PyTrilinos 12.18.1 and was installed via conda-forge. Although this may contribute, it wasn't relevant to the following case:
Output from the parallel case with PETSC, Gmsh 3.0.6 and without
Epetra.PyComm().MyPID()
orfrom PyTrilinos import Epetra
:Closer, no more warning message, but also no correct results. I suspect that this could be a separate problem. With both cases:
I would appreciate any suggestions – if there are questions or if more information is needed, just let me know and I'll respond as soon as possible.
Kind regards,
Ed
The text was updated successfully, but these errors were encountered: