ExCALIBUR-NEPTUNE / NESO-Spack

Spack repository for installing NESO components and dependencies.
MIT License
2 stars 2 forks source link

Patch Nektar to build a library for the CompressibleFlowSolver #13

Closed oparry-ukaea closed 1 year ago

oparry-ukaea commented 1 year ago

Adds a patch to the Nektar package which builds the CompressibleFlowSolver source into a library. Resolves #12

Patch implementation:

Patch effects:

Usage in NESO:

#include <CompressibleFlowSolver/Misc/VariableConverter.h>
Nektar::VariableConverterSharedPtr varConverter;

Notes

oparry-ukaea commented 1 year ago

Hi @cmacmackin - would you mind having a look at this one for me? I think all that's needed is to make sure the environment still builds without any issues. You're welcome to look at the details of the patch too, of course, but it'll only be my code (on NESO/feature/simple-SOL-solver) using it for now, so that can probably wait. Thanks!

cmacmackin commented 1 year ago

Hi Owen, sorry for the delay responding to this. I was just fighting with spack a bit to get it to rebuild with your patched version of nektar and then it always takes at least an hour for the builds to finish. Everything looks good to me.!

cmacmackin commented 1 year ago

Also, we should think about trying to get this merged up-stream. We want to be improving Nektar++, not creating our own parallel version!

oparry-ukaea commented 1 year ago

Thanks very much for this.

Also, we should think about trying to get this merged up-stream. We want to be improving Nektar++, not creating our own parallel version!

Absolutely - I'm planning to create a MR on the nektar repo asap, but I think the patch makes sense for now to avoid holding things up in NESO.