-
Notifications
You must be signed in to change notification settings - Fork 9
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
Issue while running AlgoHex #9
Comments
Relevant exerpt for quick reference:
My guess is that this may be caused by a mix of libraries with "real" and "fake" MPI, leading us to call Could you please run |
here you can find the output of it.lddOutput.txt |
You have I'm not sure where the real MPI comes from, maybe CoMISo directly links to it. There is an undocumented If this isn't enough, you could you try to use |
Hello, with this option the cmake fails during the build. here is the log file |
Could you try to comment out that EDIT: I made a test branch for this: https://github.com/cgg-bern/AlgoHex/tree/dev/conditional-mpi-init (haven't properly tested it myself yet) |
hello,
ps. obviously I modified the main.cc file as the one that you added the link |
This is a pretty terrible rabbithole :-( I just looked into Debian's ipopt, which always uses the fake-mpi mumps version; it's really ancient and doesn't really appear maintained :( Independent of fixing this crash issue, I'm unsure how we should handle this. Maybe we could do some hacks on the build system side to ensure we use the real MPI_Init symbol instead of the fake one; on the other hand, that'd just be for this debian-patched 9-year old ipopt version, which we probably actually don't want to use at all. Aside from asking users to compile their own ipopt&mumps version manually, or integrating it into the AlgoHex build process (probably not trivial), we could maybe build a static binary in a docker container that brings known-good and compatible versions of dependencies. I'm sorry I don't have a good solution for now. How comfortable would you be with compiling your own IPOPT, or moving everything into a container (e.g. docker or podman)? It appears Arch Linux packages a recent ipopt version, though I haven't tested it. EDIT: I should note that some of our team have run AlgoHex on Debian before, but I can't tell what's the difference that makes it work. I'll ask around. |
hello, thanks for your help, I am sorry but I not so comfortable to compile IPOPT, I could give a try when having a little bit more of time, but UNIX it is not a platform I feel confortable in general (as you could see from my dummy questions).
I will probably wait for this.... it is a shame as I was looking for new opensource hexa meshers...will keep an eye on this issue and further watch the git itself
this could be nice to test the algo itself... i have no experience with docker or anything else of this style but if it allows me to test i can test :) |
I started hacking together some container based build, but I'm running into some pretty annoying issues, with both GCC and Clang crashing 😱 I'll have to pause work on this for now unfortunately, but I pushed those work-in-progress changes just in case someone wants to fix/finish it :) |
An update on the container build: The compiler crashes apparently were just due too little RAM in the default config :-) Note: I made some changes to the
that last Hope this helps :-) |
emm this might affect the system itslef no? I mean, i am scary that something else stops working If I do this... @mheistermann hello again martin, I can confirm that in principle, with the steps you mentionned AlgoHex 'works'. (see log of running but.... my issue is, how to open this file/convert it to other formats.... I looked at Meshio but it does not support ovm format and tried to open with paraview or gmsh, without luck... furthermore, I tried open it in hexaLab.net and I get the error |
Hi Franc, I'm very happy that you could successfully run AlgoHex! The container work inspired by your troubles will hopefully make it easier for other users soon, so thanks for your working through this! Regarding the .ovm file format: There is a (inactive) meshio fork I made a long time ago with incomplete work to support the ovm file format: the main limitation in this context is that properties and thus feature tags are not translated. You should however get the proper mesh geometry and topology. A more complete option is using OpenFlipper, it is built on OpenVolumeMesh and natively supports the Ideally we would extend OVM with more file formation implementations (OpenFlipper uses its own implementation for .vtk, which could maybe be moved), then AlgoHex or a standalone conversion helper tool could provide VTK/.mesh/.msh/... support without users having to go through these hoops. |
Hello Martin,
please, you are taking time to help me nothing to excuse.
well, the thing is, I am not sure that it works :/ as i couldnt succesfully open the mesh with anything.... i though that HexLab was going to support it... right now I am trying to compile OpenFlipper (lets see if I achieve to compile it lol) and then I will check. from AlgoHex it is not possible to export in vtk directly, no? EDIT/UPDATE: |
Hi Franc, The output however is still not the expected one for this example input, which should be a complete and clean hex mesh. Looking at the logs, it appears no quantization constraints were generated, but I can't tell why. Often this is due to some gurobi license issue, but I can't see any output indicating that. I asked a colleague who is more familiar with the code to look into it, we'll get back to you :) More general points:
|
Hello martin,
I completly understand, I am also a researcher so no worries (and yes if we make publications using it I will cite it :) ). I was asking as I have found several promising tools that they stop their development with missing features...
might not be of interest to the research team I can understand it, but just for keeping in mind if at one moment it could be possible done, it would be absolutly awsome to have this feature, from a applicative point of view. most of the CFD solvers today accepts polyhedral mixed meshes, so it would mean to bring the reliability of the mesher to octree algos with a much more interesting meshes.
that is actually an amazing news, I mentioned in another publication, but I make part of the OpenFOAM community which is one of the largest CFD open source toolkit and a mesher like this would be an amazing tool to add to it. EDIT: I just tested in my pc, and gurobi academic support only gives you acces to 1 pc. I imagine that is due to that but in any case it didnt made any differece :/ |
You should be able to request more licenses on their website, one per computer. |
hello martin,
then, I used but now the HexMeshing does not run... I am getting a segmentation error at the end (here is the output of it) |
@HendrikBrueckler this crash looks to be in your code, do you maybe have a chance to look into it? |
@otaolafranc have you seen @HendrikBrueckler has added some non-gurobi solver support here? (Note: I haven't tried it and haven't checked how to use it) |
Sorry for taking so long to get around to fixing this. I think I've found the cause of the issue and fixed it in HendrikBrueckler/QGP3D@ace72a3 . |
Hello, regards |
Hi, I tried to reproduce that issue but could not. Maybe you could try adding the flags |
hello @HendrikBrueckler , thanks for your answer, and really sorry for be such a bother to you guys.... I just really want to use algoHex :/. EDIT: |
Hi all, just wanted to let you know that I was able to successfully run the "dockerfile-without-gurobi" branch. My operating system is macOS Sonoma 14.2.1. Download command: Build command (at first cd into folder AlgoHex): Run the cylinder example (for this to work the cylinder.ovm needs to be copied to the AlgoHex folder): Result (test.ovm mesh loaded in OpenFlipper): Log file from running HexMeshing: Andi |
Hello,
I am having issues while testing algoHex, I just meshed a simple toroid geometry and the HexMeshing is crashing,
here it is possible to find the log
logAlgoHex.txt
and the mesh file
test2.vtk.tar.gz
best regards,
Franco
The text was updated successfully, but these errors were encountered: