<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Not necessary anymore. I found out and
      it was my fault (apologies!).<br>
      <br>
      The thing is that I was still on tag v2.2.1 for dune-common, but
      the<br>
      patch in dune-grid which introduced the HAVE_UG_PATCH9 macro also<br>
      needs a correponding change in the build system. When I have
      everything on<br>
      the release 2.2 branch it works.<br>
      <br>
      Sorry for the noise. I revert the patch.<br>
      <br>
      -- Peter<br>
      <br>
      Am 14.10.13 14:35, schrieb Oliver Sander:<br>
    </div>
    <blockquote cite="mid:525BE520.5060104@igpm.rwth-aachen.de"
      type="cite">
      <pre wrap="">Can you post the config.log of dune-grid?

Am 14.10.2013 14:33, schrieb Peter Bastian:
</pre>
      <blockquote type="cite">
        <pre wrap="">Actually it does not work for me. Neither on my Mac nor on
LINUX. Trying to compile dune release 2.2.1 (i.e. the tag v2.2.1) with a freshly *checkout out*
UG (is that the problem?) produces:

In file included from ../../../dune/grid/common/boundarysegment.hh:6:0,
                 from ../../../dune/grid/uggrid.hh:17,
                 from uggridintersections.cc:5:
/export/home/FCEP/FCEP001/dune-test22/dune-common/dune/common/fvector.hh:20:2: warning: #warning The FieldVector class exports its size by the enum member 'size'. This behavior is deprecated. In the
future, 'size' will be a method, which puts it in compliance with the stl conventions. To enable the new behavior (and get rid of this warning), build your Dune with
--enable-fieldvector-size-is-method. If you do need the vector size as an enum, use 'dimension'. [-Wcpp]
In file included from ../../../dune/grid/uggrid.hh:46:0,
                 from uggridintersections.cc:5:
../../../dune/grid/uggrid/ugincludes.hh:15:16: fatal error: gm.h: No such file or directory
compilation terminated.

Working with the release 2.2 branch where the #ifdef HAVE_UG_PATCH9
switches between including ug/gm.h and gm.h also did not work
because the Macro HAVE_UG_PATCH9 is not defined.

-- Peter

Am 13.10.13 19:29, schrieb Oliver Sander:
</pre>
        <blockquote type="cite">
          <pre wrap="">No, there is not.  Actually, the release branch works nicely with UG-patch10.
(HAVE_UG_PATCH9 actually means "patch9 or later").  The attached patch reverts
the change.  Please somebody apply it for me, as I keep getting

remote: FATAL: C refs/heads/release-2.2 dune-grid sander DENIED by fallthru
remote: error: hook declined to update refs/heads/release-2.2

when pushing, which I don't understand.

Best,
Oliver

Am 13.10.2013 15:22, schrieb Markus Blatt:
</pre>
          <blockquote type="cite">
            <pre wrap="">Hi,

is there a special reason to drop support of a grid version in a
release? According to our build sysren tests, users need at least
patch level 7, but this changeset breaks compilation for all patch
levels <9.

Shouldn't we rather replace "#if 1" with "#if defined(HAVE_UG_PATCH9)
|| defined(HAVE_UG_PATCH10)"?

Markus
On Thu, Oct 10, 2013 at 08:45:41PM +0200, Peter Bastian wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">New commit, appeared at Thu Oct 10 20:45:41 2013 +0200
as part of the following ref changes:

     branch refs/heads/releases/2.2    updated from fe2b741 -> 657029a

Browsable version: <a class="moz-txt-link-freetext" href="http://cgit.dune-project.org/repositories/dune-grid/commit/?id=657029a73b032aa76f410349c98d4ea33bd991ff">http://cgit.dune-project.org/repositories/dune-grid/commit/?id=657029a73b032aa76f410349c98d4ea33bd991ff</a>

======================================================================

commit 657029a73b032aa76f410349c98d4ea33bd991ff
Author: Peter Bastian <a class="moz-txt-link-rfc2396E" href="mailto:peter.bastian@iwr.uni-heidelberg.de"><peter.bastian@iwr.uni-heidelberg.de></a>
Date:   Thu Oct 10 20:43:57 2013 +0200

     Make 2.2 release work with current UG.
     The macro HAVE_UG_PATCH9 is not available. Moreover, it
     would not work with patch level 10 then.

  dune/grid/uggrid/ugincludes.hh | 4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)



diff --git a/dune/grid/uggrid/ugincludes.hh b/dune/grid/uggrid/ugincludes.hh
index 42fd39c..fc3ddf8 100644
--- a/dune/grid/uggrid/ugincludes.hh
+++ b/dune/grid/uggrid/ugincludes.hh
@@ -12,7 +12,7 @@
     therein.
   */
  -#ifdef HAVE_UG_PATCH9
+#if 1
    #include <ug/gm.h>
  #include <ug/std_domain.h>
@@ -53,5 +53,3 @@
  #endif
    #endif
-
-#endif

_______________________________________________
Dune-Commit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune-Commit@dune-project.org">Dune-Commit@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune-commit">http://lists.dune-project.org/mailman/listinfo/dune-commit</a>

</pre>
            </blockquote>
          </blockquote>
          <pre wrap="">

_______________________________________________
Dune-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune-devel">http://lists.dune-project.org/mailman/listinfo/dune-devel</a>
</pre>
        </blockquote>
        <pre wrap="">



_______________________________________________
Dune-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune-devel">http://lists.dune-project.org/mailman/listinfo/dune-devel</a>

</pre>
      </blockquote>
      <pre wrap="">

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Dune-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune-devel">http://lists.dune-project.org/mailman/listinfo/dune-devel</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
------------------------------------------------------------
Peter Bastian
Interdisziplinäres Zentrum für Wissenschaftliches Rechnen
Universität Heidelberg
Im Neuenheimer Feld 368
D-69120 Heidelberg
Tel: 0049 (0) 6221 548261
Fax: 0049 (0) 6221 548884
email: <a class="moz-txt-link-abbreviated" href="mailto:peter.bastian@iwr.uni-heidelberg.de">peter.bastian@iwr.uni-heidelberg.de</a>
web: <a class="moz-txt-link-freetext" href="http://conan.iwr.uni-heidelberg.de/people/peter/">http://conan.iwr.uni-heidelberg.de/people/peter/</a>
</pre>
  </body>
</html>