Comments (16)
Failure of save_deg=2
is related to PETScDMCollection.create_transfer_matrix
and is reported here
from turtlefsi.
@keiyamamo - Yes, I think that is okay for now.
from turtlefsi.
The error seems to come from MPI, but it’s a bit weird since we are not using MPI in the test. I don’t know how to fix this immediately but maybe using updated version of container might help?
or @jorgensd might know how to fix this.
from turtlefsi.
That is for the tests that are run against FEniCS master (test_turtle.yml
). This is not failing, but it should probably be updated to the latest tag (2023-08-14
). The failing tests are run against FEniCS stable (test_turtle_conda.yml
).
from turtlefsi.
I see. It seems like there were some updates on conda-forge fenics last couple of weeks, so that might be related...
https://github.com/conda-forge/fenics-feedstock
from turtlefsi.
The conda envs are using PETSc 3.20, which could cause many issues for us, as PETSc no longer does garbage collection in Python (since 3.16).
from turtlefsi.
If it's related to PETSc version, I'm guessing there's little we can do to fix. One way is to simply remove the test for save_deg=2. I guess the problem might be related to 'PETScDMCollection.create_transfer_matrix' function.
from turtlefsi.
This problem affects conda-forge as you can see here. Should we simply deactivate test for save_deg=2
for now? @johannesring @jorgensd
from turtlefsi.
@keiyamamo - I don't think the issue with turtle on conda-forge is related to this issue. When looking at the logs, you can see that all the tests are failing due to a segfault. This is the same problem I see when restarting the tests for Python 3.10. The first test, test_cfd
, fails with a segfault (see here). I've also tried to run the tests locally using act
, and for Python 3.10, all the tests fail with a segfault.
I'm not sure whether we should consider disabling the test_save_deg2
. It looks to be a problem only with the conda packages for Python 3.8 (and possibly Python 3.10).
Note that all the various Python versions we test use the same PETSc version (3.20.0), so the issue doesn't look to be related to the PETSc version.
from turtlefsi.
I saw a related issue yesterday, due to using the latest version of mpi4py. Maybe try to pin it to a sensible version? @MariusCausemann, what version did you end up using?
from turtlefsi.
I solved my problem by using mpi4py 3.1.4, but I'm not sure if it's the same problem. Good luck!
from turtlefsi.
Thank you @MariusCausemann ! I tried with 3.1.4 but did not solve the problem keiyamamo#3
I noticed that hdf5
has different versions than before so that might be related as well.
from turtlefsi.
Using PETSc 3.19.6 fixed the problem with Python 3.8, but it did not fix the problem with segfaults with Python 3.10.
from turtlefsi.
I tested with hdf5
version 1.12.2 and that solved the problem with python3.8 and 3.10 but created a problem with 3.9.... maybe some combination of versions work fine.
from turtlefsi.
I don't understand the interactions enough, but the segfault in conda-forge/fenics-feedstock#192 is because PetscInitialize is never called. This seems to clearly be a bug in fenics, as PetscInitialize seems like it should be required before using petsc at all.
Fixing that seems ot be easy, and requires calling SubSystemsManager.init_petsc()
before using petsc. But that only lets you get as far as the MPI error 98, which I also don't understand, and may be related to mpi initialization.
from turtlefsi.
Thank you @minrk for the explanation! I lowered version of hdf5
and mpi4py
(here), and it passes pytest now, so it seems to be somehow related to the recent version of mpi4py
. It might be related to this ?
@johannesring @jorgensd Do you think it would be okay to specify hdf5
and mpi4py
version in environment.yml
so that it passes the pytest for now?
from turtlefsi.
Related Issues (20)
- Creating a mesh with markers HOT 2
- Suspended solid in a rotating fluid - dealing with finite rotations HOT 9
- Rotating a flap around a point on a aerofoil every timestamp HOT 2
- Strange numerical divergence in FSI example HOT 12
- Error in visualization of results in paraview (TF_fsi) HOT 11
- Pressure should not be part of save_deg >1 ? HOT 23
- checkpoint is only saving one time step, n-1
- Error in make_womersley_bcs due to numpy.complex removal HOT 2
- pytest missing laplace as mesh moving
- `configparser` convert all key names to lowercase HOT 4
- right hand side vector `b` newly created at every time step? HOT 1
- posssibility to extent the fluid solver to be turbulent HOT 2
- mesh_path is overwritten
- change from .pickle to .json?
- Does this open source project support the study of the effect of surface roughness on the deformation behavior of flexible plates in flow fields? HOT 2
- Remove parameterization over conda versions HOT 2
- accessing external files on docker HOT 16
- Issue new release of TurtleFSI to generate DOI for Nature Comms Paper HOT 11
- Making a mesh HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turtlefsi.