+Most of the SimGrid software was written internally by the team. This
+software is distributed under the GNU lesser general public license
+version 2.1, which follows.
+
+Some perticular files distributed with the project have other
+licenses. More specifically, these files are listed at the end of this
+file (below the LGPL text), along with their license.
+
+=======================================================================
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
That's all there is to it!
-
+==========================================================================
+
+The file src/xbt/snprintf.c contains this license text:
+
+/*
+ * snprintf.c - a portable implementation of snprintf
+ *
+ * AUTHOR
+ * Mark Martinec <mark.martinec@ijs.si>, April 1999.
+ *
+ * Copyright 1999, Mark Martinec. All rights reserved.
+ *
+ * TERMS AND CONDITIONS
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the "Frontier Artistic License" which comes
+ * with this Kit.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the Frontier Artistic License for more details.
+ *
+ * You should have received a copy of the Frontier Artistic License
+ * with this Kit in the file named LICENSE.txt .
+ * If not, I'll be glad to provide one.
+ *
+ */
+
+=========================================================================
+
+The exception handling mecanism (mainly living in src/xbt/ex.c and
+include/xbt/ex.h) was adapted from code from Ralf S. Engelschall and
+others in the OSSP project. The OSSP version has the following license:
+
+** OSSP ex - Exception Handling
+** Copyright (c) 2002-2007 Ralf S. Engelschall <rse@engelschall.com>
+** Copyright (c) 2002-2007 The OSSP Project <http://www.ossp.org/>
+**
+** This file is part of OSSP ex, an exception handling library
+** which can be found at http://www.ossp.org/pkg/lib/ex/.
+**
+** Permission to use, copy, modify, and distribute this software for
+** any purpose with or without fee is hereby granted, provided that
+** the above copyright notice and this permission notice appear in all
+** copies.
+**
+** THIS SOFTWARE IS PROVIDED `AS IS'' AND ANY EXPRESSED OR IMPLIED
+** WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+** IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+** CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+** USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+** ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+** SUCH DAMAGE.
+
+
+=========================================================================
+
+The sha implementation (src/xbt/xbt_sha.c:) was borowed and adapted
+from the iksemel one (http://code.google.com/p/iksemel/). Both the
+original and the current version of this code is distributed under the
+LGPL v2.1 license.
+
+=========================================================================
+
+Some examples for SMPI were borowed from an IBM test suite.
+Their copyright is the following:
+/**
+ * MESSAGE PASSING INTERFACE TEST CASE SUITE
+ *
+ * Copyright IBM Corp. 1995
+ *
+ * IBM Corp. hereby grants a non-exclusive license to use, copy, modify, and
+ *distribute this software for any purpose and without fee provided that the
+ *above copyright notice and the following paragraphs appear in all copies.
+
+ * IBM Corp. makes no representation that the test cases comprising this
+ * suite are correct or are an accurate representation of any standard.
+
+ * In no event shall IBM be liable to any party for direct, indirect, special
+ * incidental, or consequential damage arising out of the use of this software
+ * even if IBM Corp. has been advised of the possibility of such damage.
+
+ * IBM CORP. SPECIFICALLY DISCLAIMS ANY WARRANTIES INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS AND IBM
+ * CORP. HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
+ * ENHANCEMENTS, OR MODIFICATIONS.
+ * ***************************************************************************
+ **/
+
+List of files:
+ examples/smpi/scatter.c
+ examples/smpi/reduce.c
+ examples/smpi/allreduce.c
+ examples/smpi/alltoall2.c
+
+=========================================================================
+
+The xbt/mmalloc module was adapted from the mmalloc module of gdb.
+Both the simgrid version and the original version is distributed under
+the LGPL v2.1
+
+This affects the files in directory src/xbt/mmalloc and
+include/xbt/mmalloc.h
+
+=========================================================================
+
+Some other examples for SMPI were borowed from an Argonne test suite.
+Their copyright is the following (FIXME):
+/*
+ * (C) 2001 by Argonne National Laboratory.
+ * See COPYRIGHT in top-level directory.
+ */
+List of files:
+ examples/smpi/alltoallv.c
+
+=========================================================================
+Finally, some SMPI examples have unclear licence:
+ examples/smpi/first.c
+ examples/smpi/second.c
+=========================================================================
+
+
+The directory examples/smpi/NAS contains a tweaked version of the
+NAS Parallel Benchmark Team. The original software were retrieved from
+here: http://www.nas.nasa.gov/Software/NPB
+
+According to [1], this code is probably distributed under the NASA
+Open Source Agreement (NOSA) version 1.3. Its text can be found at [2].
+[1] http://www.nas.nasa.gov/Resources/Software/Open-Source/opensource.html
+[2] http://www.opensource.org/licenses/nasa1.3.php
+
+The changes over the original version are minor, and can be
+distributed under the LGPL license (v2.1) or NOSA (v1.3 or higher)
+licences, at your option.
+
+==========================================================================
+
+In order to use ucontext with windows platform we had those files :
+ src/xbt/win32_ucontext.c
+ include/xbt/win32_ucontext.h
+
+Their copyright is the following:
+
+/*
+ * win32-ucontext: Unix ucontext_t operations on Windows platforms
+ * Copyright(C) 2007 Panagiotis E. Hadjidoukas
+ *
+ * Contact Email: phadjido@cs.uoi.gr, xdoukas@ceid.upatras.gr
+ *
+ * win32-ucontext is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * win32-ucontext is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with QueueUserAPCEx in the file COPYING.LIB;
+ * if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ */
+
+=========================================================================
\ No newline at end of file