[mvapich-discuss] subdir-objects issues with autogen.sh

Jeff Hammond jeff.science at gmail.com
Wed Jan 22 13:30:22 EST 2014


I found that autogen.sh fails for
https://mvapich.cse.ohio-state.edu/svn/mpi/mvapich2/branches/1.9
because of what's in src/armci isn't compatible with recent versions
of automake.  We fixed the issue with subdir-objects in ARMCI-MPI a
while ago but after it was removed from the MPICH trunk and migrated
from svn to git (with everything else in MPICH-land).

As ARMCI-MPI has been a separate project for some time now, I
recommend you resolve this issue by just deleting src/armci and all
references to it.  I doubt anyone will miss it as all of the active
users should be aware of http://git.mpich.org/armci-mpi.git/.

In addition to running "svn rm src/armci", I think these are the
changes you need to remote ARMCI-MPI:

[jhammond at cu0login5 mv2-1.9-patches]$ svn diff autogen.sh maint/errmsgdirs
Index: autogen.sh
===================================================================
--- autogen.sh	(revision 6894)
+++ autogen.sh	(working copy)
@@ -102,7 +102,6 @@
 confdb_dirs="${confdb_dirs} src/pm/hydra/confdb"
 confdb_dirs="${confdb_dirs} src/pm/hydra/mpl/confdb"
 confdb_dirs="${confdb_dirs} test/mpi/confdb"
-confdb_dirs="${confdb_dirs} src/armci/m4"

 # hydra's copy of mpl
 sync_external src/mpl src/pm/hydra/mpl
@@ -170,7 +169,7 @@
 MAKE=${MAKE-make}

 # external packages that require autogen.sh to be run for each of them
-externals="src/pm/hydra src/mpi/romio src/armci src/pm/mpd src/openpa
src/mpid/ch3/channels/mrail/src/hwloc"
+externals="src/pm/hydra src/mpi/romio src/pm/mpd src/openpa
src/mpid/ch3/channels/mrail/src/hwloc"
 # amdirs are the directories that make use of autoreconf
 amdirs=". src/mpl src/util/logging/rlog limic2-0.5.6"

Index: maint/errmsgdirs
===================================================================
--- maint/errmsgdirs	(revision 6894)
+++ maint/errmsgdirs	(working copy)
@@ -1 +1 @@
-src/mpi src/mpi_t src/nameserv src/util src/binding src/include
src/mpid src/pmi src/armci src/mutex
+src/mpi src/mpi_t src/nameserv src/util src/binding src/include
src/mpid src/pmi src/mutex

Unfortunately, it seems MPL also has issues with subdir-objects.
These are certainly fixed upstream in MPICH.  I guess I have to roll
back to an older version of automake or try to merge the upstream
fixes myself.

Thanks,

Jeff

------------------------------------------------------------------------
running third-party initialization in src/armci
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `m4'.
libtoolize: copying file `m4/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:22: installing 'm4/ar-lib'
configure.ac:20: installing 'm4/compile'
configure.ac:24: installing 'm4/config.guess'
configure.ac:24: installing 'm4/config.sub'
configure.ac:10: installing 'm4/install-sh'
configure.ac:10: installing 'm4/missing'
automake: warnings are treated as errors
Makefile.am:13: warning: source file '$(top_srcdir)/src/buffer.c' is
in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the
corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same
subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Makefile.am:13: warning: source file '$(top_srcdir)/src/debug.c' is in
a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/groups.c' is
in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/internals.c'
is in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/malloc.c' is
in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/gmr.c' is in a
subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/message.c' is
in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/message_gop.c'
is in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/mutex.c' is in
a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file
'$(top_srcdir)/src/mutex_hdl_queue.c' is in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/onesided.c' is
in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/onesided_nb.c'
is in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/rmw.c' is in a
subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/strided.c' is
in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/topology.c' is
in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/util.c' is in
a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/value_ops.c'
is in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/vector.c' is
in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file
'$(top_srcdir)/src/init_finalize.c' is in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file
'$(top_srcdir)/src/conflict_tree.c' is in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
Makefile.am:13: warning: source file '$(top_srcdir)/src/parmci.c' is
in a subdirectory,
Makefile.am:13: but option 'subdir-objects' is disabled
automake: warning: source file 'benchmarks/bench_groups.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'benchmarks/bench_groups'
automake: warning: source file 'benchmarks/contiguous-bench.c' is in a
subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'benchmarks/contiguous-bench'
automake: warning: source file 'benchmarks/ping-pong.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'benchmarks/ping-pong'
automake: warning: source file 'benchmarks/ring-flood.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'benchmarks/ring-flood'
automake: warning: source file 'benchmarks/strided-bench.c' is in a
subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'benchmarks/strided-bench'
automake: warning: source file 'tests/ARMCI_AccS_latency.c' is in a
subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/ARMCI_AccS_latency'
automake: warning: source file 'tests/ARMCI_PutS_latency.c' is in a
subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/ARMCI_PutS_latency'
automake: warning: source file 'tests/ctree/ctree_test.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/ctree/ctree_test'
automake: warning: source file 'tests/ctree/ctree_test_rand.c' is in a
subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/ctree/ctree_test_rand'
automake: warning: source file
'tests/ctree/ctree_test_rand_interval.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program
'tests/ctree/ctree_test_rand_interval'
automake: warning: source file 'tests/mpi/ping-pong-mpi.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/mpi/ping-pong-mpi'
automake: warning: source file 'tests/mpi/test_mpi_accs.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/mpi/test_mpi_accs'
automake: warning: source file 'tests/mpi/test_mpi_indexed_accs.c' is
in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/mpi/test_mpi_indexed_accs'
automake: warning: source file 'tests/mpi/test_mpi_indexed_gets.c' is
in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/mpi/test_mpi_indexed_gets'
automake: warning: source file
'tests/mpi/test_mpi_indexed_puts_gets.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program
'tests/mpi/test_mpi_indexed_puts_gets'
automake: warning: source file 'tests/mpi/test_mpi_subarray_accs.c' is
in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/mpi/test_mpi_subarray_accs'
automake: warning: source file 'tests/mpi/test_win_create.c' is in a
subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/mpi/test_win_create'
automake: warning: source file 'tests/test_accs.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_accs'
automake: warning: source file 'tests/test_accs_dla.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_accs_dla'
automake: warning: source file 'tests/test_assert.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_assert'
automake: warning: source file 'tests/test_group_split.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_group_split'
automake: warning: source file 'tests/test_groups.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_groups'
automake: warning: source file 'tests/test_igop.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_igop'
automake: warning: source file 'tests/test_malloc.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_malloc'
automake: warning: source file 'tests/test_malloc_group.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_malloc_group'
automake: warning: source file 'tests/test_malloc_irreg.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_malloc_irreg'
automake: warning: source file 'tests/test_mutex.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_mutex'
automake: warning: source file 'tests/test_mutex_rmw.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_mutex_rmw'
automake: warning: source file 'tests/test_mutex_trylock.c' is in a
subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_mutex_trylock'
automake: warning: source file 'tests/test_onesided.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_onesided'
automake: warning: source file 'tests/test_onesided_shared.c' is in a
subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_onesided_shared'
automake: warning: source file 'tests/test_onesided_shared_dla.c' is
in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_onesided_shared_dla'
tests/Makefile.mk:77: warning: source file 'tests/test_parmci.c' is in
a subdirectory,
tests/Makefile.mk:77: but option 'subdir-objects' is disabled
Makefile.am:52:   'tests/Makefile.mk' included from here
tests/Makefile.mk:77: warning: source file 'tests/test_parmci_lib.c'
is in a subdirectory,
tests/Makefile.mk:77: but option 'subdir-objects' is disabled
Makefile.am:52:   'tests/Makefile.mk' included from here
automake: warning: source file 'tests/test_puts.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_puts'
automake: warning: source file 'tests/test_puts_gets.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_puts_gets'
automake: warning: source file 'tests/test_puts_gets_dla.c' is in a
subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_puts_gets_dla'
automake: warning: source file 'tests/test_rmw_fadd.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:44:   while processing program 'tests/test_rmw_fadd'
Makefile.am: installing 'm4/depcomp'
parallel-tests: installing 'm4/test-driver'
autoreconf: automake failed with exit status: 1

-- 
Jeff Hammond
jeff.science at gmail.com



More information about the mvapich-discuss mailing list