On Wed, 1 Apr 2015, grandrabbit wrote:

The build runs fine. Thanks! Now GRINS can also be built on that.

Thanks for the update!

BTW, there're always warning like
In file included from /usr/lib/openmpi/include/mpi.h:253:0,
                 from ./include/libmesh/libmesh_common.h:53,
                 from ./include/libmesh/boundary_info.h:24,
                 from src/parallel/parallel_node.C:23:
/usr/lib/openmpi/include/mpi_portable_platform.h:374:34: warning: invalid
suffix on literal; C++11 requires a space between literal and string macro
[-Wliteral-suffix]
             
_STRINGIFY(__GNUC__)"."_STRINGIFY(__GNUC_MINOR__)"."_STRINGIFY(__GNUC_PATC
HLEVEL__)
                                  ^
/usr/lib/openmpi/include/mpi_portable_platform.h:374:63: warning: invalid
suffix on literal; C++11 requires a space between literal and string macro
[-Wliteral-suffix]
             
_STRINGIFY(__GNUC__)"."_STRINGIFY(__GNUC_MINOR__)"."_STRINGIFY(__GNUC_PATC
HLEVEL__)
                                                               ^
  CXX      src/parallel/libmesh_devel_la-parallel_sort.lo

Probably you can give an answer.

The answer is simple but unsatisfying: the openmpi headers on Ubuntu
14.10 aren't strictly C++11 compatible, by default libMesh tells your
compiler to run in C++11 mode, and the only reason it compiles at all
is that gcc is nice enough to treat the incompatibility as a warning
rather than an error for now.

IIRC I wasn't able to get gcc to ignore those warnings via our
ignore_headers.h pragmas.  You might be able to manually set
-Wnoliteral-suffix in your CXXFLAGS?
---
Roy
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to