Simplify nbnxm buffer clearing
[gromacs.git] / COPYING
blob74ba5fca7dcb89c3c45dffef319a8ca4e24f6f5f
1 GROMACS is free software, distributed under the GNU Lesser General
2 Public License (LGPL) Version 2.1 or (at your option) any later
3 version. See section 1 for details. GROMACS includes optional code
4 covered by several different licences as described below.  The
5 GROMACS package in its entirety may be copied, modified or
6 distributed according to the conditions described in section 1.
7 However, in the interests of clarity and completeness, some
8 individual parts of GROMACS that can be used under their respective
9 licenses are also noted here.
11 This file contains the licenses for the following bodies of code:
12 1. GROMACS
13 2. Trajectory file reading using VMD plugins
14 3. Internal FFT (fftpack)
15 4. thread_mpi
16 5. Blas
17 6. Lapack
18 7. Parts of Boost C++ library
19 8. Google Test and Google Mock
20 9. Sun XDR implementation (External Data Representation)
21 10. Sun FDLIBM (Freely Distributable Maths Library)
22 11. ThreeFry Random Engine
23 12. Gamma distribution from libc++
24 13. md5
25 14. lmfit
26 15. clFFT
27 16. Guidelines Support Library (GSL)
28 17. P0009 reference implementation (Sandia Corporation)
29 18. pybind11
31 Our chosen method for packaging distributions (CPack) only permits a
32 package to have a single license file, so we are unfortunately forced
33 to combine all of this information into a single license file. Sorry
34 about that.
36 ============================================
38 1. GROMACS
39 ==========
41 As our use of the LGPL conveys upon a licensee the option to
42 redistribute the library under the terms of the plain GPL, we must
43 include a copy of that GPL for their reference. The applicable GPL
44 license comes after the applicable LGPL license in this file.
46 ============================================
48                   GNU LESSER GENERAL PUBLIC LICENSE
49                        Version 2.1, February 1999
51  Copyright (C) 1991, 1999 Free Software Foundation, Inc.
52  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
53  Everyone is permitted to copy and distribute verbatim copies
54  of this license document, but changing it is not allowed.
56 [This is the first released version of the Lesser GPL.  It also counts
57  as the successor of the GNU Library Public License, version 2, hence
58  the version number 2.1.]
60                             Preamble
62   The licenses for most software are designed to take away your
63 freedom to share and change it.  By contrast, the GNU General Public
64 Licenses are intended to guarantee your freedom to share and change
65 free software--to make sure the software is free for all its users.
67   This license, the Lesser General Public License, applies to some
68 specially designated software packages--typically libraries--of the
69 Free Software Foundation and other authors who decide to use it.  You
70 can use it too, but we suggest you first think carefully about whether
71 this license or the ordinary General Public License is the better
72 strategy to use in any particular case, based on the explanations below.
74   When we speak of free software, we are referring to freedom of use,
75 not price.  Our General Public Licenses are designed to make sure that
76 you have the freedom to distribute copies of free software (and charge
77 for this service if you wish); that you receive source code or can get
78 it if you want it; that you can change the software and use pieces of
79 it in new free programs; and that you are informed that you can do
80 these things.
82   To protect your rights, we need to make restrictions that forbid
83 distributors to deny you these rights or to ask you to surrender these
84 rights.  These restrictions translate to certain responsibilities for
85 you if you distribute copies of the library or if you modify it.
87   For example, if you distribute copies of the library, whether gratis
88 or for a fee, you must give the recipients all the rights that we gave
89 you.  You must make sure that they, too, receive or can get the source
90 code.  If you link other code with the library, you must provide
91 complete object files to the recipients, so that they can relink them
92 with the library after making changes to the library and recompiling
93 it.  And you must show them these terms so they know their rights.
95   We protect your rights with a two-step method: (1) we copyright the
96 library, and (2) we offer you this license, which gives you legal
97 permission to copy, distribute and/or modify the library.
99   To protect each distributor, we want to make it very clear that
100 there is no warranty for the free library.  Also, if the library is
101 modified by someone else and passed on, the recipients should know
102 that what they have is not the original version, so that the original
103 author's reputation will not be affected by problems that might be
104 introduced by others.
106   Finally, software patents pose a constant threat to the existence of
107 any free program.  We wish to make sure that a company cannot
108 effectively restrict the users of a free program by obtaining a
109 restrictive license from a patent holder.  Therefore, we insist that
110 any patent license obtained for a version of the library must be
111 consistent with the full freedom of use specified in this license.
113   Most GNU software, including some libraries, is covered by the
114 ordinary GNU General Public License.  This license, the GNU Lesser
115 General Public License, applies to certain designated libraries, and
116 is quite different from the ordinary General Public License.  We use
117 this license for certain libraries in order to permit linking those
118 libraries into non-free programs.
120   When a program is linked with a library, whether statically or using
121 a shared library, the combination of the two is legally speaking a
122 combined work, a derivative of the original library.  The ordinary
123 General Public License therefore permits such linking only if the
124 entire combination fits its criteria of freedom.  The Lesser General
125 Public License permits more lax criteria for linking other code with
126 the library.
128   We call this license the "Lesser" General Public License because it
129 does Less to protect the user's freedom than the ordinary General
130 Public License.  It also provides other free software developers Less
131 of an advantage over competing non-free programs.  These disadvantages
132 are the reason we use the ordinary General Public License for many
133 libraries.  However, the Lesser license provides advantages in certain
134 special circumstances.
136   For example, on rare occasions, there may be a special need to
137 encourage the widest possible use of a certain library, so that it becomes
138 a de-facto standard.  To achieve this, non-free programs must be
139 allowed to use the library.  A more frequent case is that a free
140 library does the same job as widely used non-free libraries.  In this
141 case, there is little to gain by limiting the free library to free
142 software only, so we use the Lesser General Public License.
144   In other cases, permission to use a particular library in non-free
145 programs enables a greater number of people to use a large body of
146 free software.  For example, permission to use the GNU C Library in
147 non-free programs enables many more people to use the whole GNU
148 operating system, as well as its variant, the GNU/Linux operating
149 system.
151   Although the Lesser General Public License is Less protective of the
152 users' freedom, it does ensure that the user of a program that is
153 linked with the Library has the freedom and the wherewithal to run
154 that program using a modified version of the Library.
156   The precise terms and conditions for copying, distribution and
157 modification follow.  Pay close attention to the difference between a
158 "work based on the library" and a "work that uses the library".  The
159 former contains code derived from the library, whereas the latter must
160 be combined with the library in order to run.
162                   GNU LESSER GENERAL PUBLIC LICENSE
163    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
165   0. This License Agreement applies to any software library or other
166 program which contains a notice placed by the copyright holder or
167 other authorized party saying it may be distributed under the terms of
168 this Lesser General Public License (also called "this License").
169 Each licensee is addressed as "you".
171   A "library" means a collection of software functions and/or data
172 prepared so as to be conveniently linked with application programs
173 (which use some of those functions and data) to form executables.
175   The "Library", below, refers to any such software library or work
176 which has been distributed under these terms.  A "work based on the
177 Library" means either the Library or any derivative work under
178 copyright law: that is to say, a work containing the Library or a
179 portion of it, either verbatim or with modifications and/or translated
180 straightforwardly into another language.  (Hereinafter, translation is
181 included without limitation in the term "modification".)
183   "Source code" for a work means the preferred form of the work for
184 making modifications to it.  For a library, complete source code means
185 all the source code for all modules it contains, plus any associated
186 interface definition files, plus the scripts used to control compilation
187 and installation of the library.
189   Activities other than copying, distribution and modification are not
190 covered by this License; they are outside its scope.  The act of
191 running a program using the Library is not restricted, and output from
192 such a program is covered only if its contents constitute a work based
193 on the Library (independent of the use of the Library in a tool for
194 writing it).  Whether that is true depends on what the Library does
195 and what the program that uses the Library does.
197   1. You may copy and distribute verbatim copies of the Library's
198 complete source code as you receive it, in any medium, provided that
199 you conspicuously and appropriately publish on each copy an
200 appropriate copyright notice and disclaimer of warranty; keep intact
201 all the notices that refer to this License and to the absence of any
202 warranty; and distribute a copy of this License along with the
203 Library.
205   You may charge a fee for the physical act of transferring a copy,
206 and you may at your option offer warranty protection in exchange for a
207 fee.
209   2. You may modify your copy or copies of the Library or any portion
210 of it, thus forming a work based on the Library, and copy and
211 distribute such modifications or work under the terms of Section 1
212 above, provided that you also meet all of these conditions:
214     a) The modified work must itself be a software library.
216     b) You must cause the files modified to carry prominent notices
217     stating that you changed the files and the date of any change.
219     c) You must cause the whole of the work to be licensed at no
220     charge to all third parties under the terms of this License.
222     d) If a facility in the modified Library refers to a function or a
223     table of data to be supplied by an application program that uses
224     the facility, other than as an argument passed when the facility
225     is invoked, then you must make a good faith effort to ensure that,
226     in the event an application does not supply such function or
227     table, the facility still operates, and performs whatever part of
228     its purpose remains meaningful.
230     (For example, a function in a library to compute square roots has
231     a purpose that is entirely well-defined independent of the
232     application.  Therefore, Subsection 2d requires that any
233     application-supplied function or table used by this function must
234     be optional: if the application does not supply it, the square
235     root function must still compute square roots.)
237 These requirements apply to the modified work as a whole.  If
238 identifiable sections of that work are not derived from the Library,
239 and can be reasonably considered independent and separate works in
240 themselves, then this License, and its terms, do not apply to those
241 sections when you distribute them as separate works.  But when you
242 distribute the same sections as part of a whole which is a work based
243 on the Library, the distribution of the whole must be on the terms of
244 this License, whose permissions for other licensees extend to the
245 entire whole, and thus to each and every part regardless of who wrote
248 Thus, it is not the intent of this section to claim rights or contest
249 your rights to work written entirely by you; rather, the intent is to
250 exercise the right to control the distribution of derivative or
251 collective works based on the Library.
253 In addition, mere aggregation of another work not based on the Library
254 with the Library (or with a work based on the Library) on a volume of
255 a storage or distribution medium does not bring the other work under
256 the scope of this License.
258   3. You may opt to apply the terms of the ordinary GNU General Public
259 License instead of this License to a given copy of the Library.  To do
260 this, you must alter all the notices that refer to this License, so
261 that they refer to the ordinary GNU General Public License, version 2,
262 instead of to this License.  (If a newer version than version 2 of the
263 ordinary GNU General Public License has appeared, then you can specify
264 that version instead if you wish.)  Do not make any other change in
265 these notices.
267   Once this change is made in a given copy, it is irreversible for
268 that copy, so the ordinary GNU General Public License applies to all
269 subsequent copies and derivative works made from that copy.
271   This option is useful when you wish to copy part of the code of
272 the Library into a program that is not a library.
274   4. You may copy and distribute the Library (or a portion or
275 derivative of it, under Section 2) in object code or executable form
276 under the terms of Sections 1 and 2 above provided that you accompany
277 it with the complete corresponding machine-readable source code, which
278 must be distributed under the terms of Sections 1 and 2 above on a
279 medium customarily used for software interchange.
281   If distribution of object code is made by offering access to copy
282 from a designated place, then offering equivalent access to copy the
283 source code from the same place satisfies the requirement to
284 distribute the source code, even though third parties are not
285 compelled to copy the source along with the object code.
287   5. A program that contains no derivative of any portion of the
288 Library, but is designed to work with the Library by being compiled or
289 linked with it, is called a "work that uses the Library".  Such a
290 work, in isolation, is not a derivative work of the Library, and
291 therefore falls outside the scope of this License.
293   However, linking a "work that uses the Library" with the Library
294 creates an executable that is a derivative of the Library (because it
295 contains portions of the Library), rather than a "work that uses the
296 library".  The executable is therefore covered by this License.
297 Section 6 states terms for distribution of such executables.
299   When a "work that uses the Library" uses material from a header file
300 that is part of the Library, the object code for the work may be a
301 derivative work of the Library even though the source code is not.
302 Whether this is true is especially significant if the work can be
303 linked without the Library, or if the work is itself a library.  The
304 threshold for this to be true is not precisely defined by law.
306   If such an object file uses only numerical parameters, data
307 structure layouts and accessors, and small macros and small inline
308 functions (ten lines or less in length), then the use of the object
309 file is unrestricted, regardless of whether it is legally a derivative
310 work.  (Executables containing this object code plus portions of the
311 Library will still fall under Section 6.)
313   Otherwise, if the work is a derivative of the Library, you may
314 distribute the object code for the work under the terms of Section 6.
315 Any executables containing that work also fall under Section 6,
316 whether or not they are linked directly with the Library itself.
318   6. As an exception to the Sections above, you may also combine or
319 link a "work that uses the Library" with the Library to produce a
320 work containing portions of the Library, and distribute that work
321 under terms of your choice, provided that the terms permit
322 modification of the work for the customer's own use and reverse
323 engineering for debugging such modifications.
325   You must give prominent notice with each copy of the work that the
326 Library is used in it and that the Library and its use are covered by
327 this License.  You must supply a copy of this License.  If the work
328 during execution displays copyright notices, you must include the
329 copyright notice for the Library among them, as well as a reference
330 directing the user to the copy of this License.  Also, you must do one
331 of these things:
333     a) Accompany the work with the complete corresponding
334     machine-readable source code for the Library including whatever
335     changes were used in the work (which must be distributed under
336     Sections 1 and 2 above); and, if the work is an executable linked
337     with the Library, with the complete machine-readable "work that
338     uses the Library", as object code and/or source code, so that the
339     user can modify the Library and then relink to produce a modified
340     executable containing the modified Library.  (It is understood
341     that the user who changes the contents of definitions files in the
342     Library will not necessarily be able to recompile the application
343     to use the modified definitions.)
345     b) Use a suitable shared library mechanism for linking with the
346     Library.  A suitable mechanism is one that (1) uses at run time a
347     copy of the library already present on the user's computer system,
348     rather than copying library functions into the executable, and (2)
349     will operate properly with a modified version of the library, if
350     the user installs one, as long as the modified version is
351     interface-compatible with the version that the work was made with.
353     c) Accompany the work with a written offer, valid for at
354     least three years, to give the same user the materials
355     specified in Subsection 6a, above, for a charge no more
356     than the cost of performing this distribution.
358     d) If distribution of the work is made by offering access to copy
359     from a designated place, offer equivalent access to copy the above
360     specified materials from the same place.
362     e) Verify that the user has already received a copy of these
363     materials or that you have already sent this user a copy.
365   For an executable, the required form of the "work that uses the
366 Library" must include any data and utility programs needed for
367 reproducing the executable from it.  However, as a special exception,
368 the materials to be distributed need not include anything that is
369 normally distributed (in either source or binary form) with the major
370 components (compiler, kernel, and so on) of the operating system on
371 which the executable runs, unless that component itself accompanies
372 the executable.
374   It may happen that this requirement contradicts the license
375 restrictions of other proprietary libraries that do not normally
376 accompany the operating system.  Such a contradiction means you cannot
377 use both them and the Library together in an executable that you
378 distribute.
380   7. You may place library facilities that are a work based on the
381 Library side-by-side in a single library together with other library
382 facilities not covered by this License, and distribute such a combined
383 library, provided that the separate distribution of the work based on
384 the Library and of the other library facilities is otherwise
385 permitted, and provided that you do these two things:
387     a) Accompany the combined library with a copy of the same work
388     based on the Library, uncombined with any other library
389     facilities.  This must be distributed under the terms of the
390     Sections above.
392     b) Give prominent notice with the combined library of the fact
393     that part of it is a work based on the Library, and explaining
394     where to find the accompanying uncombined form of the same work.
396   8. You may not copy, modify, sublicense, link with, or distribute
397 the Library except as expressly provided under this License.  Any
398 attempt otherwise to copy, modify, sublicense, link with, or
399 distribute the Library is void, and will automatically terminate your
400 rights under this License.  However, parties who have received copies,
401 or rights, from you under this License will not have their licenses
402 terminated so long as such parties remain in full compliance.
404   9. You are not required to accept this License, since you have not
405 signed it.  However, nothing else grants you permission to modify or
406 distribute the Library or its derivative works.  These actions are
407 prohibited by law if you do not accept this License.  Therefore, by
408 modifying or distributing the Library (or any work based on the
409 Library), you indicate your acceptance of this License to do so, and
410 all its terms and conditions for copying, distributing or modifying
411 the Library or works based on it.
413   10. Each time you redistribute the Library (or any work based on the
414 Library), the recipient automatically receives a license from the
415 original licensor to copy, distribute, link with or modify the Library
416 subject to these terms and conditions.  You may not impose any further
417 restrictions on the recipients' exercise of the rights granted herein.
418 You are not responsible for enforcing compliance by third parties with
419 this License.
421   11. If, as a consequence of a court judgment or allegation of patent
422 infringement or for any other reason (not limited to patent issues),
423 conditions are imposed on you (whether by court order, agreement or
424 otherwise) that contradict the conditions of this License, they do not
425 excuse you from the conditions of this License.  If you cannot
426 distribute so as to satisfy simultaneously your obligations under this
427 License and any other pertinent obligations, then as a consequence you
428 may not distribute the Library at all.  For example, if a patent
429 license would not permit royalty-free redistribution of the Library by
430 all those who receive copies directly or indirectly through you, then
431 the only way you could satisfy both it and this License would be to
432 refrain entirely from distribution of the Library.
434 If any portion of this section is held invalid or unenforceable under any
435 particular circumstance, the balance of the section is intended to apply,
436 and the section as a whole is intended to apply in other circumstances.
438 It is not the purpose of this section to induce you to infringe any
439 patents or other property right claims or to contest validity of any
440 such claims; this section has the sole purpose of protecting the
441 integrity of the free software distribution system which is
442 implemented by public license practices.  Many people have made
443 generous contributions to the wide range of software distributed
444 through that system in reliance on consistent application of that
445 system; it is up to the author/donor to decide if he or she is willing
446 to distribute software through any other system and a licensee cannot
447 impose that choice.
449 This section is intended to make thoroughly clear what is believed to
450 be a consequence of the rest of this License.
452   12. If the distribution and/or use of the Library is restricted in
453 certain countries either by patents or by copyrighted interfaces, the
454 original copyright holder who places the Library under this License may add
455 an explicit geographical distribution limitation excluding those countries,
456 so that distribution is permitted only in or among countries not thus
457 excluded.  In such case, this License incorporates the limitation as if
458 written in the body of this License.
460   13. The Free Software Foundation may publish revised and/or new
461 versions of the Lesser General Public License from time to time.
462 Such new versions will be similar in spirit to the present version,
463 but may differ in detail to address new problems or concerns.
465 Each version is given a distinguishing version number.  If the Library
466 specifies a version number of this License which applies to it and
467 "any later version", you have the option of following the terms and
468 conditions either of that version or of any later version published by
469 the Free Software Foundation.  If the Library does not specify a
470 license version number, you may choose any version ever published by
471 the Free Software Foundation.
473   14. If you wish to incorporate parts of the Library into other free
474 programs whose distribution conditions are incompatible with these,
475 write to the author to ask for permission.  For software which is
476 copyrighted by the Free Software Foundation, write to the Free
477 Software Foundation; we sometimes make exceptions for this.  Our
478 decision will be guided by the two goals of preserving the free status
479 of all derivatives of our free software and of promoting the sharing
480 and reuse of software generally.
482                             NO WARRANTY
484   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
485 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
486 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
487 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
488 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
489 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
490 PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
491 LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
492 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
494   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
495 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
496 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
497 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
498 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
499 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
500 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
501 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
502 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
503 DAMAGES.
505                      END OF TERMS AND CONDITIONS
507            How to Apply These Terms to Your New Libraries
509   If you develop a new library, and you want it to be of the greatest
510 possible use to the public, we recommend making it free software that
511 everyone can redistribute and change.  You can do so by permitting
512 redistribution under these terms (or, alternatively, under the terms of the
513 ordinary General Public License).
515   To apply these terms, attach the following notices to the library.  It is
516 safest to attach them to the start of each source file to most effectively
517 convey the exclusion of warranty; and each file should have at least the
518 "copyright" line and a pointer to where the full notice is found.
520     <one line to give the library's name and a brief idea of what it does.>
521     Copyright (C) <year>  <name of author>
523     This library is free software; you can redistribute it and/or
524     modify it under the terms of the GNU Lesser General Public
525     License as published by the Free Software Foundation; either
526     version 2.1 of the License, or (at your option) any later version.
528     This library is distributed in the hope that it will be useful,
529     but WITHOUT ANY WARRANTY; without even the implied warranty of
530     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
531     Lesser General Public License for more details.
533     You should have received a copy of the GNU Lesser General Public
534     License along with this library; if not, write to the Free Software
535     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
537 Also add information on how to contact you by electronic and paper mail.
539 You should also get your employer (if you work as a programmer) or your
540 school, if any, to sign a "copyright disclaimer" for the library, if
541 necessary.  Here is a sample; alter the names:
543   Yoyodyne, Inc., hereby disclaims all copyright interest in the
544   library `Frob' (a library for tweaking knobs) written by James Random Hacker.
546   <signature of Ty Coon>, 1 April 1990
547   Ty Coon, President of Vice
549 That's all there is to it!
551 ============================================
553                     GNU GENERAL PUBLIC LICENSE
554                        Version 2, June 1991
556  Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
557  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
558  Everyone is permitted to copy and distribute verbatim copies
559  of this license document, but changing it is not allowed.
561                             Preamble
563   The licenses for most software are designed to take away your
564 freedom to share and change it.  By contrast, the GNU General Public
565 License is intended to guarantee your freedom to share and change free
566 software--to make sure the software is free for all its users.  This
567 General Public License applies to most of the Free Software
568 Foundation's software and to any other program whose authors commit to
569 using it.  (Some other Free Software Foundation software is covered by
570 the GNU Lesser General Public License instead.)  You can apply it to
571 your programs, too.
573   When we speak of free software, we are referring to freedom, not
574 price.  Our General Public Licenses are designed to make sure that you
575 have the freedom to distribute copies of free software (and charge for
576 this service if you wish), that you receive source code or can get it
577 if you want it, that you can change the software or use pieces of it
578 in new free programs; and that you know you can do these things.
580   To protect your rights, we need to make restrictions that forbid
581 anyone to deny you these rights or to ask you to surrender the rights.
582 These restrictions translate to certain responsibilities for you if you
583 distribute copies of the software, or if you modify it.
585   For example, if you distribute copies of such a program, whether
586 gratis or for a fee, you must give the recipients all the rights that
587 you have.  You must make sure that they, too, receive or can get the
588 source code.  And you must show them these terms so they know their
589 rights.
591   We protect your rights with two steps: (1) copyright the software, and
592 (2) offer you this license which gives you legal permission to copy,
593 distribute and/or modify the software.
595   Also, for each author's protection and ours, we want to make certain
596 that everyone understands that there is no warranty for this free
597 software.  If the software is modified by someone else and passed on, we
598 want its recipients to know that what they have is not the original, so
599 that any problems introduced by others will not reflect on the original
600 authors' reputations.
602   Finally, any free program is threatened constantly by software
603 patents.  We wish to avoid the danger that redistributors of a free
604 program will individually obtain patent licenses, in effect making the
605 program proprietary.  To prevent this, we have made it clear that any
606 patent must be licensed for everyone's free use or not licensed at all.
608   The precise terms and conditions for copying, distribution and
609 modification follow.
611                     GNU GENERAL PUBLIC LICENSE
612    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
614   0. This License applies to any program or other work which contains
615 a notice placed by the copyright holder saying it may be distributed
616 under the terms of this General Public License.  The "Program", below,
617 refers to any such program or work, and a "work based on the Program"
618 means either the Program or any derivative work under copyright law:
619 that is to say, a work containing the Program or a portion of it,
620 either verbatim or with modifications and/or translated into another
621 language.  (Hereinafter, translation is included without limitation in
622 the term "modification".)  Each licensee is addressed as "you".
624 Activities other than copying, distribution and modification are not
625 covered by this License; they are outside its scope.  The act of
626 running the Program is not restricted, and the output from the Program
627 is covered only if its contents constitute a work based on the
628 Program (independent of having been made by running the Program).
629 Whether that is true depends on what the Program does.
631   1. You may copy and distribute verbatim copies of the Program's
632 source code as you receive it, in any medium, provided that you
633 conspicuously and appropriately publish on each copy an appropriate
634 copyright notice and disclaimer of warranty; keep intact all the
635 notices that refer to this License and to the absence of any warranty;
636 and give any other recipients of the Program a copy of this License
637 along with the Program.
639 You may charge a fee for the physical act of transferring a copy, and
640 you may at your option offer warranty protection in exchange for a fee.
642   2. You may modify your copy or copies of the Program or any portion
643 of it, thus forming a work based on the Program, and copy and
644 distribute such modifications or work under the terms of Section 1
645 above, provided that you also meet all of these conditions:
647     a) You must cause the modified files to carry prominent notices
648     stating that you changed the files and the date of any change.
650     b) You must cause any work that you distribute or publish, that in
651     whole or in part contains or is derived from the Program or any
652     part thereof, to be licensed as a whole at no charge to all third
653     parties under the terms of this License.
655     c) If the modified program normally reads commands interactively
656     when run, you must cause it, when started running for such
657     interactive use in the most ordinary way, to print or display an
658     announcement including an appropriate copyright notice and a
659     notice that there is no warranty (or else, saying that you provide
660     a warranty) and that users may redistribute the program under
661     these conditions, and telling the user how to view a copy of this
662     License.  (Exception: if the Program itself is interactive but
663     does not normally print such an announcement, your work based on
664     the Program is not required to print an announcement.)
666 These requirements apply to the modified work as a whole.  If
667 identifiable sections of that work are not derived from the Program,
668 and can be reasonably considered independent and separate works in
669 themselves, then this License, and its terms, do not apply to those
670 sections when you distribute them as separate works.  But when you
671 distribute the same sections as part of a whole which is a work based
672 on the Program, the distribution of the whole must be on the terms of
673 this License, whose permissions for other licensees extend to the
674 entire whole, and thus to each and every part regardless of who wrote it.
676 Thus, it is not the intent of this section to claim rights or contest
677 your rights to work written entirely by you; rather, the intent is to
678 exercise the right to control the distribution of derivative or
679 collective works based on the Program.
681 In addition, mere aggregation of another work not based on the Program
682 with the Program (or with a work based on the Program) on a volume of
683 a storage or distribution medium does not bring the other work under
684 the scope of this License.
686   3. You may copy and distribute the Program (or a work based on it,
687 under Section 2) in object code or executable form under the terms of
688 Sections 1 and 2 above provided that you also do one of the following:
690     a) Accompany it with the complete corresponding machine-readable
691     source code, which must be distributed under the terms of Sections
692     1 and 2 above on a medium customarily used for software interchange; or,
694     b) Accompany it with a written offer, valid for at least three
695     years, to give any third party, for a charge no more than your
696     cost of physically performing source distribution, a complete
697     machine-readable copy of the corresponding source code, to be
698     distributed under the terms of Sections 1 and 2 above on a medium
699     customarily used for software interchange; or,
701     c) Accompany it with the information you received as to the offer
702     to distribute corresponding source code.  (This alternative is
703     allowed only for noncommercial distribution and only if you
704     received the program in object code or executable form with such
705     an offer, in accord with Subsection b above.)
707 The source code for a work means the preferred form of the work for
708 making modifications to it.  For an executable work, complete source
709 code means all the source code for all modules it contains, plus any
710 associated interface definition files, plus the scripts used to
711 control compilation and installation of the executable.  However, as a
712 special exception, the source code distributed need not include
713 anything that is normally distributed (in either source or binary
714 form) with the major components (compiler, kernel, and so on) of the
715 operating system on which the executable runs, unless that component
716 itself accompanies the executable.
718 If distribution of executable or object code is made by offering
719 access to copy from a designated place, then offering equivalent
720 access to copy the source code from the same place counts as
721 distribution of the source code, even though third parties are not
722 compelled to copy the source along with the object code.
724   4. You may not copy, modify, sublicense, or distribute the Program
725 except as expressly provided under this License.  Any attempt
726 otherwise to copy, modify, sublicense or distribute the Program is
727 void, and will automatically terminate your rights under this License.
728 However, parties who have received copies, or rights, from you under
729 this License will not have their licenses terminated so long as such
730 parties remain in full compliance.
732   5. You are not required to accept this License, since you have not
733 signed it.  However, nothing else grants you permission to modify or
734 distribute the Program or its derivative works.  These actions are
735 prohibited by law if you do not accept this License.  Therefore, by
736 modifying or distributing the Program (or any work based on the
737 Program), you indicate your acceptance of this License to do so, and
738 all its terms and conditions for copying, distributing or modifying
739 the Program or works based on it.
741   6. Each time you redistribute the Program (or any work based on the
742 Program), the recipient automatically receives a license from the
743 original licensor to copy, distribute or modify the Program subject to
744 these terms and conditions.  You may not impose any further
745 restrictions on the recipients' exercise of the rights granted herein.
746 You are not responsible for enforcing compliance by third parties to
747 this License.
749   7. If, as a consequence of a court judgment or allegation of patent
750 infringement or for any other reason (not limited to patent issues),
751 conditions are imposed on you (whether by court order, agreement or
752 otherwise) that contradict the conditions of this License, they do not
753 excuse you from the conditions of this License.  If you cannot
754 distribute so as to satisfy simultaneously your obligations under this
755 License and any other pertinent obligations, then as a consequence you
756 may not distribute the Program at all.  For example, if a patent
757 license would not permit royalty-free redistribution of the Program by
758 all those who receive copies directly or indirectly through you, then
759 the only way you could satisfy both it and this License would be to
760 refrain entirely from distribution of the Program.
762 If any portion of this section is held invalid or unenforceable under
763 any particular circumstance, the balance of the section is intended to
764 apply and the section as a whole is intended to apply in other
765 circumstances.
767 It is not the purpose of this section to induce you to infringe any
768 patents or other property right claims or to contest validity of any
769 such claims; this section has the sole purpose of protecting the
770 integrity of the free software distribution system, which is
771 implemented by public license practices.  Many people have made
772 generous contributions to the wide range of software distributed
773 through that system in reliance on consistent application of that
774 system; it is up to the author/donor to decide if he or she is willing
775 to distribute software through any other system and a licensee cannot
776 impose that choice.
778 This section is intended to make thoroughly clear what is believed to
779 be a consequence of the rest of this License.
781   8. If the distribution and/or use of the Program is restricted in
782 certain countries either by patents or by copyrighted interfaces, the
783 original copyright holder who places the Program under this License
784 may add an explicit geographical distribution limitation excluding
785 those countries, so that distribution is permitted only in or among
786 countries not thus excluded.  In such case, this License incorporates
787 the limitation as if written in the body of this License.
789   9. The Free Software Foundation may publish revised and/or new versions
790 of the General Public License from time to time.  Such new versions will
791 be similar in spirit to the present version, but may differ in detail to
792 address new problems or concerns.
794 Each version is given a distinguishing version number.  If the Program
795 specifies a version number of this License which applies to it and "any
796 later version", you have the option of following the terms and conditions
797 either of that version or of any later version published by the Free
798 Software Foundation.  If the Program does not specify a version number of
799 this License, you may choose any version ever published by the Free Software
800 Foundation.
802   10. If you wish to incorporate parts of the Program into other free
803 programs whose distribution conditions are different, write to the author
804 to ask for permission.  For software which is copyrighted by the Free
805 Software Foundation, write to the Free Software Foundation; we sometimes
806 make exceptions for this.  Our decision will be guided by the two goals
807 of preserving the free status of all derivatives of our free software and
808 of promoting the sharing and reuse of software generally.
810                             NO WARRANTY
812   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
813 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
814 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
815 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
816 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
817 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
818 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
819 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
820 REPAIR OR CORRECTION.
822   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
823 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
824 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
825 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
826 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
827 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
828 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
829 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
830 POSSIBILITY OF SUCH DAMAGES.
832                      END OF TERMS AND CONDITIONS
834             How to Apply These Terms to Your New Programs
836   If you develop a new program, and you want it to be of the greatest
837 possible use to the public, the best way to achieve this is to make it
838 free software which everyone can redistribute and change under these terms.
840   To do so, attach the following notices to the program.  It is safest
841 to attach them to the start of each source file to most effectively
842 convey the exclusion of warranty; and each file should have at least
843 the "copyright" line and a pointer to where the full notice is found.
845     <one line to give the program's name and a brief idea of what it does.>
846     Copyright (C) <year>  <name of author>
848     This program is free software; you can redistribute it and/or modify
849     it under the terms of the GNU General Public License as published by
850     the Free Software Foundation; either version 2 of the License, or
851     (at your option) any later version.
853     This program is distributed in the hope that it will be useful,
854     but WITHOUT ANY WARRANTY; without even the implied warranty of
855     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
856     GNU General Public License for more details.
858     You should have received a copy of the GNU General Public License along
859     with this program; if not, write to the Free Software Foundation, Inc.,
860     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
862 Also add information on how to contact you by electronic and paper mail.
864 If the program is interactive, make it output a short notice like this
865 when it starts in an interactive mode:
867     Gnomovision version 69, Copyright (C) year name of author
868     Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
869     This is free software, and you are welcome to redistribute it
870     under certain conditions; type `show c' for details.
872 The hypothetical commands `show w' and `show c' should show the appropriate
873 parts of the General Public License.  Of course, the commands you use may
874 be called something other than `show w' and `show c'; they could even be
875 mouse-clicks or menu items--whatever suits your program.
877 You should also get your employer (if you work as a programmer) or your
878 school, if any, to sign a "copyright disclaimer" for the program, if
879 necessary.  Here is a sample; alter the names:
881   Yoyodyne, Inc., hereby disclaims all copyright interest in the program
882   `Gnomovision' (which makes passes at compilers) written by James Hacker.
884   <signature of Ty Coon>, 1 April 1989
885   Ty Coon, President of Vice
887 This General Public License does not permit incorporating your program into
888 proprietary programs.  If your program is a subroutine library, you may
889 consider it more useful to permit linking proprietary applications with the
890 library.  If this is what you want to do, use the GNU Lesser General
891 Public License instead of this License.
893 2. Trajectory file reading using VMD plugins
894 ============================================
896    Files: src/external/vmd_molfile/
897           src/gromacs/fileio/vmdio.c
899                 (C) Copyright 1995-2009 The Board of Trustees of the
900                             University of Illinois
901                              All Rights Reserved
903 Developed by:           Theoretical and Computational Biophysics Group
904                         University of Illinois at Urbana-Champaign
905                         http://www.ks.uiuc.edu/
907 Permission is hereby granted, free of charge, to any person obtaining a copy of
908 this software and associated documentation files (the Software), to deal with
909 the Software without restriction, including without limitation the rights to
910 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
911 of the Software, and to permit persons to whom the Software is furnished to
912 do so, subject to the following conditions:
914 Redistributions of source code must retain the above copyright notice,
915 this list of conditions and the following disclaimers.
917 Redistributions in binary form must reproduce the above copyright notice,
918 this list of conditions and the following disclaimers in the documentation
919 and/or other materials provided with the distribution.
921 Neither the names of Theoretical and Computational Biophysics Group,
922 University of Illinois at Urbana-Champaign, nor the names of its contributors
923 may be used to endorse or promote products derived from this Software without
924 specific prior written permission.
926 THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
927 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
928 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
929 THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
930 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
931 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
932 OTHER DEALINGS WITH THE SOFTWARE.
934 3. Internal FFT (ffpack)
935 ========================
937    Files: src/external/fftpack/fftpack.c
939 Copyright (c) 2005-2011, NumPy Developers.
940 All rights reserved.
942 Redistribution and use in source and binary forms, with or without
943 modification, are permitted provided that the following conditions are
944 met:
946     * Redistributions of source code must retain the above copyright
947        notice, this list of conditions and the following disclaimer.
949     * Redistributions in binary form must reproduce the above
950        copyright notice, this list of conditions and the following
951        disclaimer in the documentation and/or other materials provided
952        with the distribution.
954     * Neither the name of the NumPy Developers nor the names of any
955        contributors may be used to endorse or promote products derived
956        from this software without specific prior written permission.
958 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
959 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
960 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
961 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
962 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
963 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
964 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
965 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
966 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
967 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
968 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
970 fftpack.c : A set of FFT routines in C.
971 Algorithmically based on Fortran-77 FFTPACK by Paul N. Swarztrauber (Version 4, 1985).
973 4. thread_mpi
974 =============
976    Files: src/external/thread_mpi/
978 Copyright (c) 2009-2012, Sander Pronk & Erik Lindahl.
979 All rights reserved.
981 Redistribution and use in source and binary forms, with or without
982 modification, are permitted provided that the following conditions are met:
983 1) Redistributions of source code must retain the above copyright
984    notice, this list of conditions and the following disclaimer.
985 2) Redistributions in binary form must reproduce the above copyright
986    notice, this list of conditions and the following disclaimer in the
987    documentation and/or other materials provided with the distribution.
988 3) Neither the name of the <organization> nor the
989    names of its contributors may be used to endorse or promote products
990    derived from this software without specific prior written permission.
992 THIS SOFTWARE IS PROVIDED BY US ''AS IS'' AND ANY
993 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
994 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
995 DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
996 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
997 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
998 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
999 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1000 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1001 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1003 If you want to redistribute modifications, please consider that
1004 scientific software is very special. Version control is crucial -
1005 bugs must be traceable. We will be happy to consider code for
1006 inclusion in the official distribution, but derived work should not
1007 be called official thread_mpi.
1009 5. Blas
1010 =======
1012 These files are semi-automatic translations by f2c from the original netlib BLAS library.
1013 The source has been modified to (mostly) use modern C formatting, and to get rid of
1014 compiler warnings. Any errors in doing this should be blamed on the GROMACS developers, and
1015 not the reference BLAS implementation.
1017 The reference BLAS implementation is available from http://www.netlib.org/blas
1019 BLAS does not come with a formal named "license", but a general statement that
1021 "The reference BLAS is a freely-available software package. It is available from netlib
1022 via anonymous ftp and the World Wide Web. Thus, it can be included in commercial software
1023 packages (and has been). We only ask that proper credit be given to the authors."
1025 While the rest of GROMACS is LGPL, we think it's only fair to give you the same rights to
1026 our modified BLAS files as the original netlib versions, so do what you want with them.
1027 However, be warned that we have only tested that they do the right thing in the cases used
1028 in GROMACS (primarily full & sparse matrix diagonalization), so in most cases it is a much
1029 better idea to use the full reference implementation.
1031 Erik Lindahl, 2008-10-07.
1033 6. Lapack
1034 =========
1036 These files are semi-automatic translations by f2c from the original netlib LAPACK library.
1037 The source has been modified to (mostly) use modern C formatting, and to get rid of
1038 compiler warnings. Any errors in doing this should be blamed on the GROMACS developers, and
1039 not the reference LAPACK implementation.
1041 The reference LAPACK implementation is available from http://www.netlib.org/lapack
1043 LAPACK does not come with a formal named "license", but a general statement saying:
1045 "The reference LAPACK is a freely-available software package. It is available from netlib
1046 via anonymous ftp and the World Wide Web. Thus, it can be included in commercial software
1047 packages (and has been). We only ask that proper credit be given to the authors."
1049 While the rest of GROMACS is LGPL, we think it's only fair to give you the same rights to
1050 our modified LAPACK files as the original netlib versions, so do what you want with them.
1052 However, be warned that we have only tested that they do the right thing in the cases used
1053 in GROMACS (primarily full & sparse matrix diagonalization), so in most cases it is a much
1054 better idea to use the full reference implementation.
1056 Erik Lindahl, 2008-10-07.
1058 7. Parts of Boost C++ library
1059 =============================
1061    Files: src/gromacs/utility/current_function.h
1062           src/gromacs/utility/path.cpp
1064 Boost Software License - Version 1.0 - August 17th, 2003
1066 Permission is hereby granted, free of charge, to any person or organization
1067 obtaining a copy of the software and accompanying documentation covered by
1068 this license (the "Software") to use, reproduce, display, distribute,
1069 execute, and transmit the Software, and to prepare derivative works of the
1070 Software, and to permit third-parties to whom the Software is furnished to
1071 do so, all subject to the following:
1073 The copyright notices in the Software and this entire statement, including
1074 the above license grant, this restriction and the following disclaimer,
1075 must be included in all copies of the Software, in whole or in part, and
1076 all derivative works of the Software, unless such copies or derivative
1077 works are solely in the form of machine-executable object code generated by
1078 a source language processor.
1080 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1081 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1082 FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
1083 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
1084 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
1085 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1086 DEALINGS IN THE SOFTWARE.
1088 8. Google Test and Google Mock
1089 ===============================
1091    Files: src/external/gmock-1.7.0/*
1093 Copyright 2008, Google Inc.
1094 All rights reserved.
1096 Redistribution and use in source and binary forms, with or without
1097 modification, are permitted provided that the following conditions are
1098 met:
1100     * Redistributions of source code must retain the above copyright
1101 notice, this list of conditions and the following disclaimer.
1102     * Redistributions in binary form must reproduce the above
1103 copyright notice, this list of conditions and the following disclaimer
1104 in the documentation and/or other materials provided with the
1105 distribution.
1106     * Neither the name of Google Inc. nor the names of its
1107 contributors may be used to endorse or promote products derived from
1108 this software without specific prior written permission.
1110 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1111 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1112 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1113 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1114 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1115 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1116 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1117 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1118 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1119 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1120 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1123 9. Sun Extensible Data Representation routines (XDR)
1124 =====================================================
1126     Files: src/gromacs/fileio/gmx_system_xdr.c
1128 Sun RPC is a product of Sun Microsystems, Inc. and is provided for
1129 unrestricted use provided that this legend is included on all tape
1130 media and as a part of the software program in whole or part.  Users
1131 may copy or modify Sun RPC without charge, but are not authorized
1132 to license or distribute it to anyone else except as part of a product or
1133 program developed by the user.
1135 SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
1136 WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
1137 PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
1139 Sun RPC is provided with no support and without any obligation on the
1140 part of Sun Microsystems, Inc. to assist in its use, correction,
1141 modification or enhancement.
1143 SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
1144 INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
1145 OR ANY PART THEREOF.
1147 In no event will Sun Microsystems, Inc. be liable for any lost revenue
1148 or profits or other special, indirect and consequential damages, even if
1149 Sun has been advised of the possibility of such damages.
1151 Sun Microsystems, Inc.
1152 2550 Garcia Avenue
1153 Mountain View, California  94043
1156 10. Sun FDLIBM (Freely Distributable Maths Library)
1157 ===================================================
1159     Files: src/gromacs/math/utilities.c
1161 Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
1163 Developed at SunSoft, a Sun Microsystems, Inc. business.
1164 Permission to use, copy, modify, and distribute this
1165 software is freely granted, provided that this notice
1166 is preserved.
1169 11. ThreeFry Random Engine
1170 ============================================
1172 Based on proposed Boost implementations by
1173 a) John Salmon, Copyright 2010-2014 by D. E. Shaw Research
1174 b) Thijs van den Berg, Copyright (c) 2014 M.A. (Thijs) van den Berg
1176 Boost Software License - Version 1.0 - August 17th, 2003
1178 Permission is hereby granted, free of charge, to any person or organization
1179 obtaining a copy of the software and accompanying documentation covered by
1180 this license (the "Software") to use, reproduce, display, distribute,
1181 execute, and transmit the Software, and to prepare derivative works of the
1182 Software, and to permit third-parties to whom the Software is furnished to
1183 do so, all subject to the following:
1185 The copyright notices in the Software and this entire statement, including
1186 the above license grant, this restriction and the following disclaimer,
1187 must be included in all copies of the Software, in whole or in part, and
1188 all derivative works of the Software, unless such copies or derivative
1189 works are solely in the form of machine-executable object code generated by
1190 a source language processor.
1192 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1193 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1194 FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
1195 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
1196 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
1197 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1198 DEALINGS IN THE SOFTWARE.
1200 12. Gamma distribution from libc++
1201 ============================================
1203 Copyright (c) The LLVM compiler infrastructure
1205 Permission is hereby granted, free of charge, to any person obtaining a copy
1206 of this software and associated documentation files (the "Software"), to deal
1207 in the Software without restriction, including without limitation the rights
1208 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1209 copies of the Software, and to permit persons to whom the Software is
1210 furnished to do so, subject to the following conditions:
1212 The above copyright notice and this permission notice shall be included in
1213 all copies or substantial portions of the Software.
1215 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1216 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1217 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1218 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1219 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1220 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1221 THE SOFTWARE.
1224 13. md5
1225 ============================================
1227 Copyright (C) 1999, 2002 Aladdin Enterprises.  All rights reserved.
1229 This software is provided 'as-is', without any express or implied
1230 warranty.  In no event will the authors be held liable for any damages
1231 arising from the use of this software.
1233 Permission is granted to anyone to use this software for any purpose,
1234 including commercial applications, and to alter it and redistribute it
1235 freely, subject to the following restrictions:
1237 1. The origin of this software must not be misrepresented; you must not
1238   claim that you wrote the original software. If you use this software
1239   in a product, an acknowledgment in the product documentation would be
1240   appreciated but is not required.
1241 2. Altered source versions must be plainly marked as such, and must not be
1242   misrepresented as being the original software.
1243 3. This notice may not be removed or altered from any source distribution.
1245 L. Peter Deutsch
1246 ghost@aladdin.com
1248 14. lmfit
1249 ============================================
1250 The package lmfit is distributed under the FreeBSD License:
1253   Copyright (c) 1980-1999 University of Chicago,
1254                           as operator of Argonne National Laboratory
1255   Copyright (c) 2004-2015 Joachim Wuttke, Forschungszentrum Juelich GmbH
1257   All rights reserved.
1259   Redistribution and use in source and binary forms, with or without
1260   modification, are permitted provided that the following conditions are met:
1262   - Redistributions of source code must retain the above copyright notice,
1263     this list of conditions and the following disclaimer.
1264   - Redistributions in binary form must reproduce the above copyright notice,
1265     this list of conditions and the following disclaimer in the documentation
1266     and/or other materials provided with the distribution.
1268   This software is provided by the copyright holders and contributors "as is"
1269   and any express or implied warranties, including, but not limited to, the
1270   implied warranties of merchantability and fitness for a particular purpose
1271   are disclaimed. In no event shall the copyright holder or contributors
1272   be liable for any direct, indirect, incidental, special, exemplary, or
1273   consequential damages (including, but not limited to, procurement of
1274   substitute goods or services; loss of use, data, or profits; or business
1275   interruption) however caused and on any theory of liability, whether in
1276   contract, strict liability, or tort (including negligence or otherwise)
1277   arising in any way out of the use of this software, even if advised of the
1278   possibility of such damage.
1281 15. clFFT
1282 ============================================
1284    Files: src/external/clFFT/*
1286 The source for clFFT is licensed under the Apache License, Version 2.0
1289 AMD clFFT
1290     Copyright 2013 Advanced Micro Devices, Inc.
1292     This product includes software developed at
1293     Advanced Micro Devices, Inc. (http://www.amd.com).
1296 15. Guidelines Support Library
1297 ============================================
1299    Files: src/gromacs/compat/pointers.h
1301 The source for the Guidelines Support Library (GSL) is licensed under
1302 the MIT license.
1305 Copyright (c) 2015 Microsoft Corporation. All rights reserved.
1307 This code is licensed under the MIT License (MIT).
1309 Permission is hereby granted, free of charge, to any person obtaining a copy
1310 of this software and associated documentation files (the "Software"), to deal
1311 in the Software without restriction, including without limitation the rights
1312 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
1313 of the Software, and to permit persons to whom the Software is furnished to do
1314 so, subject to the following conditions:
1316 The above copyright notice and this permission notice shall be included in all
1317 copies or substantial portions of the Software.
1319 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1320 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1321 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1322 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1323 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1324 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1325 THE SOFTWARE.
1328 17. P0009 reference implementation (Sandia Corporation)
1329 =======================================================
1331    Files: src/gromacs/mdspan/*
1333                          Kokkos v. 2.0
1334               Copyright (2014) Sandia Corporation
1336 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
1337 the U.S. Government retains certain rights in this software.
1339 Kokkos is licensed under 3-clause BSD terms of use:
1341 Redistribution and use in source and binary forms, with or without
1342 modification, are permitted provided that the following conditions are
1343 met:
1345 1. Redistributions of source code must retain the above copyright
1346 notice, this list of conditions and the following disclaimer.
1348 2. Redistributions in binary form must reproduce the above copyright
1349 notice, this list of conditions and the following disclaimer in the
1350 documentation and/or other materials provided with the distribution.
1352 3. Neither the name of the Corporation nor the names of the
1353 contributors may be used to endorse or promote products derived from
1354 this software without specific prior written permission.
1356 THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
1357 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1358 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1359 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
1360 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
1361 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
1362 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
1363 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
1364 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
1365 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1366 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1368 Questions? Contact Christian R. Trott (crtrott@sandia.gov)
1370 18. pybind11 release 2.2.4 from https://github.com/pybind/pybind11
1371 ==================================================================
1373     Files: python_packaging/src/external/pybind/*
1376 Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>, All rights reserved.
1378 Redistribution and use in source and binary forms, with or without
1379 modification, are permitted provided that the following conditions are met:
1381 1. Redistributions of source code must retain the above copyright notice, this
1382    list of conditions and the following disclaimer.
1384 2. Redistributions in binary form must reproduce the above copyright notice,
1385    this list of conditions and the following disclaimer in the documentation
1386    and/or other materials provided with the distribution.
1388 3. Neither the name of the copyright holder nor the names of its contributors
1389    may be used to endorse or promote products derived from this software
1390    without specific prior written permission.
1392 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1393 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1394 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1395 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
1396 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1397 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1398 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1399 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1400 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1401 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1403 Please also refer to the file CONTRIBUTING.md, which clarifies licensing of
1404 external contributions to this project including patches, pull requests, etc.