xref: /petsc/doc/install/license.md (revision 6b31ed9c0bb44a89d18911b3be4da09377250c84)
19b92b1d3SBarry Smith(doc_license)=
29b92b1d3SBarry Smith
39b92b1d3SBarry Smith# License
49b92b1d3SBarry Smith
59b92b1d3SBarry Smith## 2-clause BSD license
69b92b1d3SBarry Smith
79b92b1d3SBarry SmithCopyright (c) 1991-2025, UChicago Argonne, LLC and the PETSc Developers and Contributors
89b92b1d3SBarry SmithAll rights reserved.
99b92b1d3SBarry Smith
109b92b1d3SBarry SmithRedistribution and use in source and binary forms, with or without modification,
119b92b1d3SBarry Smithare permitted provided that the following conditions are met:
129b92b1d3SBarry Smith
139b92b1d3SBarry Smith- Redistributions of source code must retain the above copyright notice, this
149b92b1d3SBarry Smith  list of conditions and the following disclaimer.
159b92b1d3SBarry Smith- Redistributions in binary form must reproduce the above copyright notice, this
169b92b1d3SBarry Smith  list of conditions and the following disclaimer in the documentation and/or
179b92b1d3SBarry Smith  other materials provided with the distribution.
189b92b1d3SBarry Smith
199b92b1d3SBarry SmithTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
209b92b1d3SBarry SmithANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
219b92b1d3SBarry SmithWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
229b92b1d3SBarry SmithDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
239b92b1d3SBarry SmithANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
249b92b1d3SBarry Smith(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
259b92b1d3SBarry SmithLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
269b92b1d3SBarry SmithANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
279b92b1d3SBarry Smith(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
289b92b1d3SBarry SmithSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
299b92b1d3SBarry Smith
309b92b1d3SBarry SmithThis license DOES NOT apply to any software that may be obtained via
319b92b1d3SBarry Smiththe --download-package option of the PETSc configuration. Each of those packages are
329b92b1d3SBarry Smithcovered by their own licenses.
339b92b1d3SBarry Smith
349b92b1d3SBarry Smith## Contributing License Agreement
359b92b1d3SBarry Smith
369b92b1d3SBarry SmithContributions are accepted via [GitLab](https://gitlab.com/petsc/petsc) merge requests.
379b92b1d3SBarry SmithIf you are planning a large contribution, we encourage you to discuss the concept on the
389b92b1d3SBarry Smith<mailto:petsc-dev@mcs.anl.gov> {ref}`mailing list <doc_mail>` and interact with us frequently to
399b92b1d3SBarry Smithensure that your effort is well-directed. See the developers {ref}`documentation
409b92b1d3SBarry Smith<ind_developers>` for further details.
419b92b1d3SBarry Smith
429b92b1d3SBarry SmithPETSc is distributed under a 2-clause {ref}`BSD license <doc_license>` (see above). The
439b92b1d3SBarry Smithact of submitting a merge request (with or without an explicit Signed-off-by tag) will be
449b92b1d3SBarry Smithunderstood as an affirmation of the following:
459b92b1d3SBarry Smith
469b92b1d3SBarry Smith> Developer's Certificate of Origin 1.1
479b92b1d3SBarry Smith>
489b92b1d3SBarry Smith> By making a contribution to this project, I certify that:
499b92b1d3SBarry Smith>
509b92b1d3SBarry Smith> 1. The contribution was created in whole or in part by me and I
519b92b1d3SBarry Smith>    have the right to submit it under the open source license
529b92b1d3SBarry Smith>    indicated in the file; or
539b92b1d3SBarry Smith> 2. The contribution is based upon previous work that, to the best
549b92b1d3SBarry Smith>    of my knowledge, is covered under an appropriate open source
559b92b1d3SBarry Smith>    license and I have the right under that license to submit that
569b92b1d3SBarry Smith>    work with modifications, whether created in whole or in part
579b92b1d3SBarry Smith>    by me, under the same open source license (unless I am
589b92b1d3SBarry Smith>    permitted to submit under a different license), as indicated
599b92b1d3SBarry Smith>    in the file; or
609b92b1d3SBarry Smith> 3. The contribution was provided directly to me by some other
61*420526c3SNuno Nobre>    person who certified (1), (2) or (3) and I have not modified
629b92b1d3SBarry Smith>    it.
639b92b1d3SBarry Smith> 4. I understand and agree that this project and the contribution
649b92b1d3SBarry Smith>    are public and that a record of the contribution (including all
659b92b1d3SBarry Smith>    personal information I submit with it, including my sign-off) is
669b92b1d3SBarry Smith>    maintained indefinitely and may be redistributed consistent with
679b92b1d3SBarry Smith>    this project or the open source license(s) involved.
689b92b1d3SBarry Smith
699b92b1d3SBarry Smith______________________________________________________________________
709b92b1d3SBarry Smith
719b92b1d3SBarry Smith## Legacy License
729b92b1d3SBarry Smith
739b92b1d3SBarry Smith:::{important}
749b92b1d3SBarry SmithPETSc is now distributed under a 2-clause {ref}`BSD license <doc_license>`. This
759b92b1d3SBarry Smithsection containing the (roughly compatible) legacy PETSc license exists for
769b92b1d3SBarry Smith**historical purposes only**.
779b92b1d3SBarry Smith:::
789b92b1d3SBarry Smith
799b92b1d3SBarry Smith### Licensing Notification
809b92b1d3SBarry Smith
819b92b1d3SBarry SmithPermission to use, reproduce, prepare derivative works, and to redistribute to others this
829b92b1d3SBarry Smithsoftware, derivatives of this software, and future versions of this software as well as
839b92b1d3SBarry Smithits documentation is hereby granted, provided that this notice is retained thereon and on
849b92b1d3SBarry Smithall copies or modifications. This permission is perpetual, world-wide, and provided on a
859b92b1d3SBarry Smithroyalty-free basis. UChicago Argonne, LLC and all other contributors make no
869b92b1d3SBarry Smithrepresentations as to the suitability and operability of this software for any purpose. It
879b92b1d3SBarry Smithis provided "as is" without express or implied warranty.
889b92b1d3SBarry Smith
899b92b1d3SBarry SmithPrincipal Software authors
909b92b1d3SBarry Smith
919b92b1d3SBarry Smith- Mathematics and Computer Science Division
929b92b1d3SBarry Smith- Argonne National Laboratory,
939b92b1d3SBarry Smith- Argonne IL 60439
949b92b1d3SBarry Smith- Any questions or comments on the software may be directed to <mailto:petsc-maint@mcs.anl.gov>.
959b92b1d3SBarry Smith
969b92b1d3SBarry SmithPortions of this software are copyright by UChicago Argonne, LLC. Argonne National
979b92b1d3SBarry SmithLaboratory with facilities in the state of Illinois, is owned by The United States
989b92b1d3SBarry SmithGovernment, and operated by UChicago Argonne, LLC under provision of a contract with the
999b92b1d3SBarry SmithDepartment of Energy.
1009b92b1d3SBarry Smith
1019b92b1d3SBarry SmithThis license DOES NOT apply to any software that may be obtained via
1029b92b1d3SBarry Smiththe --download-package option of the PETSc configuration. Each of those packages are
1039b92b1d3SBarry Smithcovered by their own copyrights and licenses.
1049b92b1d3SBarry Smith
1059b92b1d3SBarry Smith### DISCLAIMER
1069b92b1d3SBarry Smith
1079b92b1d3SBarry SmithPORTIONS OF THIS SOFTWARE WERE PREPARED AS AN ACCOUNT OF WORK SPONSORED BY AN AGENCY OF
1089b92b1d3SBarry SmithTHE UNITED STATES GOVERNMENT. NEITHER THE UNITED STATES GOVERNMENT NOR ANY AGENCY THEREOF,
1099b92b1d3SBarry SmithNOR THE UNIVERSITY OF CHICAGO, NOR ANY OF THEIR EMPLOYEES OR OFFICERS, MAKES ANY WARRANTY,
1109b92b1d3SBarry SmithEXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY,
1119b92b1d3SBarry SmithCOMPLETENESS, OR USEFULNESS OF ANY INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED,
1129b92b1d3SBarry SmithOR REPRESENTS THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS. REFERENCE HEREIN TO
1139b92b1d3SBarry SmithANY SPECIFIC COMMERCIAL PRODUCT, PROCESS, OR SERVICE BY TRADE NAME, TRADEMARK,
1149b92b1d3SBarry SmithMANUFACTURER, OR OTHERWISE, DOES NOT NECESSARILY CONSTITUTE OR IMPLY ITS ENDORSEMENT,
1159b92b1d3SBarry SmithRECOMMENDATION, OR FAVORING BY THE UNITED STATES GOVERNMENT OR ANY AGENCY THEREOF. THE
1169b92b1d3SBarry SmithVIEW AND OPINIONS OF AUTHORS EXPRESSED HEREIN DO NOT NECESSARILY STATE OR REFLECT THOSE OF
1179b92b1d3SBarry SmithTHE UNITED STATES GOVERNMENT OR ANY AGENCY THEREOF.
118