loganoz / horses3d

HORSES3D: A high-order discontinuous Galerkin solver for flow simulations and multi-physics applications
https://loganoz.github.io/horses3d/
MIT License
112 stars 24 forks source link

malloc error when using mpi+metis #105

Open francoisfraysse opened 1 year ago

francoisfraysse commented 1 year ago

Dear all,

First of all, thank you to make this code available :+1:

I get an error with test Euler/UniformFlow when executing it with mpi and metis partitionner, see log log.txt

This test works with openmp or mpi + sfc partionning.

I am using gcc version 7.5.0 on ubuntu 18.04. mpich 3.2.1 and metis 5.1.0 compiled with default options except IDXTYPEWIDTH=64 and REALTYPEWIDTH=64.

Horses3D compiled with default options except COMM=PARALLEL and MODE=DEBUG

Ask me if you need any other info

Thanks again ! François

loganoz commented 11 months ago

Hi @francoisfraysse,

Sorry for the long time to reply. I completely forgot about this issue. When you wrote the comment we had less experience with compiling horses with different compilers and versions of the libraries, so I didn't know what to do to try and solve the problem.
What I have seen that works is use newer versions. For example, gcc 11 or gcc 12 work well. About metis, I use 5.1.0, just as you. I am not so sure about the MPI. If you still have any kind of interest about this, I'll try to solve any question faster than last time :D

Gonzalo