-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add AMReX as a git submodule #762
Conversation
Need any help with this? I've used submodules (and subtrees) pretty extensively in my repos. |
Fortunately this change is fairly simple, though if you want to test it out to make sure I didn't miss anything, that's appreciated. A question though -- in the interests of long term stability, should I create a subdirectory where we start putting dependencies (for now, just AMReX and Microphysics, but later potentially other things like pynucastro, Hypre, etc.)? If so what should it be called? "external", perhaps? |
I like |
Also, is it correct that once you have downloaded the submodule(s), |
|
@maxpkatz apologies for the delay in answering, but re: Both The main relevant documentation is We may want to instead use the Ultimately, we should encourage people to use a "pull" model with submodules. It is WAY easier to manage only pulling in the latest tested release of submodules into a superproject than trying to let people push changes to submodules from within the superproject. Technically, yes, you could modify AMReX within Castro and push those changes to AMReX. In practice, this is dangerous and error-prone. It shouldn't be done by people that aren't at least intermediate experts in git and probably even in git submodules. I hope that helps. |
I did a quick check of our |
PR summary
With #760, this completes #651 by adding AMReX as a git submodule of Castro.
PR checklist
CHANGES
file has been updated