Comments (12)
Thanks for your quick reply!
It is unfortunately necessary... I could use 3.20.2, but I dont know if it fixes the issue. Are you by any chance aware of how long it will take to make libMesh compatible with the new version of petsc?
from libmesh.
And I guess I should have checked what version I was downloading. I used 1.6.2, as in the IBAMR instructions I am reading that was (literally called) the latest.
Will try with newer version and let you know tomorrow at the latest, thank you all for helping this quickly!
from libmesh.
Any ideas, other than downgrading petsc to 3.20.2?
Yes, you need to use libmesh master if you want to use that new of a PETSc. The 1.7.1 release it itself also quite old.
from libmesh.
This is likely due to using too new a version of PETSc (3.20.3 was tagged Dec 30 2023). If it's not essential for you to use that version, then you can likely fix the problem by using a 3.19.x PETSc...
from libmesh.
I am on PETSc main
, commit e4cb84850f3
, and I have no problem building libMesh
from libmesh.
It's hard to say, you can likely fix the duplicate case value
error simply by commenting out the duplicate. Fixing the petscdmlibmeshimpl.C code is trickier because it uses "private" struct members like _p_PetscObject
directly. Luckily it's not really used by anything, so you may have some luck just commenting out lines there as well.
from libmesh.
What libMesh hash are you using? Line 770 of petscdmlibmeshimpl.C
in current libMesh devel
is not the line you pasted, and the last time that file was modified was on August 8th, so it seems that you're using a libMesh that is at least a few months old
from libmesh.
you're using a libMesh that is at least a few months old
Oops, guess I should have asked that question first!
from libmesh.
Unfortunately, the error persists with libMesh version 1.7.1....
``../LIBMESH/src/solvers/petscdmlibmeshimpl.C:822:120: error: no member named 'type' in '_p_PetscObject'
LIBMESH_SETERRQ2(((PetscObject)dm)->comm, PETSC_ERR_ARG_WRONG, "DM of type %s, not of type %s", ((PetscObject)dm)->type, DMLIBMESH);
../LIBMESH/src/solvers/petscdmlibmeshimpl.C:904:120: error: no member named 'type' in '_p_PetscObject'
LIBMESH_SETERRQ2(((PetscObject)dm)->comm, PETSC_ERR_ARG_WRONG, "DM of type %s, not of type %s", ((PetscObject)dm)->type, DMLIBMESH);
../LIBMESH/src/solvers/petscdmlibmeshimpl.C:904:120: error: no member named 'type' in '_p_PetscObject'
LIBMESH_SETERRQ2(((PetscObject)dm)->comm, PETSC_ERR_ARG_WRONG, "DM of type %s, not of type %s", ((PetscObject)dm)->type, DMLIBMESH);
Any ideas, other than downgrading petsc to 3.20.2?
from libmesh.
Meaning the master would work with 3.20.3 or 3.20.2?
from libmesh.
Yes, according to @lindsayad's (#3767 (comment)) that will work.
from libmesh.
I will not guarantee that it will work as using PETSc main results in a version that is effectively infinite so it will have different comparison results in macros, but it is certainly more likely to work. If it works with PETSc main but not with the 3.20.3 release, then I would definitely submit fixes to support you
from libmesh.
Related Issues (20)
- Abaqus mesh reading new error
- Incorrect VTK configuration flag suggested by configure HOT 9
- Installation with mac M1 HOT 8
- Support mixed-order meshes in `find_neighbors()`, `stitch_meshes()` HOT 1
- Spurious -I/usr/include/tirpc is added when autodetecting libtirpc in linker path
- Refactor HDG NS example to use FEMContext
- VTK output then read loses block id information HOT 5
- MatSetValues_MPIAIJ() triggers malloc error at line 565 during libMesh termination HOT 6
- constrain_element_matrix changes the col_dofs vector size HOT 3
- Investigating the possibility of only having one solution vector in systems HOT 3
- Make Abaqus node/side ID maps available
- DM type 'libmesh' did not attach the DM to the matrix HOT 6
- Issues with latest libmesh devel -> master merge HOT 1
- Operator `()` of a petsc vector is not safe if used together with `set()` in a threaded loop.
- The 'mesh.read()' operation encounters errors when executed with 2048 processors HOT 1
- ExodusII IO has variable ID bug which can prevent coordinates from being read-in from a file HOT 4
- The release v1.7.2 doesn't have the tarballs attached HOT 1
- "No rule to make target..." installation error on Windows HOT 3
- Install FParser `fptypes.hh` header
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 libmesh.