[Dune-devel] [Dune-Commit] dune-web r1297 - external_libraries news

Carsten Gräser graeser at math.fu-berlin.de
Wed Mar 19 14:09:59 CET 2014


Dear all,
many thanks to Oliver for doing all the work to make this happen!

Best,
Carsten

Am 19.03.2014 13:53, schrieb sander at dune-project.org:
> Author: sander
> Date: 2014-03-19 13:53:13 +0100 (Wed, 19 Mar 2014)
> New Revision: 1297
> 
> Added:
>    news/2014-03-19.news
> Modified:
>    external_libraries/install_ug.wml
> Log:
> Announce that UG is now licensed under LGPLv2+
> 
> - Announce the new license
> - Adapt installation to new situation
> 
> 
> 
> Modified: external_libraries/install_ug.wml
> ===================================================================
> --- external_libraries/install_ug.wml	2014-03-18 19:29:22 UTC (rev 1296)
> +++ external_libraries/install_ug.wml	2014-03-19 12:53:13 UTC (rev 1297)
> @@ -14,202 +14,35 @@
>  </p>
>  
>  <h2>Getting UG</h2>
> +
>  <p>
> +UG is free software, available under the LGPLv2+.  You can download the source from
> +the <a href="http://www.iwr.uni-heidelberg.de/wiki-link-pages/wiki-software">UG homepage</a>.
> +</p>
> +
> +<p>
>  The appropriate UG version for you depends on which version of DUNE you want
> -to use.  Starting from DUNE release 1.1, UG needs to be patched in order to be
> -usable with DUNE.
> -The patches contain bugfixes and some small further features.
> -For legal reasons we cannot provide a patched UG directly.
> +to use.
>  </p>
>  
>  <ul>
>    <li>
> -        The 1.0 release of DUNE works with the vanilla UG, available from the
> -        <a href="http://atlas.gcsc.uni-frankfurt.de/~ug/">UG project homepage</a>.
> +        The 2.3 release and git master of dune-grid work with UG version 3.10.0.
>    </li>
> -  <li>
> -        The 1.1 release of DUNE works with the vanilla UG plus a set
> -        of <a href="http://www.dune-project.org/download/ug-dune-patches-1.1.diff">patches</a>.
> -        These patches have been created against the vanilla UG tarball of 2008-04-18.
> -  </li>
> -  <li>
> -        The 1.2 release of DUNE works with the vanilla UG plus a set
> -        of <a href="http://www.dune-project.org/download/ug-dune-patches-1.2.diff">patches</a>.
> -        These patches have been created against the vanilla UG tarball of 2008-11-13.
> -  </li>
> -  <li>
> -        The 2.0 release of DUNE works with the vanilla UG plus a set
> -        of <a href="http://www.dune-project.org/download/ug-dune-patches-2.0.diff">patches</a>.
> -        <b>Note:</b>These patches have been created against the vanilla UG tarball of 2008-11-13.
> -  </li>
> -  <li>
> -        The 2.2 release of DUNE works with the vanilla UG plus a set
> -        of <a href="http://www.dune-project.org/download/ug-dune-patches-3.9.1-patch7.1.diff">patches</a>,
> -        which will turn upstream UG into UG-3.9.1-patch7.1.
> -        These patches have been created against the vanilla UG tarball of 2008-11-13.
> -  </li>
> -  <li>
> -        For the current svn version of DUNE you need at least <a href="http://www.dune-project.org/download/ug-dune-patches-3.9.1-patch9.diff">patch9</a>.
> -        However, we recommend the latest set of patches, which turns upstream UG into
> -        <a href="http://www.dune-project.org/download/ug-dune-patches-3.9.1-patch11.diff">UG-3.9.1-patch11</a>.
> -        See below for a list of changes.
> -        The patches have been created against the vanilla UG tarball of 2008-11-13.
> -  </li>
>  </ul>
>  
>  <p>
> -Here's how you get a patched UG:
> -<ul>
> -  <li>
> -    Check out the version of UG from the central repository at the
> -    <a href="http://atlas.gcsc.uni-frankfurt.de/~ug/">UG project homepage</a>
> -    of the appropriate day given in the list above.  Several tarballs providing
> -    these versions are available there.  If you cannot find the correct one
> -    (and CVS access is available)  you can get specific version by using the option
> -    <tt>-D MM/DD/YYYY</tt> when checking out the sources.
> -    UG will appear in a directory called <tt>UG</tt>.
> -  </li>
> -  <li>
> -    Put the appropriate patch file in the same directory as <tt>UG</tt>.
> -  </li>
> -  <li>
> -    <tt>cd UG/ug</tt>
> -  </li>
> -  <li>
> -    <tt>patch -p1 < ../../my_patch_file</tt>
> -  </li>
> -</ul>
>  
> -<h3>Changes in UG-3.9.11-patch11</h3>
> +<h2>Compilation and Installation</h2>
>  
> -<p>This is the first release known to work seamlessly with the new
> -  CMake build infrastructure of the trunk version and future 2.3
> -  release of the core modules.
> +<p>UG has a standard AutoTools build system.  However, to use it with dune-grid you need to
> +set a few non-standard options.
>  </p>
>  
> -<h3>Changes in UG-3.9.1-patch10</h3>
> -
> -<p>This release brings some new features, and some improvements for having UG
> -   run on larger processor numbers.
> -</p>
> -<ul>
> -<li>Add infrastructure for dynamic load-balancing of node data from Dune</li>
> -<li>    Introduce a configure flag <kbd>--enable-system-heap</kbd>.
> -
> -    If this flag is set UG takes it memory through malloc/free instead of using
> -    the custom heap data structures in low/heaps.c.
> -
> -    <p>
> -    Using the system heap has several advantages:
> -    </p>
> -    <ul>
> -     <li>there is no artificial upper bound to the amount of memory UG can use</li>
> -     <li>valgrind may see more bugs</li>
> -    </ul>
> -
> -    <p>
> -    The system heap may be faster, but it may also be slower.
> -    No way to know without measuring.
> -    </p>
> -
> -    <p>
> -    Since valgrind sees much more of the memory management of Dune,
> -    it will report various memory leaks if the --enable-system-heap flag
> -    is set.  These leaks were there before -- you just didn't get to see them.
> -    </p>
> -    <p>
> -    Since this is an experimental feature it is switched off by default.
> -    </p>
> -</li>
> -<li>Fix various memory leaks and use-after-free bugs, found by valgrind</li>
> -<li>Many fixes for letting UG run on larger parallel machines, e.g.,
> -   <ul>
> -     <li>Use 24 bits to store the processor number, instead of 10</li>
> -     <li>Unsigned long is now used for global ids, instead of unsigned int</li>
> -   </ul>
> - </li>
> -<li>Fix a few anisotropic refinement rules for hexahedra</li>
> -<li>Minor AutoTools-related fixes</li>
> -<li>Minor fixes allowing to compile ass C++11</li>
> -<li>Make the "DimX= DimY= DimZ=" message at startup disappear for good.</li>
> -</ul>
> -
> -<h3>Changes in UG-3.9.1-patch9</h3>
> -
> -  <ul>
> -  <li>Fix various bugs related to edge communication.  Edge communication in UGGrid should work now.</li>
> -  <li>Add some support to allow programs built with cmake to find UG.</li>
> -  <li>Don't print "DimX= DimY= DimZ=" at startup.</li>
> -  <li>Remove the final /ug from the include path presented by pkg-config (for a more standard-like behavior,
> -  and to fix <FS 1162>).</li>
> -  <li>Abort with a helpful error message when loading a grid that is too big to fit into the preallocated memory.
> -      Previously, a quadratic fallback algorithm was used which was much too slow to be helpful.</li>
> -  </ul>
> -
> -<h3>Changes in UG-3.9.1-patch8</h3>
> -
> -  <ul>
> -  <li>Compilation fixes for sequential UG</li>
> -  <li>More infrastructure to use DDD ids other than unsigned int</li>
> -  <li>Remove the chaco parts from the patch set (for licensing reasons)</li>
> -  <li>Fix (or better: hack around) a bug that prevented refinement of parallel grids
> -     containing pyramids or prisms (<FS 776>).</li>
> -  </ul>
> -
> -<h3>Changes in UG-3.9.1-patch7.1</h3>
> -
> -  <ul>
> -  <li>Various fixes related to edge communication for 2d grids.</li>
> -  </ul>
> -
> -<h3>Changes in UG-3.9.1-patch5</h3>
> -
> -  <ul>
> -  <li>Another bugfix in the AutoTools test for MPI: The 'configure' command would
> -      abort when run without <kbd>--enable-parallel</kbd>.</li>
> -  </ul>
> -
> -<h3>Changes in UG-3.9.1-patch4</h3>
> -
> -  <ul>
> -  <li>Fix a bug in the AutoTools test for MPI, which had been introduced in 3.9.1-patch3.</li>
> -  </ul>
> -
> -<h3>Changes in UG-3.9.1-patch3</h3>
> -
> -  <ul>
> -  <li>A new flag isLeaf is introduced for UG nodes. This is necessary
> -      for many bugfixes in the parallel Dune interface.</li>
> -  </ul>
> -
> -<h3>Changes in UG-3.9.1-patch2</h3>
> -
> -  <ul>
> -  <li>You can build UG as shared libraries now.</li>
> -  <li>Fix a memory corruption bug (<FS 738>)</li>
> -  <li>When compiling as C++, use a C++ snippet to replace an O(n^2) algorithm by
> -      an O(nlogn) on std_domain.cc.  This speeds up the creation of large grids.</li>
> -  <li>The build system now uses the DESTDIR variable to allow staged installs.
> -      This is important for Linux packaging.</li>
> -  <li>The package is now called 'ug' instead of 'UG' (lower-case letters being the norm)</li>
> -  <li>Headers are now installed to $(prefix)/include/ug instead of $(prefix)/include.
> -      The prevents the pollution of /usr/include when UG is installed system-wide.</li>
> -  <li>Make support for pkg-config work.</li>
> -  </ul>
> -
> -<h2>Compilation and Installation</h2>
> -
> -<h3>Dependencies</h3>
> -<ul>
> -<li>flex</li>
> -<li>A yacc compatible parser generator like bison.</li>
> -</ul>
> -
>  <ol>
> +<li><p>Unpack the tarball, and enter the main directory</p>
>  <li><p>Build the UG make system</p>
>  <pre>
> -cd UG/ug
> -./autogen.sh
>  ./configure --prefix=my_favourite_ug_installation_path --enable-dune CC=g++
>  </pre>
>          <ul>
> @@ -221,9 +54,7 @@
>            </li>
>            <li>
>      CC=g++ tells the build system to compile everything as C++,
> -    even though it is technically C.    This is necessary when
> -    using UG through the DUNE interface. Don't forget that the
> -    compiler has to be binary-compatible with the one you're using for Dune.
> +    even though it is technically C.
>  </li>
>  </ul>
>  </li>
> @@ -254,6 +85,6 @@
>  
>  <p>
>  Note that you cannot install a sequential and a parallel version of UG
> -in the same directory.  If you need to switch between the two versions
> +in the same directory (yet).  If you need to switch between the two versions
>  frequently you need to set up two distinct installation directories.
>  </p>
> 
> Added: news/2014-03-19.news
> ===================================================================
> --- news/2014-03-19.news	                        (rev 0)
> +++ news/2014-03-19.news	2014-03-19 12:53:13 UTC (rev 1297)
> @@ -0,0 +1,33 @@
> +<news>
> +<title>UG released as free software</title>
> +
> +<p>
> +We are happy to announce that the UG software system has been released as free
> +software.  The copyright holders have consented to make UG available under
> +the GNU Lesser General Public License 2.1, or (optionally) a later version.
> +Many thanks to them!
> +</p>
> +
> +<p>
> +An LGPL-licensed UG means that it is now much easier to obtain the UG source code.
> +As of today we will not provide patch files anymore.  Instead, you can go to the
> +new <a href="http://www.iwr.uni-heidelberg.de/wiki-link-pages/wiki-software">UG homepage</a>
> +directly, and get the complete source code there.  That source code already contains
> +all the latest patches needed for the use with Dune.  We still provide our
> +<a href="$(ROOT)/external_libraries/install_ug.html">installation instructions</a>
> +that show how to build UG for use with Dune.
> +</p>
> +
> +<p>
> +We hope that the new license will encourage more people to try out Dune with UGGrid.
> +We will be happy to hear your feedback.
> +</p>
> +
> +<p>
> +Together with the licensing change we announce the release of a new stable version ug-3.10.0.
> +It fixes many small memory issues, mainly related to parallel processing.
> +The release is available from the new <a href="http://www.iwr.uni-heidelberg.de/wiki-link-pages/wiki-software">homepage</a>.
> +</p>
> +
> +<date>19. 3. 2014</date>
> +</news>





More information about the Dune-devel mailing list