Fix pdb-related issues
[gromacs.git] / COPYING
blobee7c4c0d50bd60c9eb141a9d5296cd7e95957225
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
30 19. Reference implementation of std::string_view
32 Our chosen method for packaging distributions (CPack) only permits a
33 package to have a single license file, so we are unfortunately forced
34 to combine all of this information into a single license file. Sorry
35 about that.
37 ============================================
39 1. GROMACS
40 ==========
42 As our use of the LGPL conveys upon a licensee the option to
43 redistribute the library under the terms of the plain GPL, we must
44 include a copy of that GPL for their reference. The applicable GPL
45 license comes after the applicable LGPL license in this file.
47 ============================================
49                   GNU LESSER GENERAL PUBLIC LICENSE
50                        Version 2.1, February 1999
52  Copyright (C) 1991, 1999 Free Software Foundation, Inc.
53  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
54  Everyone is permitted to copy and distribute verbatim copies
55  of this license document, but changing it is not allowed.
57 [This is the first released version of the Lesser GPL.  It also counts
58  as the successor of the GNU Library Public License, version 2, hence
59  the version number 2.1.]
61                             Preamble
63   The licenses for most software are designed to take away your
64 freedom to share and change it.  By contrast, the GNU General Public
65 Licenses are intended to guarantee your freedom to share and change
66 free software--to make sure the software is free for all its users.
68   This license, the Lesser General Public License, applies to some
69 specially designated software packages--typically libraries--of the
70 Free Software Foundation and other authors who decide to use it.  You
71 can use it too, but we suggest you first think carefully about whether
72 this license or the ordinary General Public License is the better
73 strategy to use in any particular case, based on the explanations below.
75   When we speak of free software, we are referring to freedom of use,
76 not price.  Our General Public Licenses are designed to make sure that
77 you have the freedom to distribute copies of free software (and charge
78 for this service if you wish); that you receive source code or can get
79 it if you want it; that you can change the software and use pieces of
80 it in new free programs; and that you are informed that you can do
81 these things.
83   To protect your rights, we need to make restrictions that forbid
84 distributors to deny you these rights or to ask you to surrender these
85 rights.  These restrictions translate to certain responsibilities for
86 you if you distribute copies of the library or if you modify it.
88   For example, if you distribute copies of the library, whether gratis
89 or for a fee, you must give the recipients all the rights that we gave
90 you.  You must make sure that they, too, receive or can get the source
91 code.  If you link other code with the library, you must provide
92 complete object files to the recipients, so that they can relink them
93 with the library after making changes to the library and recompiling
94 it.  And you must show them these terms so they know their rights.
96   We protect your rights with a two-step method: (1) we copyright the
97 library, and (2) we offer you this license, which gives you legal
98 permission to copy, distribute and/or modify the library.
100   To protect each distributor, we want to make it very clear that
101 there is no warranty for the free library.  Also, if the library is
102 modified by someone else and passed on, the recipients should know
103 that what they have is not the original version, so that the original
104 author's reputation will not be affected by problems that might be
105 introduced by others.
107   Finally, software patents pose a constant threat to the existence of
108 any free program.  We wish to make sure that a company cannot
109 effectively restrict the users of a free program by obtaining a
110 restrictive license from a patent holder.  Therefore, we insist that
111 any patent license obtained for a version of the library must be
112 consistent with the full freedom of use specified in this license.
114   Most GNU software, including some libraries, is covered by the
115 ordinary GNU General Public License.  This license, the GNU Lesser
116 General Public License, applies to certain designated libraries, and
117 is quite different from the ordinary General Public License.  We use
118 this license for certain libraries in order to permit linking those
119 libraries into non-free programs.
121   When a program is linked with a library, whether statically or using
122 a shared library, the combination of the two is legally speaking a
123 combined work, a derivative of the original library.  The ordinary
124 General Public License therefore permits such linking only if the
125 entire combination fits its criteria of freedom.  The Lesser General
126 Public License permits more lax criteria for linking other code with
127 the library.
129   We call this license the "Lesser" General Public License because it
130 does Less to protect the user's freedom than the ordinary General
131 Public License.  It also provides other free software developers Less
132 of an advantage over competing non-free programs.  These disadvantages
133 are the reason we use the ordinary General Public License for many
134 libraries.  However, the Lesser license provides advantages in certain
135 special circumstances.
137   For example, on rare occasions, there may be a special need to
138 encourage the widest possible use of a certain library, so that it becomes
139 a de-facto standard.  To achieve this, non-free programs must be
140 allowed to use the library.  A more frequent case is that a free
141 library does the same job as widely used non-free libraries.  In this
142 case, there is little to gain by limiting the free library to free
143 software only, so we use the Lesser General Public License.
145   In other cases, permission to use a particular library in non-free
146 programs enables a greater number of people to use a large body of
147 free software.  For example, permission to use the GNU C Library in
148 non-free programs enables many more people to use the whole GNU
149 operating system, as well as its variant, the GNU/Linux operating
150 system.
152   Although the Lesser General Public License is Less protective of the
153 users' freedom, it does ensure that the user of a program that is
154 linked with the Library has the freedom and the wherewithal to run
155 that program using a modified version of the Library.
157   The precise terms and conditions for copying, distribution and
158 modification follow.  Pay close attention to the difference between a
159 "work based on the library" and a "work that uses the library".  The
160 former contains code derived from the library, whereas the latter must
161 be combined with the library in order to run.
163                   GNU LESSER GENERAL PUBLIC LICENSE
164    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
166   0. This License Agreement applies to any software library or other
167 program which contains a notice placed by the copyright holder or
168 other authorized party saying it may be distributed under the terms of
169 this Lesser General Public License (also called "this License").
170 Each licensee is addressed as "you".
172   A "library" means a collection of software functions and/or data
173 prepared so as to be conveniently linked with application programs
174 (which use some of those functions and data) to form executables.
176   The "Library", below, refers to any such software library or work
177 which has been distributed under these terms.  A "work based on the
178 Library" means either the Library or any derivative work under
179 copyright law: that is to say, a work containing the Library or a
180 portion of it, either verbatim or with modifications and/or translated
181 straightforwardly into another language.  (Hereinafter, translation is
182 included without limitation in the term "modification".)
184   "Source code" for a work means the preferred form of the work for
185 making modifications to it.  For a library, complete source code means
186 all the source code for all modules it contains, plus any associated
187 interface definition files, plus the scripts used to control compilation
188 and installation of the library.
190   Activities other than copying, distribution and modification are not
191 covered by this License; they are outside its scope.  The act of
192 running a program using the Library is not restricted, and output from
193 such a program is covered only if its contents constitute a work based
194 on the Library (independent of the use of the Library in a tool for
195 writing it).  Whether that is true depends on what the Library does
196 and what the program that uses the Library does.
198   1. You may copy and distribute verbatim copies of the Library's
199 complete source code as you receive it, in any medium, provided that
200 you conspicuously and appropriately publish on each copy an
201 appropriate copyright notice and disclaimer of warranty; keep intact
202 all the notices that refer to this License and to the absence of any
203 warranty; and distribute a copy of this License along with the
204 Library.
206   You may charge a fee for the physical act of transferring a copy,
207 and you may at your option offer warranty protection in exchange for a
208 fee.
210   2. You may modify your copy or copies of the Library or any portion
211 of it, thus forming a work based on the Library, and copy and
212 distribute such modifications or work under the terms of Section 1
213 above, provided that you also meet all of these conditions:
215     a) The modified work must itself be a software library.
217     b) You must cause the files modified to carry prominent notices
218     stating that you changed the files and the date of any change.
220     c) You must cause the whole of the work to be licensed at no
221     charge to all third parties under the terms of this License.
223     d) If a facility in the modified Library refers to a function or a
224     table of data to be supplied by an application program that uses
225     the facility, other than as an argument passed when the facility
226     is invoked, then you must make a good faith effort to ensure that,
227     in the event an application does not supply such function or
228     table, the facility still operates, and performs whatever part of
229     its purpose remains meaningful.
231     (For example, a function in a library to compute square roots has
232     a purpose that is entirely well-defined independent of the
233     application.  Therefore, Subsection 2d requires that any
234     application-supplied function or table used by this function must
235     be optional: if the application does not supply it, the square
236     root function must still compute square roots.)
238 These requirements apply to the modified work as a whole.  If
239 identifiable sections of that work are not derived from the Library,
240 and can be reasonably considered independent and separate works in
241 themselves, then this License, and its terms, do not apply to those
242 sections when you distribute them as separate works.  But when you
243 distribute the same sections as part of a whole which is a work based
244 on the Library, the distribution of the whole must be on the terms of
245 this License, whose permissions for other licensees extend to the
246 entire whole, and thus to each and every part regardless of who wrote
249 Thus, it is not the intent of this section to claim rights or contest
250 your rights to work written entirely by you; rather, the intent is to
251 exercise the right to control the distribution of derivative or
252 collective works based on the Library.
254 In addition, mere aggregation of another work not based on the Library
255 with the Library (or with a work based on the Library) on a volume of
256 a storage or distribution medium does not bring the other work under
257 the scope of this License.
259   3. You may opt to apply the terms of the ordinary GNU General Public
260 License instead of this License to a given copy of the Library.  To do
261 this, you must alter all the notices that refer to this License, so
262 that they refer to the ordinary GNU General Public License, version 2,
263 instead of to this License.  (If a newer version than version 2 of the
264 ordinary GNU General Public License has appeared, then you can specify
265 that version instead if you wish.)  Do not make any other change in
266 these notices.
268   Once this change is made in a given copy, it is irreversible for
269 that copy, so the ordinary GNU General Public License applies to all
270 subsequent copies and derivative works made from that copy.
272   This option is useful when you wish to copy part of the code of
273 the Library into a program that is not a library.
275   4. You may copy and distribute the Library (or a portion or
276 derivative of it, under Section 2) in object code or executable form
277 under the terms of Sections 1 and 2 above provided that you accompany
278 it with the complete corresponding machine-readable source code, which
279 must be distributed under the terms of Sections 1 and 2 above on a
280 medium customarily used for software interchange.
282   If distribution of object code is made by offering access to copy
283 from a designated place, then offering equivalent access to copy the
284 source code from the same place satisfies the requirement to
285 distribute the source code, even though third parties are not
286 compelled to copy the source along with the object code.
288   5. A program that contains no derivative of any portion of the
289 Library, but is designed to work with the Library by being compiled or
290 linked with it, is called a "work that uses the Library".  Such a
291 work, in isolation, is not a derivative work of the Library, and
292 therefore falls outside the scope of this License.
294   However, linking a "work that uses the Library" with the Library
295 creates an executable that is a derivative of the Library (because it
296 contains portions of the Library), rather than a "work that uses the
297 library".  The executable is therefore covered by this License.
298 Section 6 states terms for distribution of such executables.
300   When a "work that uses the Library" uses material from a header file
301 that is part of the Library, the object code for the work may be a
302 derivative work of the Library even though the source code is not.
303 Whether this is true is especially significant if the work can be
304 linked without the Library, or if the work is itself a library.  The
305 threshold for this to be true is not precisely defined by law.
307   If such an object file uses only numerical parameters, data
308 structure layouts and accessors, and small macros and small inline
309 functions (ten lines or less in length), then the use of the object
310 file is unrestricted, regardless of whether it is legally a derivative
311 work.  (Executables containing this object code plus portions of the
312 Library will still fall under Section 6.)
314   Otherwise, if the work is a derivative of the Library, you may
315 distribute the object code for the work under the terms of Section 6.
316 Any executables containing that work also fall under Section 6,
317 whether or not they are linked directly with the Library itself.
319   6. As an exception to the Sections above, you may also combine or
320 link a "work that uses the Library" with the Library to produce a
321 work containing portions of the Library, and distribute that work
322 under terms of your choice, provided that the terms permit
323 modification of the work for the customer's own use and reverse
324 engineering for debugging such modifications.
326   You must give prominent notice with each copy of the work that the
327 Library is used in it and that the Library and its use are covered by
328 this License.  You must supply a copy of this License.  If the work
329 during execution displays copyright notices, you must include the
330 copyright notice for the Library among them, as well as a reference
331 directing the user to the copy of this License.  Also, you must do one
332 of these things:
334     a) Accompany the work with the complete corresponding
335     machine-readable source code for the Library including whatever
336     changes were used in the work (which must be distributed under
337     Sections 1 and 2 above); and, if the work is an executable linked
338     with the Library, with the complete machine-readable "work that
339     uses the Library", as object code and/or source code, so that the
340     user can modify the Library and then relink to produce a modified
341     executable containing the modified Library.  (It is understood
342     that the user who changes the contents of definitions files in the
343     Library will not necessarily be able to recompile the application
344     to use the modified definitions.)
346     b) Use a suitable shared library mechanism for linking with the
347     Library.  A suitable mechanism is one that (1) uses at run time a
348     copy of the library already present on the user's computer system,
349     rather than copying library functions into the executable, and (2)
350     will operate properly with a modified version of the library, if
351     the user installs one, as long as the modified version is
352     interface-compatible with the version that the work was made with.
354     c) Accompany the work with a written offer, valid for at
355     least three years, to give the same user the materials
356     specified in Subsection 6a, above, for a charge no more
357     than the cost of performing this distribution.
359     d) If distribution of the work is made by offering access to copy
360     from a designated place, offer equivalent access to copy the above
361     specified materials from the same place.
363     e) Verify that the user has already received a copy of these
364     materials or that you have already sent this user a copy.
366   For an executable, the required form of the "work that uses the
367 Library" must include any data and utility programs needed for
368 reproducing the executable from it.  However, as a special exception,
369 the materials to be distributed need not include anything that is
370 normally distributed (in either source or binary form) with the major
371 components (compiler, kernel, and so on) of the operating system on
372 which the executable runs, unless that component itself accompanies
373 the executable.
375   It may happen that this requirement contradicts the license
376 restrictions of other proprietary libraries that do not normally
377 accompany the operating system.  Such a contradiction means you cannot
378 use both them and the Library together in an executable that you
379 distribute.
381   7. You may place library facilities that are a work based on the
382 Library side-by-side in a single library together with other library
383 facilities not covered by this License, and distribute such a combined
384 library, provided that the separate distribution of the work based on
385 the Library and of the other library facilities is otherwise
386 permitted, and provided that you do these two things:
388     a) Accompany the combined library with a copy of the same work
389     based on the Library, uncombined with any other library
390     facilities.  This must be distributed under the terms of the
391     Sections above.
393     b) Give prominent notice with the combined library of the fact
394     that part of it is a work based on the Library, and explaining
395     where to find the accompanying uncombined form of the same work.
397   8. You may not copy, modify, sublicense, link with, or distribute
398 the Library except as expressly provided under this License.  Any
399 attempt otherwise to copy, modify, sublicense, link with, or
400 distribute the Library is void, and will automatically terminate your
401 rights under this License.  However, parties who have received copies,
402 or rights, from you under this License will not have their licenses
403 terminated so long as such parties remain in full compliance.
405   9. You are not required to accept this License, since you have not
406 signed it.  However, nothing else grants you permission to modify or
407 distribute the Library or its derivative works.  These actions are
408 prohibited by law if you do not accept this License.  Therefore, by
409 modifying or distributing the Library (or any work based on the
410 Library), you indicate your acceptance of this License to do so, and
411 all its terms and conditions for copying, distributing or modifying
412 the Library or works based on it.
414   10. Each time you redistribute the Library (or any work based on the
415 Library), the recipient automatically receives a license from the
416 original licensor to copy, distribute, link with or modify the Library
417 subject to these terms and conditions.  You may not impose any further
418 restrictions on the recipients' exercise of the rights granted herein.
419 You are not responsible for enforcing compliance by third parties with
420 this License.
422   11. If, as a consequence of a court judgment or allegation of patent
423 infringement or for any other reason (not limited to patent issues),
424 conditions are imposed on you (whether by court order, agreement or
425 otherwise) that contradict the conditions of this License, they do not
426 excuse you from the conditions of this License.  If you cannot
427 distribute so as to satisfy simultaneously your obligations under this
428 License and any other pertinent obligations, then as a consequence you
429 may not distribute the Library at all.  For example, if a patent
430 license would not permit royalty-free redistribution of the Library by
431 all those who receive copies directly or indirectly through you, then
432 the only way you could satisfy both it and this License would be to
433 refrain entirely from distribution of the Library.
435 If any portion of this section is held invalid or unenforceable under any
436 particular circumstance, the balance of the section is intended to apply,
437 and the section as a whole is intended to apply in other circumstances.
439 It is not the purpose of this section to induce you to infringe any
440 patents or other property right claims or to contest validity of any
441 such claims; this section has the sole purpose of protecting the
442 integrity of the free software distribution system which is
443 implemented by public license practices.  Many people have made
444 generous contributions to the wide range of software distributed
445 through that system in reliance on consistent application of that
446 system; it is up to the author/donor to decide if he or she is willing
447 to distribute software through any other system and a licensee cannot
448 impose that choice.
450 This section is intended to make thoroughly clear what is believed to
451 be a consequence of the rest of this License.
453   12. If the distribution and/or use of the Library is restricted in
454 certain countries either by patents or by copyrighted interfaces, the
455 original copyright holder who places the Library under this License may add
456 an explicit geographical distribution limitation excluding those countries,
457 so that distribution is permitted only in or among countries not thus
458 excluded.  In such case, this License incorporates the limitation as if
459 written in the body of this License.
461   13. The Free Software Foundation may publish revised and/or new
462 versions of the Lesser General Public License from time to time.
463 Such new versions will be similar in spirit to the present version,
464 but may differ in detail to address new problems or concerns.
466 Each version is given a distinguishing version number.  If the Library
467 specifies a version number of this License which applies to it and
468 "any later version", you have the option of following the terms and
469 conditions either of that version or of any later version published by
470 the Free Software Foundation.  If the Library does not specify a
471 license version number, you may choose any version ever published by
472 the Free Software Foundation.
474   14. If you wish to incorporate parts of the Library into other free
475 programs whose distribution conditions are incompatible with these,
476 write to the author to ask for permission.  For software which is
477 copyrighted by the Free Software Foundation, write to the Free
478 Software Foundation; we sometimes make exceptions for this.  Our
479 decision will be guided by the two goals of preserving the free status
480 of all derivatives of our free software and of promoting the sharing
481 and reuse of software generally.
483                             NO WARRANTY
485   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
486 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
487 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
488 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
489 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
490 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
491 PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
492 LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
493 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
495   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
496 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
497 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
498 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
499 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
500 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
501 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
502 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
503 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
504 DAMAGES.
506                      END OF TERMS AND CONDITIONS
508            How to Apply These Terms to Your New Libraries
510   If you develop a new library, and you want it to be of the greatest
511 possible use to the public, we recommend making it free software that
512 everyone can redistribute and change.  You can do so by permitting
513 redistribution under these terms (or, alternatively, under the terms of the
514 ordinary General Public License).
516   To apply these terms, attach the following notices to the library.  It is
517 safest to attach them to the start of each source file to most effectively
518 convey the exclusion of warranty; and each file should have at least the
519 "copyright" line and a pointer to where the full notice is found.
521     <one line to give the library's name and a brief idea of what it does.>
522     Copyright (C) <year>  <name of author>
524     This library is free software; you can redistribute it and/or
525     modify it under the terms of the GNU Lesser General Public
526     License as published by the Free Software Foundation; either
527     version 2.1 of the License, or (at your option) any later version.
529     This library is distributed in the hope that it will be useful,
530     but WITHOUT ANY WARRANTY; without even the implied warranty of
531     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
532     Lesser General Public License for more details.
534     You should have received a copy of the GNU Lesser General Public
535     License along with this library; if not, write to the Free Software
536     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
538 Also add information on how to contact you by electronic and paper mail.
540 You should also get your employer (if you work as a programmer) or your
541 school, if any, to sign a "copyright disclaimer" for the library, if
542 necessary.  Here is a sample; alter the names:
544   Yoyodyne, Inc., hereby disclaims all copyright interest in the
545   library `Frob' (a library for tweaking knobs) written by James Random Hacker.
547   <signature of Ty Coon>, 1 April 1990
548   Ty Coon, President of Vice
550 That's all there is to it!
552 ============================================
554                     GNU GENERAL PUBLIC LICENSE
555                        Version 2, June 1991
557  Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
558  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
559  Everyone is permitted to copy and distribute verbatim copies
560  of this license document, but changing it is not allowed.
562                             Preamble
564   The licenses for most software are designed to take away your
565 freedom to share and change it.  By contrast, the GNU General Public
566 License is intended to guarantee your freedom to share and change free
567 software--to make sure the software is free for all its users.  This
568 General Public License applies to most of the Free Software
569 Foundation's software and to any other program whose authors commit to
570 using it.  (Some other Free Software Foundation software is covered by
571 the GNU Lesser General Public License instead.)  You can apply it to
572 your programs, too.
574   When we speak of free software, we are referring to freedom, not
575 price.  Our General Public Licenses are designed to make sure that you
576 have the freedom to distribute copies of free software (and charge for
577 this service if you wish), that you receive source code or can get it
578 if you want it, that you can change the software or use pieces of it
579 in new free programs; and that you know you can do these things.
581   To protect your rights, we need to make restrictions that forbid
582 anyone to deny you these rights or to ask you to surrender the rights.
583 These restrictions translate to certain responsibilities for you if you
584 distribute copies of the software, or if you modify it.
586   For example, if you distribute copies of such a program, whether
587 gratis or for a fee, you must give the recipients all the rights that
588 you have.  You must make sure that they, too, receive or can get the
589 source code.  And you must show them these terms so they know their
590 rights.
592   We protect your rights with two steps: (1) copyright the software, and
593 (2) offer you this license which gives you legal permission to copy,
594 distribute and/or modify the software.
596   Also, for each author's protection and ours, we want to make certain
597 that everyone understands that there is no warranty for this free
598 software.  If the software is modified by someone else and passed on, we
599 want its recipients to know that what they have is not the original, so
600 that any problems introduced by others will not reflect on the original
601 authors' reputations.
603   Finally, any free program is threatened constantly by software
604 patents.  We wish to avoid the danger that redistributors of a free
605 program will individually obtain patent licenses, in effect making the
606 program proprietary.  To prevent this, we have made it clear that any
607 patent must be licensed for everyone's free use or not licensed at all.
609   The precise terms and conditions for copying, distribution and
610 modification follow.
612                     GNU GENERAL PUBLIC LICENSE
613    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
615   0. This License applies to any program or other work which contains
616 a notice placed by the copyright holder saying it may be distributed
617 under the terms of this General Public License.  The "Program", below,
618 refers to any such program or work, and a "work based on the Program"
619 means either the Program or any derivative work under copyright law:
620 that is to say, a work containing the Program or a portion of it,
621 either verbatim or with modifications and/or translated into another
622 language.  (Hereinafter, translation is included without limitation in
623 the term "modification".)  Each licensee is addressed as "you".
625 Activities other than copying, distribution and modification are not
626 covered by this License; they are outside its scope.  The act of
627 running the Program is not restricted, and the output from the Program
628 is covered only if its contents constitute a work based on the
629 Program (independent of having been made by running the Program).
630 Whether that is true depends on what the Program does.
632   1. You may copy and distribute verbatim copies of the Program's
633 source code as you receive it, in any medium, provided that you
634 conspicuously and appropriately publish on each copy an appropriate
635 copyright notice and disclaimer of warranty; keep intact all the
636 notices that refer to this License and to the absence of any warranty;
637 and give any other recipients of the Program a copy of this License
638 along with the Program.
640 You may charge a fee for the physical act of transferring a copy, and
641 you may at your option offer warranty protection in exchange for a fee.
643   2. You may modify your copy or copies of the Program or any portion
644 of it, thus forming a work based on the Program, and copy and
645 distribute such modifications or work under the terms of Section 1
646 above, provided that you also meet all of these conditions:
648     a) You must cause the modified files to carry prominent notices
649     stating that you changed the files and the date of any change.
651     b) You must cause any work that you distribute or publish, that in
652     whole or in part contains or is derived from the Program or any
653     part thereof, to be licensed as a whole at no charge to all third
654     parties under the terms of this License.
656     c) If the modified program normally reads commands interactively
657     when run, you must cause it, when started running for such
658     interactive use in the most ordinary way, to print or display an
659     announcement including an appropriate copyright notice and a
660     notice that there is no warranty (or else, saying that you provide
661     a warranty) and that users may redistribute the program under
662     these conditions, and telling the user how to view a copy of this
663     License.  (Exception: if the Program itself is interactive but
664     does not normally print such an announcement, your work based on
665     the Program is not required to print an announcement.)
667 These requirements apply to the modified work as a whole.  If
668 identifiable sections of that work are not derived from the Program,
669 and can be reasonably considered independent and separate works in
670 themselves, then this License, and its terms, do not apply to those
671 sections when you distribute them as separate works.  But when you
672 distribute the same sections as part of a whole which is a work based
673 on the Program, the distribution of the whole must be on the terms of
674 this License, whose permissions for other licensees extend to the
675 entire whole, and thus to each and every part regardless of who wrote it.
677 Thus, it is not the intent of this section to claim rights or contest
678 your rights to work written entirely by you; rather, the intent is to
679 exercise the right to control the distribution of derivative or
680 collective works based on the Program.
682 In addition, mere aggregation of another work not based on the Program
683 with the Program (or with a work based on the Program) on a volume of
684 a storage or distribution medium does not bring the other work under
685 the scope of this License.
687   3. You may copy and distribute the Program (or a work based on it,
688 under Section 2) in object code or executable form under the terms of
689 Sections 1 and 2 above provided that you also do one of the following:
691     a) Accompany it with the complete corresponding machine-readable
692     source code, which must be distributed under the terms of Sections
693     1 and 2 above on a medium customarily used for software interchange; or,
695     b) Accompany it with a written offer, valid for at least three
696     years, to give any third party, for a charge no more than your
697     cost of physically performing source distribution, a complete
698     machine-readable copy of the corresponding source code, to be
699     distributed under the terms of Sections 1 and 2 above on a medium
700     customarily used for software interchange; or,
702     c) Accompany it with the information you received as to the offer
703     to distribute corresponding source code.  (This alternative is
704     allowed only for noncommercial distribution and only if you
705     received the program in object code or executable form with such
706     an offer, in accord with Subsection b above.)
708 The source code for a work means the preferred form of the work for
709 making modifications to it.  For an executable work, complete source
710 code means all the source code for all modules it contains, plus any
711 associated interface definition files, plus the scripts used to
712 control compilation and installation of the executable.  However, as a
713 special exception, the source code distributed need not include
714 anything that is normally distributed (in either source or binary
715 form) with the major components (compiler, kernel, and so on) of the
716 operating system on which the executable runs, unless that component
717 itself accompanies the executable.
719 If distribution of executable or object code is made by offering
720 access to copy from a designated place, then offering equivalent
721 access to copy the source code from the same place counts as
722 distribution of the source code, even though third parties are not
723 compelled to copy the source along with the object code.
725   4. You may not copy, modify, sublicense, or distribute the Program
726 except as expressly provided under this License.  Any attempt
727 otherwise to copy, modify, sublicense or distribute the Program is
728 void, and will automatically terminate your rights under this License.
729 However, parties who have received copies, or rights, from you under
730 this License will not have their licenses terminated so long as such
731 parties remain in full compliance.
733   5. You are not required to accept this License, since you have not
734 signed it.  However, nothing else grants you permission to modify or
735 distribute the Program or its derivative works.  These actions are
736 prohibited by law if you do not accept this License.  Therefore, by
737 modifying or distributing the Program (or any work based on the
738 Program), you indicate your acceptance of this License to do so, and
739 all its terms and conditions for copying, distributing or modifying
740 the Program or works based on it.
742   6. Each time you redistribute the Program (or any work based on the
743 Program), the recipient automatically receives a license from the
744 original licensor to copy, distribute or modify the Program subject to
745 these terms and conditions.  You may not impose any further
746 restrictions on the recipients' exercise of the rights granted herein.
747 You are not responsible for enforcing compliance by third parties to
748 this License.
750   7. If, as a consequence of a court judgment or allegation of patent
751 infringement or for any other reason (not limited to patent issues),
752 conditions are imposed on you (whether by court order, agreement or
753 otherwise) that contradict the conditions of this License, they do not
754 excuse you from the conditions of this License.  If you cannot
755 distribute so as to satisfy simultaneously your obligations under this
756 License and any other pertinent obligations, then as a consequence you
757 may not distribute the Program at all.  For example, if a patent
758 license would not permit royalty-free redistribution of the Program by
759 all those who receive copies directly or indirectly through you, then
760 the only way you could satisfy both it and this License would be to
761 refrain entirely from distribution of the Program.
763 If any portion of this section is held invalid or unenforceable under
764 any particular circumstance, the balance of the section is intended to
765 apply and the section as a whole is intended to apply in other
766 circumstances.
768 It is not the purpose of this section to induce you to infringe any
769 patents or other property right claims or to contest validity of any
770 such claims; this section has the sole purpose of protecting the
771 integrity of the free software distribution system, which is
772 implemented by public license practices.  Many people have made
773 generous contributions to the wide range of software distributed
774 through that system in reliance on consistent application of that
775 system; it is up to the author/donor to decide if he or she is willing
776 to distribute software through any other system and a licensee cannot
777 impose that choice.
779 This section is intended to make thoroughly clear what is believed to
780 be a consequence of the rest of this License.
782   8. If the distribution and/or use of the Program is restricted in
783 certain countries either by patents or by copyrighted interfaces, the
784 original copyright holder who places the Program under this License
785 may add an explicit geographical distribution limitation excluding
786 those countries, so that distribution is permitted only in or among
787 countries not thus excluded.  In such case, this License incorporates
788 the limitation as if written in the body of this License.
790   9. The Free Software Foundation may publish revised and/or new versions
791 of the General Public License from time to time.  Such new versions will
792 be similar in spirit to the present version, but may differ in detail to
793 address new problems or concerns.
795 Each version is given a distinguishing version number.  If the Program
796 specifies a version number of this License which applies to it and "any
797 later version", you have the option of following the terms and conditions
798 either of that version or of any later version published by the Free
799 Software Foundation.  If the Program does not specify a version number of
800 this License, you may choose any version ever published by the Free Software
801 Foundation.
803   10. If you wish to incorporate parts of the Program into other free
804 programs whose distribution conditions are different, write to the author
805 to ask for permission.  For software which is copyrighted by the Free
806 Software Foundation, write to the Free Software Foundation; we sometimes
807 make exceptions for this.  Our decision will be guided by the two goals
808 of preserving the free status of all derivatives of our free software and
809 of promoting the sharing and reuse of software generally.
811                             NO WARRANTY
813   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
814 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
815 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
816 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
817 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
818 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
819 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
820 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
821 REPAIR OR CORRECTION.
823   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
824 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
825 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
826 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
827 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
828 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
829 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
830 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
831 POSSIBILITY OF SUCH DAMAGES.
833                      END OF TERMS AND CONDITIONS
835             How to Apply These Terms to Your New Programs
837   If you develop a new program, and you want it to be of the greatest
838 possible use to the public, the best way to achieve this is to make it
839 free software which everyone can redistribute and change under these terms.
841   To do so, attach the following notices to the program.  It is safest
842 to attach them to the start of each source file to most effectively
843 convey the exclusion of warranty; and each file should have at least
844 the "copyright" line and a pointer to where the full notice is found.
846     <one line to give the program's name and a brief idea of what it does.>
847     Copyright (C) <year>  <name of author>
849     This program is free software; you can redistribute it and/or modify
850     it under the terms of the GNU General Public License as published by
851     the Free Software Foundation; either version 2 of the License, or
852     (at your option) any later version.
854     This program is distributed in the hope that it will be useful,
855     but WITHOUT ANY WARRANTY; without even the implied warranty of
856     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
857     GNU General Public License for more details.
859     You should have received a copy of the GNU General Public License along
860     with this program; if not, write to the Free Software Foundation, Inc.,
861     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
863 Also add information on how to contact you by electronic and paper mail.
865 If the program is interactive, make it output a short notice like this
866 when it starts in an interactive mode:
868     Gnomovision version 69, Copyright (C) year name of author
869     Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
870     This is free software, and you are welcome to redistribute it
871     under certain conditions; type `show c' for details.
873 The hypothetical commands `show w' and `show c' should show the appropriate
874 parts of the General Public License.  Of course, the commands you use may
875 be called something other than `show w' and `show c'; they could even be
876 mouse-clicks or menu items--whatever suits your program.
878 You should also get your employer (if you work as a programmer) or your
879 school, if any, to sign a "copyright disclaimer" for the program, if
880 necessary.  Here is a sample; alter the names:
882   Yoyodyne, Inc., hereby disclaims all copyright interest in the program
883   `Gnomovision' (which makes passes at compilers) written by James Hacker.
885   <signature of Ty Coon>, 1 April 1989
886   Ty Coon, President of Vice
888 This General Public License does not permit incorporating your program into
889 proprietary programs.  If your program is a subroutine library, you may
890 consider it more useful to permit linking proprietary applications with the
891 library.  If this is what you want to do, use the GNU Lesser General
892 Public License instead of this License.
894 2. Trajectory file reading using VMD plugins
895 ============================================
897    Files: src/external/vmd_molfile/
898           src/gromacs/fileio/vmdio.c
900                 (C) Copyright 1995-2009 The Board of Trustees of the
901                             University of Illinois
902                              All Rights Reserved
904 Developed by:           Theoretical and Computational Biophysics Group
905                         University of Illinois at Urbana-Champaign
906                         http://www.ks.uiuc.edu/
908 Permission is hereby granted, free of charge, to any person obtaining a copy of
909 this software and associated documentation files (the Software), to deal with
910 the Software without restriction, including without limitation the rights to
911 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
912 of the Software, and to permit persons to whom the Software is furnished to
913 do so, subject to the following conditions:
915 Redistributions of source code must retain the above copyright notice,
916 this list of conditions and the following disclaimers.
918 Redistributions in binary form must reproduce the above copyright notice,
919 this list of conditions and the following disclaimers in the documentation
920 and/or other materials provided with the distribution.
922 Neither the names of Theoretical and Computational Biophysics Group,
923 University of Illinois at Urbana-Champaign, nor the names of its contributors
924 may be used to endorse or promote products derived from this Software without
925 specific prior written permission.
927 THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
928 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
929 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
930 THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
931 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
932 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
933 OTHER DEALINGS WITH THE SOFTWARE.
935 3. Internal FFT (ffpack)
936 ========================
938    Files: src/external/fftpack/fftpack.c
940 Copyright (c) 2005-2011, NumPy Developers.
941 All rights reserved.
943 Redistribution and use in source and binary forms, with or without
944 modification, are permitted provided that the following conditions are
945 met:
947     * Redistributions of source code must retain the above copyright
948        notice, this list of conditions and the following disclaimer.
950     * Redistributions in binary form must reproduce the above
951        copyright notice, this list of conditions and the following
952        disclaimer in the documentation and/or other materials provided
953        with the distribution.
955     * Neither the name of the NumPy Developers nor the names of any
956        contributors may be used to endorse or promote products derived
957        from this software without specific prior written permission.
959 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
960 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
961 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
962 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
963 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
964 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
965 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
966 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
967 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
968 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
969 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
971 fftpack.c : A set of FFT routines in C.
972 Algorithmically based on Fortran-77 FFTPACK by Paul N. Swarztrauber (Version 4, 1985).
974 4. thread_mpi
975 =============
977    Files: src/external/thread_mpi/
979 Copyright (c) 2009-2012, Sander Pronk & Erik Lindahl.
980 All rights reserved.
982 Redistribution and use in source and binary forms, with or without
983 modification, are permitted provided that the following conditions are met:
984 1) Redistributions of source code must retain the above copyright
985    notice, this list of conditions and the following disclaimer.
986 2) Redistributions in binary form must reproduce the above copyright
987    notice, this list of conditions and the following disclaimer in the
988    documentation and/or other materials provided with the distribution.
989 3) Neither the name of the <organization> nor the
990    names of its contributors may be used to endorse or promote products
991    derived from this software without specific prior written permission.
993 THIS SOFTWARE IS PROVIDED BY US ''AS IS'' AND ANY
994 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
995 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
996 DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
997 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
998 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
999 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1000 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1001 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1002 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1004 If you want to redistribute modifications, please consider that
1005 scientific software is very special. Version control is crucial -
1006 bugs must be traceable. We will be happy to consider code for
1007 inclusion in the official distribution, but derived work should not
1008 be called official thread_mpi.
1010 5. Blas
1011 =======
1013 These files are semi-automatic translations by f2c from the original netlib BLAS library.
1014 The source has been modified to (mostly) use modern C formatting, and to get rid of
1015 compiler warnings. Any errors in doing this should be blamed on the GROMACS developers, and
1016 not the reference BLAS implementation.
1018 The reference BLAS implementation is available from http://www.netlib.org/blas
1020 BLAS does not come with a formal named "license", but a general statement that
1022 "The reference BLAS is a freely-available software package. It is available from netlib
1023 via anonymous ftp and the World Wide Web. Thus, it can be included in commercial software
1024 packages (and has been). We only ask that proper credit be given to the authors."
1026 While the rest of GROMACS is LGPL, we think it's only fair to give you the same rights to
1027 our modified BLAS files as the original netlib versions, so do what you want with them.
1028 However, be warned that we have only tested that they do the right thing in the cases used
1029 in GROMACS (primarily full & sparse matrix diagonalization), so in most cases it is a much
1030 better idea to use the full reference implementation.
1032 Erik Lindahl, 2008-10-07.
1034 6. Lapack
1035 =========
1037 These files are semi-automatic translations by f2c from the original netlib LAPACK library.
1038 The source has been modified to (mostly) use modern C formatting, and to get rid of
1039 compiler warnings. Any errors in doing this should be blamed on the GROMACS developers, and
1040 not the reference LAPACK implementation.
1042 The reference LAPACK implementation is available from http://www.netlib.org/lapack
1044 LAPACK does not come with a formal named "license", but a general statement saying:
1046 "The reference LAPACK is a freely-available software package. It is available from netlib
1047 via anonymous ftp and the World Wide Web. Thus, it can be included in commercial software
1048 packages (and has been). We only ask that proper credit be given to the authors."
1050 While the rest of GROMACS is LGPL, we think it's only fair to give you the same rights to
1051 our modified LAPACK files as the original netlib versions, so do what you want with them.
1053 However, be warned that we have only tested that they do the right thing in the cases used
1054 in GROMACS (primarily full & sparse matrix diagonalization), so in most cases it is a much
1055 better idea to use the full reference implementation.
1057 Erik Lindahl, 2008-10-07.
1059 7. Parts of Boost C++ library
1060 =============================
1062    Files: src/gromacs/utility/current_function.h
1063           src/gromacs/utility/path.cpp
1065 Boost Software License - Version 1.0 - August 17th, 2003
1067 Permission is hereby granted, free of charge, to any person or organization
1068 obtaining a copy of the software and accompanying documentation covered by
1069 this license (the "Software") to use, reproduce, display, distribute,
1070 execute, and transmit the Software, and to prepare derivative works of the
1071 Software, and to permit third-parties to whom the Software is furnished to
1072 do so, all subject to the following:
1074 The copyright notices in the Software and this entire statement, including
1075 the above license grant, this restriction and the following disclaimer,
1076 must be included in all copies of the Software, in whole or in part, and
1077 all derivative works of the Software, unless such copies or derivative
1078 works are solely in the form of machine-executable object code generated by
1079 a source language processor.
1081 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1082 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1083 FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
1084 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
1085 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
1086 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1087 DEALINGS IN THE SOFTWARE.
1089 8. Google Test and Google Mock
1090 ===============================
1092    Files: src/external/gmock-1.7.0/*
1094 Copyright 2008, Google Inc.
1095 All rights reserved.
1097 Redistribution and use in source and binary forms, with or without
1098 modification, are permitted provided that the following conditions are
1099 met:
1101     * Redistributions of source code must retain the above copyright
1102 notice, this list of conditions and the following disclaimer.
1103     * Redistributions in binary form must reproduce the above
1104 copyright notice, this list of conditions and the following disclaimer
1105 in the documentation and/or other materials provided with the
1106 distribution.
1107     * Neither the name of Google Inc. nor the names of its
1108 contributors may be used to endorse or promote products derived from
1109 this software without specific prior written permission.
1111 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1112 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1113 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1114 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1115 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1116 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1117 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1118 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1119 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1120 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1121 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1124 9. Sun Extensible Data Representation routines (XDR)
1125 =====================================================
1127     Files: src/gromacs/fileio/gmx_system_xdr.c
1129 Sun RPC is a product of Sun Microsystems, Inc. and is provided for
1130 unrestricted use provided that this legend is included on all tape
1131 media and as a part of the software program in whole or part.  Users
1132 may copy or modify Sun RPC without charge, but are not authorized
1133 to license or distribute it to anyone else except as part of a product or
1134 program developed by the user.
1136 SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
1137 WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
1138 PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
1140 Sun RPC is provided with no support and without any obligation on the
1141 part of Sun Microsystems, Inc. to assist in its use, correction,
1142 modification or enhancement.
1144 SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
1145 INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
1146 OR ANY PART THEREOF.
1148 In no event will Sun Microsystems, Inc. be liable for any lost revenue
1149 or profits or other special, indirect and consequential damages, even if
1150 Sun has been advised of the possibility of such damages.
1152 Sun Microsystems, Inc.
1153 2550 Garcia Avenue
1154 Mountain View, California  94043
1157 10. Sun FDLIBM (Freely Distributable Maths Library)
1158 ===================================================
1160     Files: src/gromacs/math/utilities.c
1162 Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
1164 Developed at SunSoft, a Sun Microsystems, Inc. business.
1165 Permission to use, copy, modify, and distribute this
1166 software is freely granted, provided that this notice
1167 is preserved.
1170 11. ThreeFry Random Engine
1171 ============================================
1173 Based on proposed Boost implementations by
1174 a) John Salmon, Copyright 2010-2014 by D. E. Shaw Research
1175 b) Thijs van den Berg, Copyright (c) 2014 M.A. (Thijs) van den Berg
1177 Boost Software License - Version 1.0 - August 17th, 2003
1179 Permission is hereby granted, free of charge, to any person or organization
1180 obtaining a copy of the software and accompanying documentation covered by
1181 this license (the "Software") to use, reproduce, display, distribute,
1182 execute, and transmit the Software, and to prepare derivative works of the
1183 Software, and to permit third-parties to whom the Software is furnished to
1184 do so, all subject to the following:
1186 The copyright notices in the Software and this entire statement, including
1187 the above license grant, this restriction and the following disclaimer,
1188 must be included in all copies of the Software, in whole or in part, and
1189 all derivative works of the Software, unless such copies or derivative
1190 works are solely in the form of machine-executable object code generated by
1191 a source language processor.
1193 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1194 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1195 FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
1196 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
1197 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
1198 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1199 DEALINGS IN THE SOFTWARE.
1201 12. Gamma distribution from libc++
1202 ============================================
1204 Copyright (c) The LLVM compiler infrastructure
1206 Permission is hereby granted, free of charge, to any person obtaining a copy
1207 of this software and associated documentation files (the "Software"), to deal
1208 in the Software without restriction, including without limitation the rights
1209 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1210 copies of the Software, and to permit persons to whom the Software is
1211 furnished to do so, subject to the following conditions:
1213 The above copyright notice and this permission notice shall be included in
1214 all copies or substantial portions of the Software.
1216 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1217 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1218 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1219 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1220 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1221 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1222 THE SOFTWARE.
1225 13. md5
1226 ============================================
1228 Copyright (C) 1999, 2002 Aladdin Enterprises.  All rights reserved.
1230 This software is provided 'as-is', without any express or implied
1231 warranty.  In no event will the authors be held liable for any damages
1232 arising from the use of this software.
1234 Permission is granted to anyone to use this software for any purpose,
1235 including commercial applications, and to alter it and redistribute it
1236 freely, subject to the following restrictions:
1238 1. The origin of this software must not be misrepresented; you must not
1239   claim that you wrote the original software. If you use this software
1240   in a product, an acknowledgment in the product documentation would be
1241   appreciated but is not required.
1242 2. Altered source versions must be plainly marked as such, and must not be
1243   misrepresented as being the original software.
1244 3. This notice may not be removed or altered from any source distribution.
1246 L. Peter Deutsch
1247 ghost@aladdin.com
1249 14. lmfit
1250 ============================================
1251 The package lmfit is distributed under the FreeBSD License:
1254   Copyright (c) 1980-1999 University of Chicago,
1255                           as operator of Argonne National Laboratory
1256   Copyright (c) 2004-2015 Joachim Wuttke, Forschungszentrum Juelich GmbH
1258   All rights reserved.
1260   Redistribution and use in source and binary forms, with or without
1261   modification, are permitted provided that the following conditions are met:
1263   - Redistributions of source code must retain the above copyright notice,
1264     this list of conditions and the following disclaimer.
1265   - Redistributions in binary form must reproduce the above copyright notice,
1266     this list of conditions and the following disclaimer in the documentation
1267     and/or other materials provided with the distribution.
1269   This software is provided by the copyright holders and contributors "as is"
1270   and any express or implied warranties, including, but not limited to, the
1271   implied warranties of merchantability and fitness for a particular purpose
1272   are disclaimed. In no event shall the copyright holder or contributors
1273   be liable for any direct, indirect, incidental, special, exemplary, or
1274   consequential damages (including, but not limited to, procurement of
1275   substitute goods or services; loss of use, data, or profits; or business
1276   interruption) however caused and on any theory of liability, whether in
1277   contract, strict liability, or tort (including negligence or otherwise)
1278   arising in any way out of the use of this software, even if advised of the
1279   possibility of such damage.
1282 15. clFFT
1283 ============================================
1285    Files: src/external/clFFT/*
1287 The source for clFFT is licensed under the Apache License, Version 2.0
1290 AMD clFFT
1291     Copyright 2013 Advanced Micro Devices, Inc.
1293     This product includes software developed at
1294     Advanced Micro Devices, Inc. (http://www.amd.com).
1297 15. Guidelines Support Library
1298 ============================================
1300    Files: src/gromacs/compat/pointers.h
1302 The source for the Guidelines Support Library (GSL) is licensed under
1303 the MIT license.
1306 Copyright (c) 2015 Microsoft Corporation. All rights reserved.
1308 This code is licensed under the MIT License (MIT).
1310 Permission is hereby granted, free of charge, to any person obtaining a copy
1311 of this software and associated documentation files (the "Software"), to deal
1312 in the Software without restriction, including without limitation the rights
1313 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
1314 of the Software, and to permit persons to whom the Software is furnished to do
1315 so, subject to the following conditions:
1317 The above copyright notice and this permission notice shall be included in all
1318 copies or substantial portions of the Software.
1320 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1321 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1322 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1323 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1324 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1325 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1326 THE SOFTWARE.
1329 17. P0009 reference implementation (Sandia Corporation)
1330 =======================================================
1332    Files: src/gromacs/mdspan/*
1334                          Kokkos v. 2.0
1335               Copyright (2014) Sandia Corporation
1337 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
1338 the U.S. Government retains certain rights in this software.
1340 Kokkos is licensed under 3-clause BSD terms of use:
1342 Redistribution and use in source and binary forms, with or without
1343 modification, are permitted provided that the following conditions are
1344 met:
1346 1. Redistributions of source code must retain the above copyright
1347 notice, this list of conditions and the following disclaimer.
1349 2. Redistributions in binary form must reproduce the above copyright
1350 notice, this list of conditions and the following disclaimer in the
1351 documentation and/or other materials provided with the distribution.
1353 3. Neither the name of the Corporation nor the names of the
1354 contributors may be used to endorse or promote products derived from
1355 this software without specific prior written permission.
1357 THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
1358 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1359 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1360 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
1361 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
1362 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
1363 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
1364 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
1365 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
1366 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1367 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1369 Questions? Contact Christian R. Trott (crtrott@sandia.gov)
1371 18. pybind11 release 2.2.4 from https://github.com/pybind/pybind11
1372 ==================================================================
1374     Files: python_packaging/src/external/pybind/*
1377 Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>, All rights reserved.
1379 Redistribution and use in source and binary forms, with or without
1380 modification, are permitted provided that the following conditions are met:
1382 1. Redistributions of source code must retain the above copyright notice, this
1383    list of conditions and the following disclaimer.
1385 2. Redistributions in binary form must reproduce the above copyright notice,
1386    this list of conditions and the following disclaimer in the documentation
1387    and/or other materials provided with the distribution.
1389 3. Neither the name of the copyright holder nor the names of its contributors
1390    may be used to endorse or promote products derived from this software
1391    without specific prior written permission.
1393 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1394 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1395 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1396 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
1397 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1398 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1399 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1400 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1401 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1402 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1404 Please also refer to the file CONTRIBUTING.md, which clarifies licensing of
1405 external contributions to this project including patches, pull requests, etc.
1408 19. Reference implementation of std::string_view
1409 ================================================
1411 Used with minor modifications from commit bf5824916b6895ccab0dbc2431520ee3b6d4f27f of
1412 https://github.com/martinmoene/string-view-lite.git, which is licensed as
1413 below.
1415 Boost Software License - Version 1.0 - August 17th, 2003
1417 Permission is hereby granted, free of charge, to any person or organization
1418 obtaining a copy of the software and accompanying documentation covered by
1419 this license (the "Software") to use, reproduce, display, distribute,
1420 execute, and transmit the Software, and to prepare derivative works of the
1421 Software, and to permit third-parties to whom the Software is furnished to
1422 do so, all subject to the following:
1424 The copyright notices in the Software and this entire statement, including
1425 the above license grant, this restriction and the following disclaimer,
1426 must be included in all copies of the Software, in whole or in part, and
1427 all derivative works of the Software, unless such copies or derivative
1428 works are solely in the form of machine-executable object code generated by
1429 a source language processor.
1431 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1432 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1433 FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
1434 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
1435 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
1436 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1437 DEALINGS IN THE SOFTWARE.