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