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
Incorrect VTK configuration flag suggested by configure #3734
Comments
VTK_Group_MPI should be the suggested flag with older versions of VTK. I guess at this point in a configuration we have the vtk header, so we might detect version from that and try to map to configure flag ... but if that's a moving target, do you think it would be reasonable to just suggest "requires VTK to be configured with MPI support"? |
Yeah I think that would be reasonable. I have rarely seen a package give an exact compilation flag for a dependency. |
I am having problems that I think this may be related to this, I am trying to have MOOSE read in a .vtu mesh which I was under the impression should be possible due to its' use of libmesh. But I get an error around libmesh failing to read the mesh:
I have tried installing VTK manually and then running the MOOSE script that reconfigures and installs libmesh with flags in accordance with MOOSE's instructions https://mooseframework.inl.gov/help/faq/faq_build_libmesh-vtk.html , so the paths to VTK's lib and include are given explicitly. I have also tried recreating the vtu file (from an exodus file created in cubit, using meshio for the conversion), all of this appears fine. And VTK itself is able to read my vtu file also. Apologies if I've missed something obvious and this is actually an issue with MOOSE. |
HI @CBqk3762 |
Hi @jvwilliams23
|
Yes seems your libmesh is not picking up VTK. I had that problem before a while ago, and just ended up moving on (I do need to go back and do it at some point though). Maybe worth trying a clean MOOSE/libmesh installation, instead of rebuilding an existing one. |
Okay, I will give it a go, thanks for your help! |
Hi,
This is related to #3665 (fixed by @roystgnr).
I was compiling libMesh with VTK (tried 9.3.0 and 9.0.3), but when I managed to get configure to find the headers, it could not compile the test program. I got the following output with VTK-9.0.3:
I then recompiled VTK with
VTK_Group_MPI
, but it said this was an unused variable. The suggested flag should be-DVTK_USE_MPI:BOOL=ON
.Should just require changing
configure
.Best,
Josh
The text was updated successfully, but these errors were encountered: