Closed drwells closed 7 months ago
@amneetb I just added you to this repository - I'm not sure if we talked about it but this is how Boyce and I have been collecting other SAMRAI bug fixes / parallel performance improvements. It is 100% backwards compatible.
Making this public sounds good to me. Hopefully there are no license issues here.
Good question - I see
Commercialization of this product is prohibited without notifying the
Department of Energy (DOE) or Lawrence Livermore National Laboratory
(LLNL).
in the top-level copyright statement, which isn't exactly a software license (like BSD). Circa 2011 SAMRAI formally adopted the LGPL. Hence, if we want to be technical, it's reasonable to assume that the authors agreed to license a patched version (i.e., changes from 2008 - 2011) of this software under that license. That license definitely conflicts with that copyright statement. I think it's fair to say that SAMRAI 2.4.4 is available with no license except 'tell LLNL if you sell it'.
I am not sure about calling this SAMRAI 2.4.5. I would suggest that we call it something else (ibSAMRAI2?) that makes it clear that it is related to SAMRAI 2 but somehow a fork and adopt release date-based version numbers.
We could rename the project as a whole but we really need to keep namespace SAMRAI::
etc. everywhere so that people's projects, makefiles, etc. are not broken. In general, I'm fine with renaming as long as everything still compiles.
Yeah I think that's fine. Could we change the namespaces but provide an alias?
What would be the primary advantage of adding a new namespace? One disadvantage I can think of is that the doxygen documentation will look weirder.
I don't know --- you were the one who mentioned namespaces!! 😁
Did I? I shouldn't have because I don't want to mess up doxygen (or to introduce weird link errors when people use forward declarations).
I think we need to come to a consensus on this prior to the release. We need to
SAMRAI::tbox
Hence I still think our best option is to keep the name as-is and increment the patch number to 2.4.5.
I want to get this done this week so if there's an alternative to achieving all of those goals lets hear it soon.
My suggestion is as above --- let's name it something like ibSAMRAI2
and set the version number to the release date.
(But keep the namespacing SAMRAI
!)
so re-name this repository?
That is my vote.
I second renaming the repository. I think it's important to distinguish this repo from the main SAMRAI repo.
Sounds good - lets do IBSAMRAI2 (mixing cases is too weird, lets make it all capitals).
For version numbers: we currently do
SET(SAMRAI_VERSION_STRING "${SAMRAI_VERSION_MAJOR}.${SAMRAI_VERSION_MINOR}\
.${SAMRAI_VERSION_PATCHLEVEL}")
MESSAGE(STATUS "Found SAMRAI ${SAMRAI_VERSION_STRING} at ${SAMRAI_ROOT}")
and I'd like to keep a similar approach to that to maintain compatibility with existing installations. Is your proposal that we do 2024.01.23
?
I think we're in agreement so I'm going to roll with it. Rename and release incoming.
I think it's time we just offer our own patched SAMRAI downloads instead of relying on LLNL + requiring users to patch the result. Hence, I propose we do the following:
It would be best to move to SAMRAI 4 etc. but we are de facto running our own fork via patches anyway (and SAMRAI 2.4.x doesn't even compile with out our patches) and this is backwards compatible with all IBAMR apps.