Bug 1138 - static build with --mpi-enabled is not working
static build with --mpi-enabled is not working
Status: NEEDINFO
Product: ns-3
Classification: Unclassified
Component: mpi
ns-3-dev
Mac powerpc Linux
: P3 normal
Assigned To: George Riley
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-11 16:01 EDT by baofenye
Modified: 2013-12-12 12:35 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description baofenye 2011-05-11 16:01:31 EDT
./waf configure --enable-mpi --enable-static
./waf -v

build failed on both ppc-linux and i686-cygwin.

on ppc-linux:
********************
[1181/1225] cxx_link: build/debug/utils/print-introspected-doxygen_4.o -> build/debug/utils/print-introspected-doxygen
20:35:00 runner system command -> ['/local/bin/g++', 'debug/utils/print-introspected-doxygen_4.o', '-o', '/home/xxx/ns-3-dev/build/debug/utils/print-introspected-doxygen', '-wl,--whole-archive,-bstatic', '-lns3-core', '-lns3-network', '-lns3-internet', '-lns3-olsr', '-lns3-mobility', '-wl,-bdynamic,--no-whole-archive', '-pthread', '-l/apps/packages/torque-2.1.6/lib', '-wl,--rpath', '-wl,/apps/packages/torque-2.1.6/lib', '-l/apps/local/packages/openmpi-1.2.3-32/lib', '-lmpi_cxx', '-lmpi', '-lopen-rte', '-lopen-pal', '-libverbs', '-lrt', '-ltorque', '-lnuma', '-ldl', '-wl,--export-dynamic', '-lnsl', '-lutil', '-lm', '-ldl', '-pthread', '-ldebug', '-wl,--whole-archive,-bstatic', '-lns3-bridge', '-lns3-mpi', '-lns3-config-store', '-lns3-tools', '-lns3-point-to-point', '-lns3-wifi', '-lns3-applications', '-lns3-csma', '-lns3-propagation', '-wl,-bdynamic,--no-whole-archive', '-lxml2', '-lz']
debug/libns3-mpi.a(distributed-simulator-impl_1.o): in function `ns3::distributedsimulatorimpl::run()':
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_byte'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_byte'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_byte'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_byte'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `mpi_allgather'
debug/libns3-mpi.a(distributed-simulator-impl_1.o): in function `mpi::datatype::set_name(char const*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:319: undefined reference to `mpi_type_set_name'
debug/libns3-mpi.a(distributed-simulator-impl_1.o): in function `mpi::datatype::set_attr(int, void const*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:313: undefined reference to `mpi_type_set_attr'
debug/libns3-mpi.a(distributed-simulator-impl_1.o): in function `mpi::datatype::get_name(char*, int&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:307: undefined reference to `mpi_type_get_name'
debug/libns3-mpi.a(distributed-simulator-impl_1.o): in function `mpi::datatype::get_envelope(int&, int&, int&, int&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:301: undefined reference to `mpi_type_get_envelope'
debug/libns3-mpi.a(distributed-simulator-impl_1.o): in function `mpi::datatype::get_contents(int, int, int, int*, int*, mpi::datatype*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:287: undefined reference to `mpi_type_get_contents'
debug/libns3-mpi.a(distributed-simulator-impl_1.o): in function `mpi::datatype::get_attr(int, void*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:269: undefined reference to `mpi_type_get_attr'
debug/libns3-mpi.a(distributed-simulator-impl_1.o): in function `mpi::datatype::delete_attr(int)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:255: undefined reference to `mpi_type_delete_attr'
debug/libns3-mpi.a(distributed-simulator-impl_1.o): in function `mpi::datatype::dup() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:195: undefined reference to `mpi_type_dup'
********************

on cygwin:
********************
[1161/1208] cxx_link: build/debug/utils/print-introspected-doxygen_4.o -> build/debug/utils/print-introspected-doxygen.exe
17:35:01 runner system command -> ['/usr/bin/g++', 'debug/utils/print-introspected-doxygen_4.o', '-o', '/xxx/ns-3-dev/build/debug/utils/print-introspected-doxygen.exe', '-Wl,--enable-auto-import', '-Wl,--enable-auto-import', '-Wl,--enable-auto-import', '-Wl,--whole-archive,-Bstatic', '-lns3-core', '-lns3-network', '-lns3-internet', '-lns3-olsr', '-lns3-mobility', '-Wl,-Bdynamic,--no-whole-archive', '-I/usr/local/include', '-L/usr/local/lib', '-lmpichcxx', '-lpmpich', '-lmpich', '-lopa', '-lmpl', '-lpthread', '-Ldebug', '-Wl,--whole-archive,-Bstatic', '-lns3-bridge', '-lns3-mpi', '-lns3-config-store', '-lns3-tools', '-lns3-point-to-point', '-lns3-wifi', '-lns3-applications', '-lns3-csma', '-lns3-propagation', '-Wl,-Bdynamic,--no-whole-archive', '-lrt']
debug/libns3-mpi.a(distributed-simulator-impl_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `_MPI_Allgather'
debug/libns3-mpi.a(mpi-interface_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/mpi-interface.cc:214: undefined reference to `_MPI_Testany'
debug/libns3-mpi.a(mpi-interface_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/mpi-interface.cc:220: undefined reference to `_MPI_Get_count'
debug/libns3-mpi.a(mpi-interface_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/mpi-interface.cc:258: undefined reference to `_MPI_Irecv'
debug/libns3-mpi.a(mpi-interface_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/mpi-interface.cc:151: undefined reference to `_MPI_Init'
debug/libns3-mpi.a(mpi-interface_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/mpi-interface.cc:152: undefined reference to `_MPI_Barrier'
debug/libns3-mpi.a(mpi-interface_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/mpi-interface.cc:153: undefined reference to `_MPI_Comm_rank'
debug/libns3-mpi.a(mpi-interface_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/mpi-interface.cc:154: undefined reference to `_MPI_Comm_size'
debug/libns3-mpi.a(mpi-interface_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/mpi-interface.cc:164: undefined reference to `_MPI_Irecv'
debug/libns3-mpi.a(mpi-interface_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/mpi-interface.cc:274: undefined reference to `_MPI_Test'
debug/libns3-mpi.a(mpi-interface_1.o):/cygdrive/d/research/parsim/ns-3-dev/build/../src/mpi/model/mpi-interface.cc:197: undefined reference to `_MPI_Isend'
collect2: ld returned 1 exit status
Waf: Leaving directory `/cygdrive/d/research/parsim/ns-3-dev/build'
Build failed:  -> task failed (err #1): 
	{task: cxx_link print-introspected-doxygen_4.o -> print-introspected-doxygen.exe}
*******************

g++ static build is order sensitive (I'm not sure if this is true for all versions and platforms, but it is in my experiments.) The mpi link flags should be placed after ns3 libraries requiring mpi library, but I see it's placed before '-lns3-mpi' in both cases above.

FY
Comment 1 Josh Pelkey 2011-05-14 13:15:20 EDT
Hi, I just tried this on an i686 linux machine with gcc 4.1.2 and it built fine. This might be architecture specific. We will have to investigate more.
Comment 2 John Abraham 2011-08-16 15:09:48 EDT
Hi,
Is this still an issue?
Comment 3 baofenye 2011-09-16 15:13:08 EDT
The bug can be reproduced on Mac powerpc linux with the latest source code. I didn't try to reproduce it on cygwin since it's not my concern any more. I have changed to a platform specific bug. Please note that because of Bug 1136 (static build option is missed out), to enable static building on powerpc linux, you need a workaround:

******************************************************
--- a/wscript   Fri Sep 16 11:22:52 2011 -0400
+++ b/wscript   Fri Sep 16 15:04:00 2011 -0400
@@ -348,6 +348,9 @@
                         env['ENABLE_STATIC_NS3'] = True
                     if Options.options.enable_shared_and_static:
                         env['ENABLE_SHARED_AND_STATIC_NS3'] = True
+            else:
+                conf.report_optional_feature("static", "Static build", True, '')
+                env['ENABLE_STATIC_NS3'] = True
         elif env['CXX_NAME'] == 'gcc' and \
                 (env['PLATFORM'].startswith('darwin') or \
                      env['PLATFORM'].startswith('cygwin')):

******************************************************

./waf configure --enable-mpi --enable-static
./waf -v

Here is the output:

******************************************************
[1182/1220] cxx_link: build/debug/utils/test-runner_1.o -> build/debug/utils/test-runner
14:55:06 runner system command -> ['/local/bin/g++', 'debug/utils/test-runner_1.o', '-o', '/home/baofenye/ydl/temp/ns-3-dev/build/debug/utils/test-runner', '-Wl,--whole-archive,-Bstatic', '-lns3-core', '-Wl,-Bdynamic,--no-whole-archive', '-pthread', '-L/apps/packages/torque-2.1.6/lib', '-Wl,--rpath', '-Wl,/apps/packages/torque-2.1.6/lib', '-L/apps/local/packages/openmpi-1.2.3-32/lib', '-lmpi_cxx', '-lmpi', '-lopen-rte', '-lopen-pal', '-libverbs', '-lrt', '-ltorque', '-lnuma', '-ldl', '-Wl,--export-dynamic', '-lnsl', '-lutil', '-lm', '-ldl', '-pthread', '-Ldebug', '-Wl,--whole-archive,-Bstatic', '-lns3-network', '-lns3-config-store', '-lns3-internet', '-lns3-propagation', '-lns3-point-to-point', '-lns3-csma', '-lns3-emu', '-lns3-bridge', '-lns3-tap-bridge', '-lns3-virtual-net-device', '-lns3-applications', '-lns3-nix-vector-routing', '-lns3-olsr', '-lns3-aodv', '-lns3-dsdv', '-lns3-mobility', '-lns3-wifi', '-lns3-netanim', '-lns3-stats', '-lns3-uan', '-lns3-spectrum', '-lns3-mesh', '-lns3-test', '-lns3-ns3tcp', '-lns3-ns3wifi', '-lns3-flow-monitor', '-lns3-wimax', '-lns3-lte', '-lns3-mpi', '-lns3-topology-read', '-lns3-energy', '-lns3-tools', '-lns3-visualizer', '-lns3-point-to-point-layout', '-lns3-csma-layout', '-lns3-template', '-Wl,-Bdynamic,--no-whole-archive', '-lsqlite3', '-lxml2', '-lz']
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `ns3::DistributedSimulatorImpl::Run()':
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_byte'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_byte'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_byte'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_byte'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to `MPI_Allgather'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Set_name(char const*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:319: undefined reference to `MPI_Type_set_name'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Set_attr(int, void const*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:313: undefined reference to `MPI_Type_set_attr'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Get_name(char*, int&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:307: undefined reference to `MPI_Type_get_name'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Get_envelope(int&, int&, int&, int&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:301: undefined reference to `MPI_Type_get_envelope'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Get_contents(int, int, int, int*, int*, MPI::Datatype*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:287: undefined reference to `MPI_Type_get_contents'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Get_attr(int, void*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:269: undefined reference to `MPI_Type_get_attr'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Delete_attr(int)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:255: undefined reference to `MPI_Type_delete_attr'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Dup() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:195: undefined reference to `MPI_Type_dup'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Create_subarray(int, int const*, int const*, int const*, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:181: undefined reference to `MPI_Type_create_subarray'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Pack_size(int, MPI::Comm const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:162: undefined reference to `MPI_Pack_size'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Unpack(void const*, int, void*, int, int&, MPI::Comm const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:155: undefined reference to `MPI_Unpack'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Pack(void const*, int, void*, int, int&, MPI::Comm const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:146: undefined reference to `MPI_Pack'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Commit()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:137: undefined reference to `MPI_Type_commit'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Get_true_extent(int&, int&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:131: undefined reference to `MPI_Type_get_true_extent'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Get_extent(int&, int&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:125: undefined reference to `MPI_Type_get_extent'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Get_size() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:118: undefined reference to `MPI_Type_size'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Create_resized(int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:110: undefined reference to `MPI_Type_create_resized'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Create_indexed_block(int, int, int const*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:101: undefined reference to `MPI_Type_create_indexed_block'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Create_hvector(int, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:90: undefined reference to `MPI_Type_create_hvector'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Create_hindexed(int, int const*, int const*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:80: undefined reference to `MPI_Type_create_hindexed'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Create_indexed(int, int const*, int const*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:51: undefined reference to `MPI_Type_indexed'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Create_vector(int, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:40: undefined reference to `MPI_Type_vector'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Datatype::Create_contiguous(int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:31: undefined reference to `MPI_Type_contiguous'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Prequest::Start()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:296: undefined reference to `MPI_Start'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Grequest::Complete()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:364: undefined reference to `MPI_Grequest_complete'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Request::Get_status() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:337: undefined reference to `MPI_Request_get_status'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Request::Get_status(MPI::Status&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:323: undefined reference to `MPI_Request_get_status'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Request::Cancel() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:290: undefined reference to `MPI_Cancel'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Request::Free()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:41: undefined reference to `MPI_Request_free'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Request::Test()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:56: undefined reference to `MPI_Test'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Request::Test(MPI::Status&)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:48: undefined reference to `MPI_Test'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Request::Wait()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:35: undefined reference to `MPI_Wait'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Request::Wait(MPI::Status&)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:29: undefined reference to `MPI_Wait'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intercomm::Clone() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:32: undefined reference to `MPI_Comm_dup'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `Intracomm':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm.h:25: undefined reference to `MPI::Comm::Comm()'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Is_inter() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:297: undefined reference to `MPI_Comm_test_inter'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Is_initialized()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/functions_inln.h:119: undefined reference to `MPI_Initialized'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `Intracomm':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:23: undefined reference to `MPI::Comm::Comm()'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:25: undefined reference to `ompi_mpi_comm_null'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:25: undefined reference to `ompi_mpi_comm_null'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:26: undefined reference to `MPI_Comm_test_inter'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:28: undefined reference to `ompi_mpi_comm_null'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:28: undefined reference to `ompi_mpi_comm_null'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Clone() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:65: undefined reference to `MPI_Comm_dup'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Cartcomm::Map(int, int const*, bool const*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:124: undefined reference to `MPI_Cart_map'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Cartcomm::Get_dim() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:60: undefined reference to `MPI_Cartdim_get'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `Cartcomm':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:28: undefined reference to `ompi_mpi_comm_null'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:28: undefined reference to `ompi_mpi_comm_null'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:29: undefined reference to `MPI_Topo_test'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:33: undefined reference to `ompi_mpi_comm_null'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:33: undefined reference to `ompi_mpi_comm_null'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Cartcomm::Sub(bool const*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:105: undefined reference to `MPI_Cartdim_get'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:111: undefined reference to `MPI_Cart_sub'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Cartcomm::Clone() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:134: undefined reference to `MPI_Comm_dup'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `Graphcomm':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:146: undefined reference to `ompi_mpi_comm_null'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:146: undefined reference to `ompi_mpi_comm_null'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:147: undefined reference to `MPI_Topo_test'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:151: undefined reference to `ompi_mpi_comm_null'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:151: undefined reference to `ompi_mpi_comm_null'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Graphcomm::Clone() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:215: undefined reference to `MPI_Comm_dup'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Get_topology() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:517: undefined reference to `MPI_Topo_test'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Cartcomm::Shift(int, int, int&, int&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:98: undefined reference to `MPI_Cart_shift'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Cartcomm::Get_coords(int, int, int*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:91: undefined reference to `MPI_Cart_coords'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Cartcomm::Get_cart_rank(int const*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:84: undefined reference to `MPI_Cart_rank'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Cartcomm::Get_topo(int, int*, bool*, int*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:73: undefined reference to `MPI_Cart_get'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Graphcomm::Map(int, int const*, int const*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:207: undefined reference to `MPI_Graph_map'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Graphcomm::Get_neighbors(int, int, int*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:199: undefined reference to `MPI_Graph_neighbors'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Graphcomm::Get_neighbors_count(int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:191: undefined reference to `MPI_Graph_neighbors_count'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Graphcomm::Get_topo(int, int, int*, int*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:184: undefined reference to `MPI_Graph_get'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Graphcomm::Get_dims(int*, int*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:177: undefined reference to `MPI_Graphdims_get'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Spawn_multiple(int, char const**, char const***, int const*, MPI::Info const*, int, int*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:227: undefined reference to `MPI_Comm_spawn_multiple'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Spawn_multiple(int, char const**, char const***, int const*, MPI::Info const*, int)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:194: undefined reference to `MPI_Comm_spawn_multiple'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Spawn(char const*, char const**, int, MPI::Info const&, int, int*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:174: undefined reference to `MPI_Comm_spawn'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Spawn(char const*, char const**, int, MPI::Info const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:161: undefined reference to `MPI_Comm_spawn'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Connect(char const*, MPI::Info const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:148: undefined reference to `MPI_Comm_connect'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Accept(char const*, MPI::Info const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:136: undefined reference to `MPI_Comm_accept'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Create_graph(int, int const*, int const*, bool) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:120: undefined reference to `MPI_Graph_create'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Create_cart(int, int const*, bool const*, bool) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:109: undefined reference to `MPI_Cart_create'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Create_intercomm(int, MPI::Comm const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:95: undefined reference to `MPI_Intercomm_create'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Split(int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:82: undefined reference to `MPI_Comm_split'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intercomm::Split(int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:78: undefined reference to `MPI_Comm_split'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Create(MPI::Group const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:74: undefined reference to `MPI_Comm_create'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intercomm::Create(MPI::Group const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:70: undefined reference to `MPI_Comm_create'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Exscan(void const*, void*, int, MPI::Datatype const&, MPI::Op const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:50: undefined reference to `MPI_Exscan'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intracomm::Scan(void const*, void*, int, MPI::Datatype const&, MPI::Op const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:42: undefined reference to `MPI_Scan'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intercomm::Merge(bool)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:57: undefined reference to `MPI_Intercomm_merge'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intercomm::Get_remote_group() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:49: undefined reference to `MPI_Comm_remote_group'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Intercomm::Get_remote_size() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:41: undefined reference to `MPI_Comm_remote_size'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Delete_attr(int)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:630: undefined reference to `MPI_Attr_delete'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Get_attr(int, void*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:623: undefined reference to `MPI_Attr_get'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Set_attr(int, void const*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:616: undefined reference to `MPI_Attr_put'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Abort(int)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:528: undefined reference to `MPI_Abort'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Set_name(char const*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:506: undefined reference to `MPI_Comm_set_name'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Get_name(char*, int&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:500: undefined reference to `MPI_Comm_get_name'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Disconnect()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:472: undefined reference to `MPI_Comm_disconnect'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Reduce_scatter(void const*, void*, int*, MPI::Datatype const&, MPI::Op const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:462: undefined reference to `MPI_Reduce_scatter'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Allreduce(void const*, void*, int, MPI::Datatype const&, MPI::Op const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:452: undefined reference to `MPI_Allreduce'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Reduce(void const*, void*, int, MPI::Datatype const&, MPI::Op const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:445: undefined reference to `MPI_Reduce'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Alltoallw(void const*, int const*, int const*, MPI::Datatype const*, void*, int const*, int const*, MPI::Datatype const*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:435: undefined reference to `MPI_Alltoallw'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Alltoallv(void const*, int const*, int const*, MPI::Datatype const&, void*, int const*, int const*, MPI::Datatype const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:409: undefined reference to `MPI_Alltoallv'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Alltoall(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:394: undefined reference to `MPI_Alltoall'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Allgatherv(void const*, int, MPI::Datatype const&, void*, int const*, int const*, MPI::Datatype const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:384: undefined reference to `MPI_Allgatherv'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Allgather(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:371: undefined reference to `MPI_Allgather'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Scatterv(void const*, int const*, int const*, MPI::Datatype const&, void*, int, MPI::Datatype const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:361: undefined reference to `MPI_Scatterv'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Scatter(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:348: undefined reference to `MPI_Scatter'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Gatherv(void const*, int, MPI::Datatype const&, void*, int const*, int const*, MPI::Datatype const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:338: undefined reference to `MPI_Gatherv'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Gather(void const*, int, MPI::Datatype const&, void*, int, MPI::Datatype const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:326: undefined reference to `MPI_Gather'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Bcast(void*, int, MPI::Datatype const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:316: undefined reference to `MPI_Bcast'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Barrier() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:309: undefined reference to `MPI_Barrier'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Free()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:290: undefined reference to `MPI_Comm_free'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Get_rank() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:274: undefined reference to `MPI_Comm_rank'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Get_size() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:266: undefined reference to `MPI_Comm_size'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Get_group() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:258: undefined reference to `MPI_Comm_group'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Sendrecv_replace(void*, int, MPI::Datatype const&, int, int, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:247: undefined reference to `MPI_Sendrecv_replace'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Sendrecv_replace(void*, int, MPI::Datatype const&, int, int, int, int, MPI::Status&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:236: undefined reference to `MPI_Sendrecv_replace'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Sendrecv(void const*, int, MPI::Datatype const&, int, int, void*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:225: undefined reference to `MPI_Sendrecv'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Sendrecv(void const*, int, MPI::Datatype const&, int, int, void*, int, MPI::Datatype const&, int, int, MPI::Status&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:211: undefined reference to `MPI_Sendrecv'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Recv_init(void*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:196: undefined reference to `MPI_Recv_init'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Rsend_init(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:186: undefined reference to `MPI_Rsend_init'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Ssend_init(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:176: undefined reference to `MPI_Ssend_init'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Bsend_init(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:166: undefined reference to `MPI_Bsend_init'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Send_init(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:156: undefined reference to `MPI_Send_init'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Probe(int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:147: undefined reference to `MPI_Probe'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Probe(int, int, MPI::Status&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:141: undefined reference to `MPI_Probe'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Iprobe(int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:134: undefined reference to `MPI_Iprobe'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Iprobe(int, int, MPI::Status&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:126: undefined reference to `MPI_Iprobe'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Irecv(void*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:117: undefined reference to `MPI_Irecv'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Irsend(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:107: undefined reference to `MPI_Irsend'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Issend(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:97: undefined reference to `MPI_Issend'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Ibsend(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:87: undefined reference to `MPI_Ibsend'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Isend(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:77: undefined reference to `MPI_Isend'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Rsend(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:68: undefined reference to `MPI_Rsend'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Ssend(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:60: undefined reference to `MPI_Ssend'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Bsend(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:52: undefined reference to `MPI_Bsend'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Recv(void*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:44: undefined reference to `MPI_Recv'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Recv(void*, int, MPI::Datatype const&, int, int, MPI::Status&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:36: undefined reference to `MPI_Recv'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Comm::Send(void const*, int, MPI::Datatype const&, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:29: undefined reference to `MPI_Send'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Group::Free()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:127: undefined reference to `MPI_Group_free'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Group::Range_excl(int, int const (*) [3]) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:120: undefined reference to `MPI_Group_range_excl'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Group::Range_incl(int, int const (*) [3]) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:106: undefined reference to `MPI_Group_range_incl'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Group::Excl(int, int const*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:92: undefined reference to `MPI_Group_excl'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Group::Incl(int, int const*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:84: undefined reference to `MPI_Group_incl'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Group::Get_rank() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:36: undefined reference to `MPI_Group_rank'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Group::Get_size() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:28: undefined reference to `MPI_Group_size'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Op::Free()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/op_inln.h:130: undefined reference to `MPI_Op_free'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/op_inln.h:122: undefined reference to `ompi_mpi_cxx_op_intercept'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/op_inln.h:122: undefined reference to `ompi_mpi_cxx_op_intercept'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/op_inln.h:122: undefined reference to `MPI_Op_create'
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/op_inln.h:123: undefined reference to `ompi_op_set_cxx_callback'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Errhandler::Free()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/errhandler_inln.h:44: undefined reference to `MPI_Errhandler_free'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Status::Set_cancelled(bool)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/status_inln.h:103: undefined reference to `MPI_Status_set_cancelled'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Status::Set_elements(MPI::Datatype const&, int)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/status_inln.h:97: undefined reference to `MPI_Status_set_elements'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Status::Get_elements(MPI::Datatype const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/status_inln.h:45: undefined reference to `MPI_Get_elements'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Status::Is_cancelled() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/status_inln.h:37: undefined reference to `MPI_Test_cancelled'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Status::Get_count(MPI::Datatype const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/status_inln.h:29: undefined reference to `MPI_Get_count'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Info::Set(char const*, char const*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:82: undefined reference to `MPI_Info_set'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Info::Get_valuelen(char const*, int&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:75: undefined reference to `MPI_Info_get_valuelen'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Info::Get_nthkey(int, char*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:68: undefined reference to `MPI_Info_get_nthkey'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Info::Get_nkeys() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:61: undefined reference to `MPI_Info_get_nkeys'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Info::Get(char const*, int, char*) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:53: undefined reference to `MPI_Info_get'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Info::Free()':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:46: undefined reference to `MPI_Info_free'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Info::Dup() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:39: undefined reference to `MPI_Info_dup'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Info::Delete(char const*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:32: undefined reference to `MPI_Info_delete'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Set_name(char const*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:289: undefined reference to `MPI_Win_set_name'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Set_attr(int, void const*)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:282: undefined reference to `MPI_Win_set_attr'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Get_name(char*, int&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:275: undefined reference to `MPI_Win_get_name'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Delete_attr(int)':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:240: undefined reference to `MPI_Win_delete_attr'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Call_errhandler(int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:181: undefined reference to `MPI_Win_call_errhandler'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Wait() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:170: undefined reference to `MPI_Win_wait'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Unlock(int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:163: undefined reference to `MPI_Win_unlock'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Test() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:154: undefined reference to `MPI_Win_test'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Start(MPI::Group const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:146: undefined reference to `MPI_Win_start'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Put(void const*, int, MPI::Datatype const&, int, int, int, MPI::Datatype const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:138: undefined reference to `MPI_Put'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Post(MPI::Group const&, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:125: undefined reference to `MPI_Win_post'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Lock(int, int, int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:118: undefined reference to `MPI_Win_lock'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Get_group() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:110: undefined reference to `MPI_Win_get_group'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Get(void const*, int, MPI::Datatype const&, int, int, int, MPI::Datatype const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:101: undefined reference to `MPI_Get'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Fence(int) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:88: undefined reference to `MPI_Win_fence'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Complete() const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:70: undefined reference to `MPI_Win_complete'
debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `MPI::Win::Accumulate(void const*, int, MPI::Datatype const&, int, int, int, MPI::Datatype const&, MPI::Op const&) const':
/apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:62: undefined reference to `MPI_Accumulate'
debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI3WinE[vtable for MPI::Win]+0x14): undefined reference to `MPI::Win::Set_errhandler(MPI::Errhandler const&)'
debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI3WinE[vtable for MPI::Win]+0x24): undefined reference to `MPI::Win::Free()'
debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI9IntercommE[vtable for MPI::Intercomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI9GraphcommE[vtable for MPI::Graphcomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI8CartcommE[vtable for MPI::Cartcomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI9IntracommE[vtable for MPI::Intracomm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI4CommE[vtable for MPI::Comm]+0xd4): undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI8DatatypeE[vtable for MPI::Datatype]+0x3c): undefined reference to `MPI::Datatype::Free()'
debug/libns3-mpi.a(mpi-interface_148.o): In function `ns3::MpiInterface::Disable()':
../src/mpi/model/mpi-interface.cc:292: undefined reference to `MPI_Initialized'
../src/mpi/model/mpi-interface.cc:295: undefined reference to `MPI_Finalize'
debug/libns3-mpi.a(mpi-interface_148.o): In function `ns3::MpiInterface::TestSendComplete()':
../src/mpi/model/mpi-interface.cc:274: undefined reference to `MPI_Test'
debug/libns3-mpi.a(mpi-interface_148.o): In function `ns3::MpiInterface::SendPacket(ns3::Ptr<ns3::Packet>, ns3::Time const&, unsigned int, unsigned int)':
../src/mpi/model/mpi-interface.cc:197: undefined reference to `ompi_mpi_char'
../src/mpi/model/mpi-interface.cc:197: undefined reference to `ompi_mpi_char'
../src/mpi/model/mpi-interface.cc:197: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:197: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:197: undefined reference to `MPI_Isend'
debug/libns3-mpi.a(mpi-interface_148.o): In function `ns3::MpiInterface::ReceiveMessages()':
../src/mpi/model/mpi-interface.cc:214: undefined reference to `MPI_Testany'
../src/mpi/model/mpi-interface.cc:220: undefined reference to `ompi_mpi_char'
../src/mpi/model/mpi-interface.cc:220: undefined reference to `ompi_mpi_char'
../src/mpi/model/mpi-interface.cc:220: undefined reference to `MPI_Get_count'
../src/mpi/model/mpi-interface.cc:258: undefined reference to `ompi_mpi_char'
../src/mpi/model/mpi-interface.cc:258: undefined reference to `ompi_mpi_char'
../src/mpi/model/mpi-interface.cc:258: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:258: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:258: undefined reference to `MPI_Irecv'
debug/libns3-mpi.a(mpi-interface_148.o): In function `ns3::MpiInterface::Enable(int*, char***)':
../src/mpi/model/mpi-interface.cc:151: undefined reference to `MPI_Init'
../src/mpi/model/mpi-interface.cc:152: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:152: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:152: undefined reference to `MPI_Barrier'
../src/mpi/model/mpi-interface.cc:153: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:153: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:153: undefined reference to `MPI_Comm_rank'
../src/mpi/model/mpi-interface.cc:154: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:154: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:154: undefined reference to `MPI_Comm_size'
../src/mpi/model/mpi-interface.cc:164: undefined reference to `ompi_mpi_char'
../src/mpi/model/mpi-interface.cc:164: undefined reference to `ompi_mpi_char'
../src/mpi/model/mpi-interface.cc:164: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:164: undefined reference to `ompi_mpi_comm_world'
../src/mpi/model/mpi-interface.cc:164: undefined reference to `MPI_Irecv'
collect2: ld returned 1 exit status
******************************************************
Comment 4 John Abraham 2011-09-16 21:20:30 EDT
this is still not reproducible on our ppc

  512  ./waf -d debug configure --enable-mpi --enable-examples --enable-tests --enable-static
  513  ./waf
darwin-ppc:ns-3-dev nsnam$ uname -ar
Darwin darwin-ppc 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh

darwin-ppc:ns-3-dev nsnam$ mpirun -np 2 ./waf --run "simple-distributed"
Waf: Entering directory `/Users/nsnam/jabraham3/ns-3-dev/build'
Waf: Entering directory `/Users/nsnam/jabraham3/ns-3-dev/build'
Waf: Leaving directory `/Users/nsnam/jabraham3/ns-3-dev/build'
'build' finished successfully (12.501s)
Waf: Leaving directory `/Users/nsnam/jabraham3/ns-3-dev/build'
'build' finished successfully (12.624s)
Received 512 bytes from 10.1.1.1 [03-06-0a:01:01:01:01:c0] total Rx 512
Received 512 bytes from 10.1.2.1 [03-06-0a:01:02:01:01:c0] total Rx 512
Received 512 bytes from 10.1.3.1 [03-06-0a:01:03:01:01:c0] total Rx 512
Received 512 bytes from 10.1.4.1 [03-06-0a:01:04:01:01:c0] total Rx 512

I also tried just ./waf configure --enable-mpi --enable-static

(In reply to comment #3)
> The bug can be reproduced on Mac powerpc linux with the latest source code. I
> didn't try to reproduce it on cygwin since it's not my concern any more. I have
> changed to a platform specific bug. Please note that because of Bug 1136
> (static build option is missed out), to enable static building on powerpc
> linux, you need a workaround:
> 
> ******************************************************
> --- a/wscript   Fri Sep 16 11:22:52 2011 -0400
> +++ b/wscript   Fri Sep 16 15:04:00 2011 -0400
> @@ -348,6 +348,9 @@
>                          env['ENABLE_STATIC_NS3'] = True
>                      if Options.options.enable_shared_and_static:
>                          env['ENABLE_SHARED_AND_STATIC_NS3'] = True
> +            else:
> +                conf.report_optional_feature("static", "Static build", True,
> '')
> +                env['ENABLE_STATIC_NS3'] = True
>          elif env['CXX_NAME'] == 'gcc' and \
>                  (env['PLATFORM'].startswith('darwin') or \
>                       env['PLATFORM'].startswith('cygwin')):
> 
> ******************************************************
> 
> ./waf configure --enable-mpi --enable-static
> ./waf -v
> 
> Here is the output:
> 
> ******************************************************
> [1182/1220] cxx_link: build/debug/utils/test-runner_1.o ->
> build/debug/utils/test-runner
> 14:55:06 runner system command -> ['/local/bin/g++',
> 'debug/utils/test-runner_1.o', '-o',
> '/home/baofenye/ydl/temp/ns-3-dev/build/debug/utils/test-runner',
> '-Wl,--whole-archive,-Bstatic', '-lns3-core',
> '-Wl,-Bdynamic,--no-whole-archive', '-pthread',
> '-L/apps/packages/torque-2.1.6/lib', '-Wl,--rpath',
> '-Wl,/apps/packages/torque-2.1.6/lib',
> '-L/apps/local/packages/openmpi-1.2.3-32/lib', '-lmpi_cxx', '-lmpi',
> '-lopen-rte', '-lopen-pal', '-libverbs', '-lrt', '-ltorque', '-lnuma', '-ldl',
> '-Wl,--export-dynamic', '-lnsl', '-lutil', '-lm', '-ldl', '-pthread',
> '-Ldebug', '-Wl,--whole-archive,-Bstatic', '-lns3-network',
> '-lns3-config-store', '-lns3-internet', '-lns3-propagation',
> '-lns3-point-to-point', '-lns3-csma', '-lns3-emu', '-lns3-bridge',
> '-lns3-tap-bridge', '-lns3-virtual-net-device', '-lns3-applications',
> '-lns3-nix-vector-routing', '-lns3-olsr', '-lns3-aodv', '-lns3-dsdv',
> '-lns3-mobility', '-lns3-wifi', '-lns3-netanim', '-lns3-stats', '-lns3-uan',
> '-lns3-spectrum', '-lns3-mesh', '-lns3-test', '-lns3-ns3tcp', '-lns3-ns3wifi',
> '-lns3-flow-monitor', '-lns3-wimax', '-lns3-lte', '-lns3-mpi',
> '-lns3-topology-read', '-lns3-energy', '-lns3-tools', '-lns3-visualizer',
> '-lns3-point-to-point-layout', '-lns3-csma-layout', '-lns3-template',
> '-Wl,-Bdynamic,--no-whole-archive', '-lsqlite3', '-lxml2', '-lz']
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `ns3::DistributedSimulatorImpl::Run()':
> ../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to
> `ompi_mpi_byte'
> ../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to
> `ompi_mpi_byte'
> ../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to
> `ompi_mpi_byte'
> ../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to
> `ompi_mpi_byte'
> ../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/distributed-simulator-impl.cc:291: undefined reference to
> `MPI_Allgather'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Set_name(char const*)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:319:
> undefined reference to `MPI_Type_set_name'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Set_attr(int, void const*)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:313:
> undefined reference to `MPI_Type_set_attr'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Get_name(char*, int&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:307:
> undefined reference to `MPI_Type_get_name'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Get_envelope(int&, int&, int&, int&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:301:
> undefined reference to `MPI_Type_get_envelope'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Get_contents(int, int, int, int*, int*, MPI::Datatype*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:287:
> undefined reference to `MPI_Type_get_contents'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Get_attr(int, void*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:269:
> undefined reference to `MPI_Type_get_attr'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Delete_attr(int)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:255:
> undefined reference to `MPI_Type_delete_attr'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Dup() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:195:
> undefined reference to `MPI_Type_dup'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Create_subarray(int, int const*, int const*, int const*, int)
> const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:181:
> undefined reference to `MPI_Type_create_subarray'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Pack_size(int, MPI::Comm const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:162:
> undefined reference to `MPI_Pack_size'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Unpack(void const*, int, void*, int, int&, MPI::Comm const&)
> const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:155:
> undefined reference to `MPI_Unpack'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Pack(void const*, int, void*, int, int&, MPI::Comm const&)
> const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:146:
> undefined reference to `MPI_Pack'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Commit()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:137:
> undefined reference to `MPI_Type_commit'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Get_true_extent(int&, int&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:131:
> undefined reference to `MPI_Type_get_true_extent'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Get_extent(int&, int&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:125:
> undefined reference to `MPI_Type_get_extent'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Get_size() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:118:
> undefined reference to `MPI_Type_size'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Create_resized(int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:110:
> undefined reference to `MPI_Type_create_resized'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Create_indexed_block(int, int, int const*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:101:
> undefined reference to `MPI_Type_create_indexed_block'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Create_hvector(int, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:90:
> undefined reference to `MPI_Type_create_hvector'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Create_hindexed(int, int const*, int const*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:80:
> undefined reference to `MPI_Type_create_hindexed'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Create_indexed(int, int const*, int const*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:51:
> undefined reference to `MPI_Type_indexed'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Create_vector(int, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:40:
> undefined reference to `MPI_Type_vector'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Datatype::Create_contiguous(int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/datatype_inln.h:31:
> undefined reference to `MPI_Type_contiguous'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Prequest::Start()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:296:
> undefined reference to `MPI_Start'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Grequest::Complete()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:364:
> undefined reference to `MPI_Grequest_complete'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Request::Get_status() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:337:
> undefined reference to `MPI_Request_get_status'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Request::Get_status(MPI::Status&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:323:
> undefined reference to `MPI_Request_get_status'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Request::Cancel() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:290:
> undefined reference to `MPI_Cancel'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Request::Free()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:41:
> undefined reference to `MPI_Request_free'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Request::Test()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:56:
> undefined reference to `MPI_Test'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Request::Test(MPI::Status&)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:48:
> undefined reference to `MPI_Test'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Request::Wait()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:35:
> undefined reference to `MPI_Wait'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Request::Wait(MPI::Status&)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/request_inln.h:29:
> undefined reference to `MPI_Wait'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intercomm::Clone() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:32:
> undefined reference to `MPI_Comm_dup'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `Intracomm':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm.h:25:
> undefined reference to `MPI::Comm::Comm()'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Is_inter() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:297:
> undefined reference to `MPI_Comm_test_inter'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Is_initialized()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/functions_inln.h:119:
> undefined reference to `MPI_Initialized'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `Intracomm':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:23:
> undefined reference to `MPI::Comm::Comm()'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:25:
> undefined reference to `ompi_mpi_comm_null'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:25:
> undefined reference to `ompi_mpi_comm_null'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:26:
> undefined reference to `MPI_Comm_test_inter'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:28:
> undefined reference to `ompi_mpi_comm_null'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:28:
> undefined reference to `ompi_mpi_comm_null'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Clone() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:65:
> undefined reference to `MPI_Comm_dup'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Cartcomm::Map(int, int const*, bool const*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:124:
> undefined reference to `MPI_Cart_map'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Cartcomm::Get_dim() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:60:
> undefined reference to `MPI_Cartdim_get'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `Cartcomm':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:28:
> undefined reference to `ompi_mpi_comm_null'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:28:
> undefined reference to `ompi_mpi_comm_null'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:29:
> undefined reference to `MPI_Topo_test'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:33:
> undefined reference to `ompi_mpi_comm_null'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:33:
> undefined reference to `ompi_mpi_comm_null'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Cartcomm::Sub(bool const*)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:105:
> undefined reference to `MPI_Cartdim_get'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:111:
> undefined reference to `MPI_Cart_sub'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Cartcomm::Clone() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:134:
> undefined reference to `MPI_Comm_dup'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function `Graphcomm':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:146:
> undefined reference to `ompi_mpi_comm_null'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:146:
> undefined reference to `ompi_mpi_comm_null'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:147:
> undefined reference to `MPI_Topo_test'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:151:
> undefined reference to `ompi_mpi_comm_null'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:151:
> undefined reference to `ompi_mpi_comm_null'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Graphcomm::Clone() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:215:
> undefined reference to `MPI_Comm_dup'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Get_topology() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:517:
> undefined reference to `MPI_Topo_test'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Cartcomm::Shift(int, int, int&, int&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:98:
> undefined reference to `MPI_Cart_shift'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Cartcomm::Get_coords(int, int, int*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:91:
> undefined reference to `MPI_Cart_coords'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Cartcomm::Get_cart_rank(int const*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:84:
> undefined reference to `MPI_Cart_rank'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Cartcomm::Get_topo(int, int*, bool*, int*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:73:
> undefined reference to `MPI_Cart_get'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Graphcomm::Map(int, int const*, int const*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:207:
> undefined reference to `MPI_Graph_map'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Graphcomm::Get_neighbors(int, int, int*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:199:
> undefined reference to `MPI_Graph_neighbors'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Graphcomm::Get_neighbors_count(int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:191:
> undefined reference to `MPI_Graph_neighbors_count'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Graphcomm::Get_topo(int, int, int*, int*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:184:
> undefined reference to `MPI_Graph_get'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Graphcomm::Get_dims(int*, int*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/topology_inln.h:177:
> undefined reference to `MPI_Graphdims_get'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Spawn_multiple(int, char const**, char const***, int const*,
> MPI::Info const*, int, int*)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:227:
> undefined reference to `MPI_Comm_spawn_multiple'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Spawn_multiple(int, char const**, char const***, int const*,
> MPI::Info const*, int)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:194:
> undefined reference to `MPI_Comm_spawn_multiple'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Spawn(char const*, char const**, int, MPI::Info const&, int,
> int*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:174:
> undefined reference to `MPI_Comm_spawn'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Spawn(char const*, char const**, int, MPI::Info const&, int)
> const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:161:
> undefined reference to `MPI_Comm_spawn'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Connect(char const*, MPI::Info const&, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:148:
> undefined reference to `MPI_Comm_connect'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Accept(char const*, MPI::Info const&, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:136:
> undefined reference to `MPI_Comm_accept'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Create_graph(int, int const*, int const*, bool) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:120:
> undefined reference to `MPI_Graph_create'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Create_cart(int, int const*, bool const*, bool) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:109:
> undefined reference to `MPI_Cart_create'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Create_intercomm(int, MPI::Comm const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:95:
> undefined reference to `MPI_Intercomm_create'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Split(int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:82:
> undefined reference to `MPI_Comm_split'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intercomm::Split(int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:78:
> undefined reference to `MPI_Comm_split'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Create(MPI::Group const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:74:
> undefined reference to `MPI_Comm_create'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intercomm::Create(MPI::Group const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:70:
> undefined reference to `MPI_Comm_create'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Exscan(void const*, void*, int, MPI::Datatype const&, MPI::Op
> const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:50:
> undefined reference to `MPI_Exscan'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intracomm::Scan(void const*, void*, int, MPI::Datatype const&, MPI::Op
> const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intracomm_inln.h:42:
> undefined reference to `MPI_Scan'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intercomm::Merge(bool)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:57:
> undefined reference to `MPI_Intercomm_merge'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intercomm::Get_remote_group() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:49:
> undefined reference to `MPI_Comm_remote_group'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Intercomm::Get_remote_size() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/intercomm_inln.h:41:
> undefined reference to `MPI_Comm_remote_size'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Delete_attr(int)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:630:
> undefined reference to `MPI_Attr_delete'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Get_attr(int, void*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:623:
> undefined reference to `MPI_Attr_get'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Set_attr(int, void const*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:616:
> undefined reference to `MPI_Attr_put'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Abort(int)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:528:
> undefined reference to `MPI_Abort'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Set_name(char const*)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:506:
> undefined reference to `MPI_Comm_set_name'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Get_name(char*, int&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:500:
> undefined reference to `MPI_Comm_get_name'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Disconnect()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:472:
> undefined reference to `MPI_Comm_disconnect'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Reduce_scatter(void const*, void*, int*, MPI::Datatype const&,
> MPI::Op const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:462:
> undefined reference to `MPI_Reduce_scatter'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Allreduce(void const*, void*, int, MPI::Datatype const&, MPI::Op
> const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:452:
> undefined reference to `MPI_Allreduce'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Reduce(void const*, void*, int, MPI::Datatype const&, MPI::Op
> const&, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:445:
> undefined reference to `MPI_Reduce'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Alltoallw(void const*, int const*, int const*, MPI::Datatype
> const*, void*, int const*, int const*, MPI::Datatype const*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:435:
> undefined reference to `MPI_Alltoallw'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Alltoallv(void const*, int const*, int const*, MPI::Datatype
> const&, void*, int const*, int const*, MPI::Datatype const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:409:
> undefined reference to `MPI_Alltoallv'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Alltoall(void const*, int, MPI::Datatype const&, void*, int,
> MPI::Datatype const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:394:
> undefined reference to `MPI_Alltoall'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Allgatherv(void const*, int, MPI::Datatype const&, void*, int
> const*, int const*, MPI::Datatype const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:384:
> undefined reference to `MPI_Allgatherv'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Allgather(void const*, int, MPI::Datatype const&, void*, int,
> MPI::Datatype const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:371:
> undefined reference to `MPI_Allgather'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Scatterv(void const*, int const*, int const*, MPI::Datatype const&,
> void*, int, MPI::Datatype const&, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:361:
> undefined reference to `MPI_Scatterv'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Scatter(void const*, int, MPI::Datatype const&, void*, int,
> MPI::Datatype const&, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:348:
> undefined reference to `MPI_Scatter'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Gatherv(void const*, int, MPI::Datatype const&, void*, int const*,
> int const*, MPI::Datatype const&, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:338:
> undefined reference to `MPI_Gatherv'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Gather(void const*, int, MPI::Datatype const&, void*, int,
> MPI::Datatype const&, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:326:
> undefined reference to `MPI_Gather'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Bcast(void*, int, MPI::Datatype const&, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:316:
> undefined reference to `MPI_Bcast'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Barrier() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:309:
> undefined reference to `MPI_Barrier'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Free()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:290:
> undefined reference to `MPI_Comm_free'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Get_rank() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:274:
> undefined reference to `MPI_Comm_rank'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Get_size() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:266:
> undefined reference to `MPI_Comm_size'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Get_group() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:258:
> undefined reference to `MPI_Comm_group'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Sendrecv_replace(void*, int, MPI::Datatype const&, int, int, int,
> int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:247:
> undefined reference to `MPI_Sendrecv_replace'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Sendrecv_replace(void*, int, MPI::Datatype const&, int, int, int,
> int, MPI::Status&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:236:
> undefined reference to `MPI_Sendrecv_replace'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Sendrecv(void const*, int, MPI::Datatype const&, int, int, void*,
> int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:225:
> undefined reference to `MPI_Sendrecv'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Sendrecv(void const*, int, MPI::Datatype const&, int, int, void*,
> int, MPI::Datatype const&, int, int, MPI::Status&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:211:
> undefined reference to `MPI_Sendrecv'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Recv_init(void*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:196:
> undefined reference to `MPI_Recv_init'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Rsend_init(void const*, int, MPI::Datatype const&, int, int)
> const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:186:
> undefined reference to `MPI_Rsend_init'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Ssend_init(void const*, int, MPI::Datatype const&, int, int)
> const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:176:
> undefined reference to `MPI_Ssend_init'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Bsend_init(void const*, int, MPI::Datatype const&, int, int)
> const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:166:
> undefined reference to `MPI_Bsend_init'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Send_init(void const*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:156:
> undefined reference to `MPI_Send_init'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Probe(int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:147:
> undefined reference to `MPI_Probe'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Probe(int, int, MPI::Status&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:141:
> undefined reference to `MPI_Probe'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Iprobe(int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:134:
> undefined reference to `MPI_Iprobe'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Iprobe(int, int, MPI::Status&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:126:
> undefined reference to `MPI_Iprobe'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Irecv(void*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:117:
> undefined reference to `MPI_Irecv'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Irsend(void const*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:107:
> undefined reference to `MPI_Irsend'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Issend(void const*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:97:
> undefined reference to `MPI_Issend'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Ibsend(void const*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:87:
> undefined reference to `MPI_Ibsend'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Isend(void const*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:77:
> undefined reference to `MPI_Isend'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Rsend(void const*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:68:
> undefined reference to `MPI_Rsend'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Ssend(void const*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:60:
> undefined reference to `MPI_Ssend'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Bsend(void const*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:52:
> undefined reference to `MPI_Bsend'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Recv(void*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:44:
> undefined reference to `MPI_Recv'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Recv(void*, int, MPI::Datatype const&, int, int, MPI::Status&)
> const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:36:
> undefined reference to `MPI_Recv'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Comm::Send(void const*, int, MPI::Datatype const&, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/comm_inln.h:29:
> undefined reference to `MPI_Send'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Group::Free()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:127:
> undefined reference to `MPI_Group_free'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Group::Range_excl(int, int const (*) [3]) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:120:
> undefined reference to `MPI_Group_range_excl'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Group::Range_incl(int, int const (*) [3]) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:106:
> undefined reference to `MPI_Group_range_incl'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Group::Excl(int, int const*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:92:
> undefined reference to `MPI_Group_excl'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Group::Incl(int, int const*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:84:
> undefined reference to `MPI_Group_incl'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Group::Get_rank() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:36:
> undefined reference to `MPI_Group_rank'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Group::Get_size() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/group_inln.h:28:
> undefined reference to `MPI_Group_size'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Op::Free()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/op_inln.h:130:
> undefined reference to `MPI_Op_free'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/op_inln.h:122:
> undefined reference to `ompi_mpi_cxx_op_intercept'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/op_inln.h:122:
> undefined reference to `ompi_mpi_cxx_op_intercept'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/op_inln.h:122:
> undefined reference to `MPI_Op_create'
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/op_inln.h:123:
> undefined reference to `ompi_op_set_cxx_callback'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Errhandler::Free()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/errhandler_inln.h:44:
> undefined reference to `MPI_Errhandler_free'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Status::Set_cancelled(bool)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/status_inln.h:103:
> undefined reference to `MPI_Status_set_cancelled'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Status::Set_elements(MPI::Datatype const&, int)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/status_inln.h:97:
> undefined reference to `MPI_Status_set_elements'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Status::Get_elements(MPI::Datatype const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/status_inln.h:45:
> undefined reference to `MPI_Get_elements'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Status::Is_cancelled() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/status_inln.h:37:
> undefined reference to `MPI_Test_cancelled'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Status::Get_count(MPI::Datatype const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/status_inln.h:29:
> undefined reference to `MPI_Get_count'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Info::Set(char const*, char const*)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:82:
> undefined reference to `MPI_Info_set'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Info::Get_valuelen(char const*, int&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:75:
> undefined reference to `MPI_Info_get_valuelen'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Info::Get_nthkey(int, char*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:68:
> undefined reference to `MPI_Info_get_nthkey'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Info::Get_nkeys() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:61:
> undefined reference to `MPI_Info_get_nkeys'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Info::Get(char const*, int, char*) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:53:
> undefined reference to `MPI_Info_get'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Info::Free()':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:46:
> undefined reference to `MPI_Info_free'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Info::Dup() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:39:
> undefined reference to `MPI_Info_dup'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Info::Delete(char const*)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/info_inln.h:32:
> undefined reference to `MPI_Info_delete'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Set_name(char const*)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:289:
> undefined reference to `MPI_Win_set_name'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Set_attr(int, void const*)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:282:
> undefined reference to `MPI_Win_set_attr'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Get_name(char*, int&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:275:
> undefined reference to `MPI_Win_get_name'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Delete_attr(int)':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:240:
> undefined reference to `MPI_Win_delete_attr'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Call_errhandler(int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:181:
> undefined reference to `MPI_Win_call_errhandler'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Wait() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:170:
> undefined reference to `MPI_Win_wait'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Unlock(int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:163:
> undefined reference to `MPI_Win_unlock'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Test() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:154:
> undefined reference to `MPI_Win_test'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Start(MPI::Group const&, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:146:
> undefined reference to `MPI_Win_start'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Put(void const*, int, MPI::Datatype const&, int, int, int,
> MPI::Datatype const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:138:
> undefined reference to `MPI_Put'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Post(MPI::Group const&, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:125:
> undefined reference to `MPI_Win_post'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Lock(int, int, int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:118:
> undefined reference to `MPI_Win_lock'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Get_group() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:110:
> undefined reference to `MPI_Win_get_group'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Get(void const*, int, MPI::Datatype const&, int, int, int,
> MPI::Datatype const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:101:
> undefined reference to `MPI_Get'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Fence(int) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:88:
> undefined reference to `MPI_Win_fence'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Complete() const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:70:
> undefined reference to `MPI_Win_complete'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o): In function
> `MPI::Win::Accumulate(void const*, int, MPI::Datatype const&, int, int, int,
> MPI::Datatype const&, MPI::Op const&) const':
> /apps/local/packages/openmpi-1.2.3-32/include/openmpi/ompi/mpi/cxx/win_inln.h:62:
> undefined reference to `MPI_Accumulate'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI3WinE[vtable
> for MPI::Win]+0x14): undefined reference to
> `MPI::Win::Set_errhandler(MPI::Errhandler const&)'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI3WinE[vtable
> for MPI::Win]+0x24): undefined reference to `MPI::Win::Free()'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI9IntercommE[vtable
> for MPI::Intercomm]+0xd4): undefined reference to
> `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI9GraphcommE[vtable
> for MPI::Graphcomm]+0xd4): undefined reference to
> `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI8CartcommE[vtable
> for MPI::Cartcomm]+0xd4): undefined reference to
> `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI9IntracommE[vtable
> for MPI::Intracomm]+0xd4): undefined reference to
> `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI4CommE[vtable
> for MPI::Comm]+0xd4): undefined reference to
> `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
> debug/libns3-mpi.a(distributed-simulator-impl_147.o):(.rodata._ZTVN3MPI8DatatypeE[vtable
> for MPI::Datatype]+0x3c): undefined reference to `MPI::Datatype::Free()'
> debug/libns3-mpi.a(mpi-interface_148.o): In function
> `ns3::MpiInterface::Disable()':
> ../src/mpi/model/mpi-interface.cc:292: undefined reference to `MPI_Initialized'
> ../src/mpi/model/mpi-interface.cc:295: undefined reference to `MPI_Finalize'
> debug/libns3-mpi.a(mpi-interface_148.o): In function
> `ns3::MpiInterface::TestSendComplete()':
> ../src/mpi/model/mpi-interface.cc:274: undefined reference to `MPI_Test'
> debug/libns3-mpi.a(mpi-interface_148.o): In function
> `ns3::MpiInterface::SendPacket(ns3::Ptr<ns3::Packet>, ns3::Time const&,
> unsigned int, unsigned int)':
> ../src/mpi/model/mpi-interface.cc:197: undefined reference to `ompi_mpi_char'
> ../src/mpi/model/mpi-interface.cc:197: undefined reference to `ompi_mpi_char'
> ../src/mpi/model/mpi-interface.cc:197: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:197: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:197: undefined reference to `MPI_Isend'
> debug/libns3-mpi.a(mpi-interface_148.o): In function
> `ns3::MpiInterface::ReceiveMessages()':
> ../src/mpi/model/mpi-interface.cc:214: undefined reference to `MPI_Testany'
> ../src/mpi/model/mpi-interface.cc:220: undefined reference to `ompi_mpi_char'
> ../src/mpi/model/mpi-interface.cc:220: undefined reference to `ompi_mpi_char'
> ../src/mpi/model/mpi-interface.cc:220: undefined reference to `MPI_Get_count'
> ../src/mpi/model/mpi-interface.cc:258: undefined reference to `ompi_mpi_char'
> ../src/mpi/model/mpi-interface.cc:258: undefined reference to `ompi_mpi_char'
> ../src/mpi/model/mpi-interface.cc:258: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:258: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:258: undefined reference to `MPI_Irecv'
> debug/libns3-mpi.a(mpi-interface_148.o): In function
> `ns3::MpiInterface::Enable(int*, char***)':
> ../src/mpi/model/mpi-interface.cc:151: undefined reference to `MPI_Init'
> ../src/mpi/model/mpi-interface.cc:152: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:152: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:152: undefined reference to `MPI_Barrier'
> ../src/mpi/model/mpi-interface.cc:153: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:153: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:153: undefined reference to `MPI_Comm_rank'
> ../src/mpi/model/mpi-interface.cc:154: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:154: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:154: undefined reference to `MPI_Comm_size'
> ../src/mpi/model/mpi-interface.cc:164: undefined reference to `ompi_mpi_char'
> ../src/mpi/model/mpi-interface.cc:164: undefined reference to `ompi_mpi_char'
> ../src/mpi/model/mpi-interface.cc:164: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:164: undefined reference to
> `ompi_mpi_comm_world'
> ../src/mpi/model/mpi-interface.cc:164: undefined reference to `MPI_Irecv'
> collect2: ld returned 1 exit status
> ******************************************************
Comment 5 baofenye 2011-09-16 22:57:56 EDT
It's reproduced on the following ppc linux (not darwin) system.

bash-3.1$ uname -ar
Linux hostname 2.6.21.1-xserve #17 SMP Thu Jun 14 19:45:57 MDT 2007 ppc64 ppc64 ppc64 GNU/Linux
bash-3.1$ gcc -v
Using built-in specs.
Target: powerpc64-unknown-linux-gnu
Configured with: ./configure --prefix=/apps/local/packages/gcc-4.2.2 --with-cpu=powerpc --with-tune=power4 --enable-threads --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.2.2
Comment 6 Brian Swenson 2013-02-01 11:05:32 EST
Is this still a bug?  Does anyone have a powerpc to test?
Comment 7 Tom Henderson 2013-02-01 18:51:55 EST
(In reply to comment #6)
> Is this still a bug?  Does anyone have a powerpc to test?


I will provide a powerpc buildslave in the near future.

Marking down in criticality.
Comment 8 Brian Swenson 2013-12-12 12:35:57 EST
Any updates on powerpc buildslave?