[Dune] Problems compiling dune-grid 2.2 with alugrid support using gcc 4.8.0 on mac
Eike Mueller
eike.h.mueller at googlemail.com
Sat Jun 16 17:50:17 CEST 2012
Dear dune-list,
I just tried to compile dune-grid (from the 2.2 release branch) on my new macbook with gcc version 4.8, more precisely:
eikemueller at Eikes-MacBook-Pro $ gcc --version
gcc (GCC) 4.8.0 20120603 (experimental)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
it does not seem to find alugrid and prints out the following warning:
[…]
checking ALUGrid version >= 1.50... ./configure: line 34448: --atleast-version=1.50: command not found
yes (ALUGrid-1.50)
checking alugrid_serial.h usability... no
checking alugrid_serial.h presence... yes
configure: WARNING: alugrid_serial.h: present but cannot be compiled
configure: WARNING: alugrid_serial.h: check for missing prerequisite headers?
configure: WARNING: alugrid_serial.h: see the Autoconf documentation
configure: WARNING: alugrid_serial.h: section "Present But Cannot Be Compiled"
configure: WARNING: alugrid_serial.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to dune at dune-project.org ##
configure: WARNING: ## ------------------------------------ ##
checking for alugrid_serial.h... no
configure: WARNING: alugrid_serial.h not found in /usr/local/alugrid-1.50/include
[…]
I attach config.log, the relevant lines appear to be
[…]
In file included from /usr/local/alugrid-1.50/include/alugrid_serial.h:118:0,
from conftest.cpp:103:
/usr/local/alugrid-1.50/include/serial/gitter_tetra_top.h: In member function 'ALUGridSpace::TetraTop<A>::myhface3_t* ALUGridSpace::TetraTop<A>::subface3(int, int)':
/usr/local/alugrid-1.50/include/serial/gitter_tetra_top.h:1294:97: error: unable to find string literal operator 'operator"" __FILE__'
cerr << "**FEHLER (FATAL): Falsche Verfeinerungsregel [" << this->myhface3(i)->getrule() << "] in "__FILE__ << " " << __LINE__ << endl ;
^
In file included from /usr/local/alugrid-1.50/include/alugrid_serial.h:118:0,
from conftest.cpp:103:
/usr/local/alugrid-1.50/include/serial/gitter_tetra_top.h: In member function 'ALUGridSpace::Periodic3Top<A>::myhface3_t* ALUGridSpace::Periodic3Top<A>::subface3(int, int)':
/usr/local/alugrid-1.50/include/serial/gitter_tetra_top.h:2062:97: error: unable to find string literal operator 'operator"" __FILE__'
cerr << "**FEHLER (FATAL): Falsche Verfeinerungsregel [" << this->myhface3(i)->getrule() << "] in "__FILE__ << " " << __LINE__ << endl ;
[…]
everything else is absolutely fine, and the entire dune builds and installs, I would just like to use alugrid…
I suspect this is an issue with the compiler (i.e. the version is too new), as it works on my uni machine where I use an older version of gcc, but I thought I check in case someone on the list has an idea how to fix this.
Thanks a lot,
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 172655 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20120616/e42a4911/attachment.obj>
More information about the Dune
mailing list