[dune-pdelab] Trouble with dune-pdelab and dune-typetree in CentOS 6.8

Gupta, Shubhangi sgupta at geomar.de
Fri Jun 17 10:42:08 CEST 2016


Hi Steffen,

Here is the output for echo...
___________________________________________________________________
[sgupta at nodule dune]$ echo | /opt/rh/devtoolset-2/root/usr/bin/c++ -E -v -
Using built-in specs.
COLLECT_GCC=/opt/rh/devtoolset-2/root/usr/bin/c++
Target: x86_64-redhat-linux
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=http://bugzilla.redhat.com/bugzilla --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
Thread model: posix
gcc version 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)
COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mtune=generic' 
'-march=x86-64'
  /opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/cc1 -E -quiet -v - -mtune=generic -march=x86-64
ignoring nonexistent directory 
"/opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include-fixed"
ignoring nonexistent directory 
"/opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
  /opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include
  /usr/local/include
  /opt/rh/devtoolset-2/root/usr/include
  /usr/include
End of search list.
# 1 "<stdin>"
# 1 "<command-line>"
# 1 "<stdin>"
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/
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/
COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mtune=generic' 
'-march=x86-64'
___________________________________________________________________

Regards,
Shubhangi


On 17/06/2016 09:59, Steffen Müthing wrote:
> 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
>
>> Am 17.06.2016 um 08:38 schrieb Shubhangi Gupta <sgupta at geomar.de>:
>>
>> 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:
>>> Hi,
>>>
>>> On Wed, 2016-06-15 at 11:05 +0200, Shubhangi Gupta wrote:
>>>> 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)?
>>> I have no idea about SuperLU.
>>>
>>> Please also send replies to the mailing list. That way other people
>>> could see your questions too.
>>>
>>> Ansgar
>>>
>>>
>>>> On 14.06.2016 17:29, Ansgar Burchardt wrote:
>>>>> Hi,
>>>>>
>>>>> On Tue, 2016-06-14 at 17:20 +0200, Shubhangi Gupta wrote:
>>>>>> 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!
>>>>> 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
>>>>> dune-pdelab at dune-project.org
>>>>> http://lists.dune-project.org/mailman/listinfo/dune-pdelab
>> <dune_build_terminal_output.txt>_______________________________________________
>> dune-pdelab mailing list
>> dune-pdelab at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune-pdelab

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20160617/d3bb5f0f/attachment.htm>


More information about the dune-pdelab mailing list