xref: /petsc/doc/install/license.md (revision 9b92b1d3a7bbc5a081edc9021bfd15a36804dd1c)
1*9b92b1d3SBarry Smith(doc_license)=
2*9b92b1d3SBarry Smith
3*9b92b1d3SBarry Smith# License
4*9b92b1d3SBarry Smith
5*9b92b1d3SBarry Smith## 2-clause BSD license
6*9b92b1d3SBarry Smith
7*9b92b1d3SBarry SmithCopyright (c) 1991-2025, UChicago Argonne, LLC and the PETSc Developers and Contributors
8*9b92b1d3SBarry SmithAll rights reserved.
9*9b92b1d3SBarry Smith
10*9b92b1d3SBarry SmithRedistribution and use in source and binary forms, with or without modification,
11*9b92b1d3SBarry Smithare permitted provided that the following conditions are met:
12*9b92b1d3SBarry Smith
13*9b92b1d3SBarry Smith- Redistributions of source code must retain the above copyright notice, this
14*9b92b1d3SBarry Smith  list of conditions and the following disclaimer.
15*9b92b1d3SBarry Smith- Redistributions in binary form must reproduce the above copyright notice, this
16*9b92b1d3SBarry Smith  list of conditions and the following disclaimer in the documentation and/or
17*9b92b1d3SBarry Smith  other materials provided with the distribution.
18*9b92b1d3SBarry Smith
19*9b92b1d3SBarry SmithTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
20*9b92b1d3SBarry SmithANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21*9b92b1d3SBarry SmithWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22*9b92b1d3SBarry SmithDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
23*9b92b1d3SBarry SmithANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24*9b92b1d3SBarry Smith(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25*9b92b1d3SBarry SmithLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
26*9b92b1d3SBarry SmithANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27*9b92b1d3SBarry Smith(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28*9b92b1d3SBarry SmithSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29*9b92b1d3SBarry Smith
30*9b92b1d3SBarry SmithThis license DOES NOT apply to any software that may be obtained via
31*9b92b1d3SBarry Smiththe --download-package option of the PETSc configuration. Each of those packages are
32*9b92b1d3SBarry Smithcovered by their own licenses.
33*9b92b1d3SBarry Smith
34*9b92b1d3SBarry Smith## Contributing License Agreement
35*9b92b1d3SBarry Smith
36*9b92b1d3SBarry SmithContributions are accepted via [GitLab](https://gitlab.com/petsc/petsc) merge requests.
37*9b92b1d3SBarry SmithIf you are planning a large contribution, we encourage you to discuss the concept on the
38*9b92b1d3SBarry Smith<mailto:petsc-dev@mcs.anl.gov> {ref}`mailing list <doc_mail>` and interact with us frequently to
39*9b92b1d3SBarry Smithensure that your effort is well-directed. See the developers {ref}`documentation
40*9b92b1d3SBarry Smith<ind_developers>` for further details.
41*9b92b1d3SBarry Smith
42*9b92b1d3SBarry SmithPETSc is distributed under a 2-clause {ref}`BSD license <doc_license>` (see above). The
43*9b92b1d3SBarry Smithact of submitting a merge request (with or without an explicit Signed-off-by tag) will be
44*9b92b1d3SBarry Smithunderstood as an affirmation of the following:
45*9b92b1d3SBarry Smith
46*9b92b1d3SBarry Smith> Developer's Certificate of Origin 1.1
47*9b92b1d3SBarry Smith>
48*9b92b1d3SBarry Smith> By making a contribution to this project, I certify that:
49*9b92b1d3SBarry Smith>
50*9b92b1d3SBarry Smith> 1. The contribution was created in whole or in part by me and I
51*9b92b1d3SBarry Smith>    have the right to submit it under the open source license
52*9b92b1d3SBarry Smith>    indicated in the file; or
53*9b92b1d3SBarry Smith> 2. The contribution is based upon previous work that, to the best
54*9b92b1d3SBarry Smith>    of my knowledge, is covered under an appropriate open source
55*9b92b1d3SBarry Smith>    license and I have the right under that license to submit that
56*9b92b1d3SBarry Smith>    work with modifications, whether created in whole or in part
57*9b92b1d3SBarry Smith>    by me, under the same open source license (unless I am
58*9b92b1d3SBarry Smith>    permitted to submit under a different license), as indicated
59*9b92b1d3SBarry Smith>    in the file; or
60*9b92b1d3SBarry Smith> 3. The contribution was provided directly to me by some other
61*9b92b1d3SBarry Smith>    person who certified (a), (b) or (c) and I have not modified
62*9b92b1d3SBarry Smith>    it.
63*9b92b1d3SBarry Smith> 4. I understand and agree that this project and the contribution
64*9b92b1d3SBarry Smith>    are public and that a record of the contribution (including all
65*9b92b1d3SBarry Smith>    personal information I submit with it, including my sign-off) is
66*9b92b1d3SBarry Smith>    maintained indefinitely and may be redistributed consistent with
67*9b92b1d3SBarry Smith>    this project or the open source license(s) involved.
68*9b92b1d3SBarry Smith
69*9b92b1d3SBarry Smith______________________________________________________________________
70*9b92b1d3SBarry Smith
71*9b92b1d3SBarry Smith## Legacy License
72*9b92b1d3SBarry Smith
73*9b92b1d3SBarry Smith:::{important}
74*9b92b1d3SBarry SmithPETSc is now distributed under a 2-clause {ref}`BSD license <doc_license>`. This
75*9b92b1d3SBarry Smithsection containing the (roughly compatible) legacy PETSc license exists for
76*9b92b1d3SBarry Smith**historical purposes only**.
77*9b92b1d3SBarry Smith:::
78*9b92b1d3SBarry Smith
79*9b92b1d3SBarry Smith### Licensing Notification
80*9b92b1d3SBarry Smith
81*9b92b1d3SBarry SmithPermission to use, reproduce, prepare derivative works, and to redistribute to others this
82*9b92b1d3SBarry Smithsoftware, derivatives of this software, and future versions of this software as well as
83*9b92b1d3SBarry Smithits documentation is hereby granted, provided that this notice is retained thereon and on
84*9b92b1d3SBarry Smithall copies or modifications. This permission is perpetual, world-wide, and provided on a
85*9b92b1d3SBarry Smithroyalty-free basis. UChicago Argonne, LLC and all other contributors make no
86*9b92b1d3SBarry Smithrepresentations as to the suitability and operability of this software for any purpose. It
87*9b92b1d3SBarry Smithis provided "as is" without express or implied warranty.
88*9b92b1d3SBarry Smith
89*9b92b1d3SBarry SmithPrincipal Software authors
90*9b92b1d3SBarry Smith
91*9b92b1d3SBarry Smith- Mathematics and Computer Science Division
92*9b92b1d3SBarry Smith- Argonne National Laboratory,
93*9b92b1d3SBarry Smith- Argonne IL 60439
94*9b92b1d3SBarry Smith- Any questions or comments on the software may be directed to <mailto:petsc-maint@mcs.anl.gov>.
95*9b92b1d3SBarry Smith
96*9b92b1d3SBarry SmithPortions of this software are copyright by UChicago Argonne, LLC. Argonne National
97*9b92b1d3SBarry SmithLaboratory with facilities in the state of Illinois, is owned by The United States
98*9b92b1d3SBarry SmithGovernment, and operated by UChicago Argonne, LLC under provision of a contract with the
99*9b92b1d3SBarry SmithDepartment of Energy.
100*9b92b1d3SBarry Smith
101*9b92b1d3SBarry SmithThis license DOES NOT apply to any software that may be obtained via
102*9b92b1d3SBarry Smiththe --download-package option of the PETSc configuration. Each of those packages are
103*9b92b1d3SBarry Smithcovered by their own copyrights and licenses.
104*9b92b1d3SBarry Smith
105*9b92b1d3SBarry Smith### DISCLAIMER
106*9b92b1d3SBarry Smith
107*9b92b1d3SBarry SmithPORTIONS OF THIS SOFTWARE WERE PREPARED AS AN ACCOUNT OF WORK SPONSORED BY AN AGENCY OF
108*9b92b1d3SBarry SmithTHE UNITED STATES GOVERNMENT. NEITHER THE UNITED STATES GOVERNMENT NOR ANY AGENCY THEREOF,
109*9b92b1d3SBarry SmithNOR THE UNIVERSITY OF CHICAGO, NOR ANY OF THEIR EMPLOYEES OR OFFICERS, MAKES ANY WARRANTY,
110*9b92b1d3SBarry SmithEXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY,
111*9b92b1d3SBarry SmithCOMPLETENESS, OR USEFULNESS OF ANY INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED,
112*9b92b1d3SBarry SmithOR REPRESENTS THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS. REFERENCE HEREIN TO
113*9b92b1d3SBarry SmithANY SPECIFIC COMMERCIAL PRODUCT, PROCESS, OR SERVICE BY TRADE NAME, TRADEMARK,
114*9b92b1d3SBarry SmithMANUFACTURER, OR OTHERWISE, DOES NOT NECESSARILY CONSTITUTE OR IMPLY ITS ENDORSEMENT,
115*9b92b1d3SBarry SmithRECOMMENDATION, OR FAVORING BY THE UNITED STATES GOVERNMENT OR ANY AGENCY THEREOF. THE
116*9b92b1d3SBarry SmithVIEW AND OPINIONS OF AUTHORS EXPRESSED HEREIN DO NOT NECESSARILY STATE OR REFLECT THOSE OF
117*9b92b1d3SBarry SmithTHE UNITED STATES GOVERNMENT OR ANY AGENCY THEREOF.
118