[MOAB-dev] "Obj_unknown" when building mbzoltan

de Almeida, Valmor F. dealmeidav at ornl.gov
Thu Aug 28 20:37:28 CDT 2008


For the record here is a description of the MBZoltan compilation issue
and a work around.

The current MBZoltan tool install requires a compiled Zoltan
distribution tree somewhere in the system. This is not necessary and not
intended. The sufficient and necessary installation of Zoltan is what I
described in an earlier e-mail. I have confirmed this with Karen Devine.

Therefore an option like  --with-zoltan-arch=OS  in the MOAB install
should not exist. The option --with-zoltan=DIR is sufficient.

The MBZoltan install design was mimicked after the examples in the
Zoltan distribution which do require a full Zoltan tree because of a bug
which will be fixed in the next release 3.1.

To circumvent the problem let the MOAB script stop with an error and
repeat the last command to build MBZoltan but with the correct path (on
my system)

-L/usr/local/zoltan/lib -lzoltan


In the future a simpler MBZoltan install should be considered based on a
minimal Zoltan install.

--
Valmor 



> -----Original Message-----
> From: owner-moab-dev at mcs.anl.gov [mailto:owner-moab-dev at mcs.anl.gov]
On
> Behalf Of de Almeida, Valmor F.
> Sent: Wednesday, August 27, 2008 4:06 PM
> To: Tim Tautges
> Cc: moab-dev at mcs.anl.gov
> Subject: RE: [MOAB-dev] "Obj_unknown" when building mbzoltan
> 
> 
> I start with a Config.generic and modify to fit my system so I call it
> Config.xeon0. Then I set ZOLTAN_ARCH to xeon0. Since there is no
> "install" phase in zoltan, I copy the libraries and header files, and
> organize them in a place all users can access as I mentioned in my
> previous e-mail. I've tested zoltan with the given examples and all
> work.
> 
> Is MOAB trying to access the Obj_"arch" directory created during the
> zoltan install? If so why aren't the libraries enough?
> 
> Thanks,
> 
> --
> Valmor
> 
> > -----Original Message-----
> > From: Tim Tautges [mailto:tautges at mcs.anl.gov]
> > Sent: Wednesday, August 27, 2008 3:59 PM
> > To: de Almeida, Valmor F.
> > Cc: moab-dev at mcs.anl.gov
> > Subject: Re: [MOAB-dev] "Obj_unknown" when building mbzoltan
> >
> > I think the _unknown part is because you're not setting the
> ZOLTAN_ARCH
> > or ARCH variable in the zoltan install.  On my linux machine, the
> value
> > I set is "linux".
> >
> > - tim
> >
> > de Almeida, Valmor F. wrote:
> > > During the install phase of moab I have a problem with
> > >
> > > -L/usr/local/zoltan/Obj_unknown
> > >
> > > Why is Obj_unknown appearing and how do I change it?
> > >
> > > See below for full command. The Zoltan library has no "install"
> > > mechanism therefore I have it installed on my system in
> > >
> > > /usr/local/zoltan
> > >
> > > which has  /include /bin /lib  subdirectories. During the moab
> > > .configure step, zoltan.h is correctly found in
> > > /usr/local/zoltan/include. The full .configure I am using for moab
> is:
> > >
> > > ./configure --prefix=$HOME/projects/scidac/itaps/moab-usr
> > > --enable-doxygen --with-mpi=/usr/local/ompi
> --with-hdf5=/usr/local/hdf5
> > > --with-zoltan=/usr/local/zoltan
--with-parmetis=/usr/local/parmetis
> > > --enable-mbzoltan
> > >
> > > Any help appreciated. Thanks,
> > >
> > > --
> > > Valmor
> > >
> > >
> > >
> > > /usr/local/ompi_gnu/bin/mpicxx -Wall -pipe -O2 -DNDEBUG -o
mbzoltan
> > > MBZoltan.o main.o  -L/usr/local/hdf5/lib ../../.libs/libMOAB.a
> > > /usr/lib/libnetcdf_c++.so /usr/lib/libnetcdf.so
> > > /usr/local/packages/hdf5-1.8.1_gcc-4.1.2/lib/libhdf5.a -L//lib
-lsz
> -lz
> > > /usr/local/packages/openmpi-1.2.6_gcc-4.1.2/lib/libmpi_cxx.so
> > > /usr/local/packages/openmpi-1.2.6_gcc-4.1.2/lib/libmpi.so
> > > /usr/local/packages/openmpi-1.2.6_gcc-4.1.2/lib/libopen-rte.so
> > > /usr/local/packages/openmpi-1.2.6_gcc-4.1.2/lib/libopen-pal.so
> > > -L/usr/local/zoltan/Obj_unknown -lzoltan -L/usr/local/parmetis
> > > -lparmetis -lmetis -lm   -Wl,--rpath
> > > -Wl,/usr/local/packages/openmpi-1.2.6_gcc-4.1.2/lib -Wl,--rpath
> > > -Wl,/usr/local/packages/openmpi-1.2.6_gcc-4.1.2/lib
> > >
>
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/l
> > > d: cannot find -lzoltan
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------
> > > Valmor de Almeida, Ph.D.
> > > Oak Ridge National Laboratory
> > > 1 Bethel Valley Road
> > > PO Box 2008
> > > Oak Ridge TN 37831-6181
> > >
> > > url: dealmeidav.ornl.gov
> > > tel: 865-241-2906
> > > fax: 865-241-4829
> > > ---------------------------------
> > >
> > >
> >
> > --
> > ================================================================
> > "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