<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Steffen,<br>
    <br>
    Here is the output for echo...<br>
    ___________________________________________________________________<br>
    <small>[sgupta@nodule dune]$ echo |
      /opt/rh/devtoolset-2/root/usr/bin/c++ -E -v -<br>
      Using built-in specs.<br>
      COLLECT_GCC=/opt/rh/devtoolset-2/root/usr/bin/c++<br>
      Target: x86_64-redhat-linux<br>
      Configured with: ../configure
      --prefix=/opt/rh/devtoolset-2/root/usr
      --mandir=/opt/rh/devtoolset-2/root/usr/share/man
      --infodir=/opt/rh/devtoolset-2/root/usr/share/info
      --with-bugurl=<a class="moz-txt-link-freetext" href="http://bugzilla.redhat.com/bugzilla">http://bugzilla.redhat.com/bugzilla</a>
      --enable-bootstrap --enable-shared --enable-threads=posix
      --enable-checking=release --with-system-zlib --enable-__cxa_atexit
      --disable-libunwind-exceptions --enable-gnu-unique-object
      --enable-linker-build-id --enable-languages=c,c++,fortran,lto
      --enable-plugin --with-linker-hash-style=gnu
      --enable-initfini-array --disable-libgcj
      --with-isl=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/isl-install
      --with-cloog=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/cloog-install
      --with-mpc=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/mpc-install
      --with-tune=generic --with-arch_32=i686
      --build=x86_64-redhat-linux<br>
      Thread model: posix<br>
      gcc version 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC) <br>
      COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mtune=generic'
      '-march=x86-64'<br>
       /opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/cc1
      -E -quiet -v - -mtune=generic -march=x86-64<br>
      ignoring nonexistent directory
"/opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include-fixed"<br>
      ignoring nonexistent directory
"/opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../x86_64-redhat-linux/include"<br>
      #include "..." search starts here:<br>
      #include <...> search starts here:<br>
 /opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include<br>
       /usr/local/include<br>
       /opt/rh/devtoolset-2/root/usr/include<br>
       /usr/include<br>
      End of search list.<br>
      # 1 "<stdin>"<br>
      # 1 "<command-line>"<br>
      # 1 "<stdin>"<br>
COMPILER_PATH=/opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/:/opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/:/opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/:/opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/<br>
LIBRARY_PATH=/opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/:/opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../:/lib/:/usr/lib/<br>
      COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mtune=generic'
      '-march=x86-64'</small><br>
    ___________________________________________________________________<br>
    <br>
    Regards,<br>
    Shubhangi<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 17/06/2016 09:59, Steffen Müthing
      wrote:<br>
    </div>
    <blockquote
      cite="mid:FF659A67-F90C-49D7-A456-603D604124B0@iwr.uni-heidelberg.de"
      type="cite">
      <pre wrap="">Hi,

that looks very much like a compiler or stdlib problem. Can you post the output of

echo | /opt/rh/devtoolset-2/root/usr/bin/c++ -E -v -

on that machine?

Steffen

</pre>
      <blockquote type="cite">
        <pre wrap="">Am 17.06.2016 um 08:38 schrieb Shubhangi Gupta <a class="moz-txt-link-rfc2396E" href="mailto:sgupta@geomar.de"><sgupta@geomar.de></a>:

Hi Ansgar,
hi fellow PDELabers,

Thanks again.

With GCC 4.7.2, the dune installation worked out fine on CentOS 6.8.

Yesterday I tried to install dune on our server which has RHEL 6.8.
It has CMake version 2.8.12.2, and GCC version 4.8.
Here again, the dune core modules install without any problem, but new project fails with problem in dune-typetree (although, this project is working in CentOS 6.8 as well as in Ubuntu 16).
I have attached the dune terminal output for the build for this particular project.

Thanks, and best regards,
Shubhangi


On 17.06.2016 00:43, Ansgar Burchardt wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi,

On Wed, 2016-06-15 at 11:05 +0200, Shubhangi Gupta wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Thanks a lot for your reply..
Yes, you are right, I had GCC 4.4 installed on the CentOS 6.8 .
I updated to GCC version 4.7.2, and the projects now compile fine.

Although, I now have problem with SuperLU. I am using SuperLU 4.3.
Do you think I should install a newer version (5.0)?
</pre>
          </blockquote>
          <pre wrap="">I have no idea about SuperLU.

Please also send replies to the mailing list. That way other people
could see your questions too.

Ansgar


</pre>
          <blockquote type="cite">
            <pre wrap="">On 14.06.2016 17:29, Ansgar Burchardt wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">Hi,

On Tue, 2016-06-14 at 17:20 +0200, Shubhangi Gupta wrote:
</pre>
              <blockquote type="cite">
                <pre wrap="">I am trying to install DUNE-2.4.1 on CentOS 6.8.
All Dune core modules (common, grid, geometry, istl,
localfunctions,
pdelab, typetree ) compile without error, but pdelab-howto does
not
compile.
The error seems to be coming from typetree. I checked the
CMakeError.log, but it is essentially empty.
This same problem also occurs for any other project that I try to
build.
On Ubuntu LTS-16 however, everything is working fine!
</pre>
              </blockquote>
              <pre wrap="">That looks like the compiler you use on CentOS only supports an
older
C++ standard than dune-typetree requires.

The README.md for typetree's releases/2.4 branch states that GCC
4.7 or
later should work. Which version does CentOS 6.8 include?

Ansgar


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