JuliaGeodynamics / LaMEM.jl

Julia interface to LaMEM (Lithosphere and Mantle Evolution Model)
GNU General Public License v3.0
24 stars 12 forks source link

LaMEM.jl does not work on Julia 1.10 #23

Closed boriskaus closed 6 months ago

boriskaus commented 6 months ago

LaMEM.jl currently does not work on Julia 1.10, as can be seen here.

The underlying issue is that the version of PETSc_jll we link (3.18.6) is broken on Julia 1.10.

Initially it seemed to only be a version incompatibility with SuiteSparse. Yet, later it turned out to be a much more deeper-lying issue that causes certain MPI-related packages to no longer work on windows. Some attempts at resolving this issue can be followed here, which also resulted in a separate testing package for PETSc_jll.

boriskaus commented 6 months ago

One workaround is to a) deactivate MPI for windows altogether and to b) remove SuiteSparse as a PETSc_jll dependency Since SuiteSparse is part of Julia, a specific version of Julia has a specific version of SuiteSparse. PETSc, however, wants a very specific version number which massively complicates things.

An updated version of PETSc_jll (3.18.7+1) was merged, and passes all tests on julia 1.9-1.11. The next step is to update LaMEM_jll accordingly.

boriskaus commented 6 months ago

This was fixed with PR #21