libMesh / libmesh

libMesh github repository
http://libmesh.github.io
GNU Lesser General Public License v2.1
642 stars 285 forks source link

Libmesh out-of-date on spack #3870

Open Heinrich-BR opened 3 months ago

Heinrich-BR commented 3 months ago

Hi,

I have been trying to use spack to build dependencies for my stack, and I have noticed that the most recent version of libmesh that can be built with spack is 1.4.1, whereas at time of writing, the most recent version of libmesh is 1.7.1. Because of this, you can't use spack to build libmesh with any relatively recent versions of PETSc, since there are deprecated PETSc functions still in use in libmesh 1.4.1. I was wondering if it would be possible to update the libmesh build on spack to include the most recent versions. Thank you!

jwpeterson commented 2 months ago

Hello @Heinrich-BR, sorry, I don't know much about spack. Does it say somewhere who originally created the libmesh one? We might be able to tag them in this Issue and ask them for an update. At this point 1.7.1 is pretty old as well, so I'm not even sure updating to that will get you new enough PETSc versions either.

capitalaslash commented 2 months ago

Hi,

you can install the master version from git directly using spack specifying

@.***

If you need a released version, adding new packaged versions is quite easy: libmesh configuration options have not changed in a long time. Have a look here for an example

https://github.com/spack/spack/commit/01ef40c8bb75c8ab9846ff63ca9d3c07577399c8

On Tue, Jun 11, 2024 at 3:23 PM John W. Peterson @.***> wrote:

Hello @Heinrich-BR https://github.com/Heinrich-BR, sorry, I don't know much about spack. Does it say somewhere who originally created the libmesh one? We might be able to tag them in this Issue and ask them for an update. At this point 1.7.1 is pretty old as well, so I'm not even sure updating to that will get you new enough PETSc versions either.

— Reply to this email directly, view it on GitHub https://github.com/libMesh/libmesh/issues/3870#issuecomment-2160756063, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABR2RWMQRM3FNWPV3N7UADZG323RAVCNFSM6AAAAABJCI2U52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQG42TMMBWGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Antonio Cervone

Heinrich-BR commented 2 months ago

Hi @jwpeterson, thank you for your message! I'm looking at the libmesh package on the spack repo and it seems to have been updated 5 years ago by @manavbhatia.

@capitalaslash, thank you for the tip! I'll try it out!