[MOAB-dev] moab new user
Tim Tautges
tautges at mcs.anl.gov
Sun Jun 14 12:04:49 CDT 2009
Ok, we'll get that fixed.
- tim
Lukasz Kaczmarczyk wrote:
> That is coming from from MOAB's autotools.
>>> In order to solve problem I made a change in
>>> $MOAB/tools/mbperf/Makefile.am
>>> AUTOMAKE_OPTIONS = foreign
>>> DEFS = $(DEFINES) -DIS_BUILDING_MB
>>> LDADD = #$(top_builddir)/libMOAB.la <--------------- COMMENTED
>>> if USE_BABEL
>>> babel_includes = -I$(BABEL_DIR)/include
>>> << cut here
>
> On 14 Jun 2009, at 17:34, Tim Tautges wrote:
>
>> Your libtool link line contains both libiMesh.la and libMOAB.la; each
>> of these results in libMOAB.a getting linked in, resulting in two
>> definitions of a function (you can see that in the resulting link
>> line). Are you constructing the link line with both .la files, or is
>> that coming from MOAB's autotools?
>>
>> Also, please send these questions to moab-dev at mcs.anl.gov, so that
>> others can see them. Thanks.
>>
>> - tim
>>
>> Lukasz Kaczmarczyk wrote:
>>> Hello
>>> I working on Mac OS X with OpenMPI and Intel compiler installed. And
>>> I get following error:
>>> /bin/sh ../../libtool --tag=CXX --mode=link
>>> /Users/likask/MyBuild/openmpi-1.3.2_intel/bin/mpicxx -g -O0
>>> -gxx-name=g++-mp-4.2 -Wall -pipe -pedantic
>>> -L/Users/likask/MyBuild/netcdf-4.0.1_intel/lib
>>> -L/Users/likask/MyBuild/hdf5-1.8.3_intel/lib
>>> -L/Users/likask/MyBuild/hdf5-1.8.3_intel/lib -lhdf5_hl -lhdf5 -lz
>>> -L/Users/likask/MyBuild/Zoltan_v3.1/lib -lzoltan -o mbperf_iMesh
>>> mbperf_iMesh.o ../../libMOAB.la ../iMesh/libiMesh.la -lm
>>> libtool: link: /Users/likask/MyBuild/openmpi-1.3.2_intel/bin/mpicxx
>>> -g -O0 -gxx-name=g++-mp-4.2 -Wall -pipe -pedantic -o mbperf_iMesh
>>> mbperf_iMesh.o -Wl,-bind_at_load
>>> -L/Users/likask/MyBuild/netcdf-4.0.1_intel/lib
>>> -L/Users/likask/MyBuild/hdf5-1.8.3_intel/lib
>>> -L/Users/likask/MyBuild/Zoltan_v3.1/lib ../../.libs/libMOAB.a
>>> ../iMesh/.libs/libiMesh.a
>>> /Users/likask/MyBuild/src/moab-svn/trunk/.libs/libMOAB.a
>>> /Users/likask/MyBuild/netcdf-4.0.1_intel/lib/libnetcdf_c++.a
>>> /Users/likask/MyBuild/netcdf-4.0.1_intel/lib/libnetcdf.a
>>> /Users/likask/MyBuild/hdf5-1.8.3_intel/lib/libhdf5_hl.a
>>> /Users/likask/MyBuild/hdf5-1.8.3_intel/lib/libhdf5.a -lz -lzoltan -lm
>>> icpc: command line remark #10148: option '-pedantic' not supported
>>> ld: duplicate symbol __ZN6MBCoreC9Ev in
>>> /Users/likask/MyBuild/src/moab-svn/trunk/.libs/libMOAB.a(MBCore.o)
>>> and ../../.libs/libMOAB.a(MBCore.o)
>>> make: *** [mbperf_iMesh] Error 1
>>> In order to solve problem I made a change in
>>> $MOAB/tools/mbperf/Makefile.am
>>> AUTOMAKE_OPTIONS = foreign
>>> DEFS = $(DEFINES) -DIS_BUILDING_MB
>>> LDADD = #$(top_builddir)/libMOAB.la COMMENTED
>>> if USE_BABEL
>>> babel_includes = -I$(BABEL_DIR)/include
>>> << cut here
>>> Regrads
>>> Lukasz
>>> On 9 Jun 2009, at 23:59, Tim Tautges wrote:
>>>> PS - they aren't basic questions if the behavior isn't documented;
>>>> thanks for being persistent, and keep the questions coming if you
>>>> have them.
>>>>
>>>> - tim
>>
>> --
>> ================================================================
>> "You will keep in perfect peace him whose mind is
>> steadfast, because he trusts in you." Isaiah 26:3
>>
>> Tim Tautges Argonne National Laboratory
>> (tautges at mcs.anl.gov) (telecommuting from UW-Madison)
>> phone: (608) 263-8485 1500 Engineering Dr.
>> fax: (608) 263-4499 Madison, WI 53706
>>
>>
>
>
--
================================================================
"You will keep in perfect peace him whose mind is
steadfast, because he trusts in you." Isaiah 26:3
Tim Tautges Argonne National Laboratory
(tautges at mcs.anl.gov) (telecommuting from UW-Madison)
phone: (608) 263-8485 1500 Engineering Dr.
fax: (608) 263-4499 Madison, WI 53706
More information about the moab-dev
mailing list