[Dune] Dune license

Andreas Lauser and at poware.org
Sun Sep 20 10:27:22 CEST 2020


Hi,

That statement is only almost correct: Due to the template exception being 
unclear, it is actually undetermined if a DUNE-based source file that is not 
distributed verbatim by the the DUNE project still constitutes "DUNE code" or 
must be considered "non-DUNE code". A few years back, we ran into this in OPM 
because OPM is GPL3+ while DUNE is GPL2 only plus template exception, so we 
could not ship modified versions of the ISTL solvers without risking to run 
aground licensing issues.

cheers
  Andreas

On Saturday, 19 September 2020 12:00:05 CEST Christian Engwer wrote:
> Dear Yimin,
> 
> the license has the same implications as LGPL, but is compatible with
> template code.
> 
> This means, you are allowed to use a license of your choice for any code
> built ontop of DUNE, but modifications of the DUNE code need to be
> published under the same license.
> 
> Still we encourage you to publish your code under an open source license, as
> we believe that scientific progress needs freedom.
> 
> Best
> Christian
> 
> Am 19. September 2020 04:05:00 MESZ schrieb Yimin Liu 
<yiminliu at stanford.edu>:
> >Hi,
> >
> >Hope this message finds you well. I'd like to ask about the "run-time
> >exception" term in Dune's GPLv2 license.
> >
> >I am considering adding the DUNE-ISTL solvers to a research reservoir
> >simulator in Julia that I have been developing. Here is my plan:
> >
> >1.  Write a wrapper package in C that instantiates BCRS matrices and
> >iterative solvers from Dune, then solve the linear equation.
> >
> >  2.  Compile the wrapper package into a shared library.
> >
> >3.  Load the shared library, call the API functions from the Julia
> >simulator.
> >
> >In this case, do I need to make it open source and use a GPL compatible
> >license for
> >
> >  1.  The wrapper package in C.
> >  2.  The Julia simulator.
> >
> >Thanks,
> >Yimin
> >
> >Energy Resources Engineering
> >Stanford University


-- 
Writing non-trivial software that is correct (for any meaningful definition of
correct) is beyond the current capabilities of the human species.
  -- Wesley Aptekar-Cassels
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20200920/af250b5c/attachment.sig>


More information about the Dune mailing list