Skip to content

Commit

Permalink
Add --enable-default-comm-world argument
Browse files Browse the repository at this point in the history
This is just the build system bit; the next patch will change behavior
in the --disable-default-comm-world case.
  • Loading branch information
roystgnr authored and benkirk committed Apr 8, 2013
1 parent 90368c8 commit 12ff376
Show file tree
Hide file tree
Showing 79 changed files with 130 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4176,6 +4176,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
31 changes: 31 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,7 @@ LIBMESH_ENABLE_COMPLEX_TRUE
LIBMESH_ENABLE_INFINITE_ELEMENTS_FALSE
LIBMESH_ENABLE_INFINITE_ELEMENTS_TRUE
enablelegacyincludepaths
enabledefaultcommworld
PWD
MPCXX
METHOD
Expand Down Expand Up @@ -1044,6 +1045,7 @@ enable_getpwuid
enable_exceptions
enable_unordered_containers
enable_openmp
enable_default_comm_world
enable_legacy_include_paths
enable_legacy_using_namespace
with_boundary_id_bytes
Expand Down Expand Up @@ -1803,6 +1805,8 @@ Optional Features:
--enable-unordered-containers
Use unordered_map/unordered_set if available
--enable-openmp Build with OpenMP Support
--enable-default-comm-world
Provide global libMesh::CommWorld
--enable-legacy-include-paths
allow for e.g. #include "header.h" instead of
#include "libmesh/header.h"
Expand Down Expand Up @@ -26329,6 +26333,33 @@ $as_echo "----- Configuring core library features -----" >&6; }
$as_echo "---------------------------------------------" >&6; }


# --------------------------------------------------------------
# default comm_world - enabled by default
# --------------------------------------------------------------
# Check whether --enable-default-comm-world was given.
if test "${enable_default_comm_world+set}" = set; then :
enableval=$enable_default_comm_world; enabledefaultcommworld=$enableval
else
enabledefaultcommworld=yes
fi



if test "$enabledefaultcommworld" != no ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: >>> WARNING: using a legacy option <<<" >&5
$as_echo ">>> WARNING: using a legacy option <<<" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: >>> Configuring library to enable a default libMesh::CommWorld <<<" >&5
$as_echo ">>> Configuring library to enable a default libMesh::CommWorld <<<" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: <<< Configuring library to disable libMesh::CommWorld >>>" >&5
$as_echo "<<< Configuring library to disable libMesh::CommWorld >>>" >&6; }

$as_echo "#define DISABLE_COMMWORLD 1" >>confdefs.h

fi
# --------------------------------------------------------------


# --------------------------------------------------------------
# legacy include paths - disabled by default
# --------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions contrib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/boost/include/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/eigen/3.1.2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/exodusii/5.22b/exodus/cbind/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1995,6 +1995,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/exodusii/5.22b/nemesis/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/exodusii/Lib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/fparser/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/fparser/extrasrc/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/gmv/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/gzstream/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/laspack/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/libHilbert/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/metis/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/nanoflann/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/nemesis/Lib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/netcdf/Lib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/parmetis/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/sfcurves/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/tecplot/binary/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/tecplot/tecio/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/tetgen/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions contrib/triangle/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ datadir = $(examples_install_path)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/adaptivity/adaptivity_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/adaptivity/adaptivity_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/adaptivity/adaptivity_ex3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/adaptivity/adaptivity_ex4/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/adaptivity/adaptivity_ex5/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/adjoints/adjoints_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/adjoints/adjoints_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/adjoints/adjoints_ex3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/adjoints/adjoints_ex4/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/adjoints/adjoints_ex5/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/eigenproblems/eigenproblems_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/eigenproblems/eigenproblems_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/eigenproblems/eigenproblems_ex3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/fem_system/fem_system_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/fem_system/fem_system_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/introduction/introduction_ex1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/introduction/introduction_ex2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
1 change: 1 addition & 0 deletions examples/introduction/introduction_ex3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ datadir = $(install_dir)
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enabledefaultcommworld = @enabledefaultcommworld@
enablelegacyincludepaths = @enablelegacyincludepaths@
enablepetsc = @enablepetsc@
exec_prefix = @exec_prefix@
Expand Down
Loading

0 comments on commit 12ff376

Please sign in to comment.