[Trilinos-Users] R: Problem with Atzecoo (__xtol) SOLVED
mlx82 at fastwebnet.it
mlx82 at fastwebnet.it
Wed Feb 6 02:06:46 MST 2008
I've solved the problem. Simply I've put 3 "C" in:
CCC=/usr/bin/gcc \
while I should put only two:
CCC=/usr/bin/gcc \
So, if you want to add a new config files that work for Suse 10.3 in
your repository, you can use this:
../trilinos-8.0.5/configure \
--prefix=//home/mlx/Steam3D/trilinos-8.0.5/ \
CXX=/usr/bin/g++ \
CC=/usr/bin/gcc \
F77=/usr/bin/gfortran \
--with-incdirs="-I/usr/include" \
--with-ldflags="-L/usr/lib" \
--with-blas=-lblas \
--with-lapack=-llapack \
--with-flibs="-lgfortran" \
--disable-default-packages \
--disable-examples \
--disable-tests \
--enable-aztecoo \
--enable-teuchos \
--enable-epetra \
--enable-epetraext \
--enable-triutils \
--enable-belos \
--enable-ifpack
The three lines CXX, CC and F77 are necessary with this distribution.
Thanks
Cristiano M.
>----Messaggio originale----
>Dal: mlx82 at fastwebnet.it
>Data: 05/02/2008 23.47
>A: <trilinos-users at software.sandia.gov>
>Ogg: Problem with Atzecoo (__xtol)
>
>Hi,
>
>I'm on Suse 10.3. I've installed Trilinos 8.0.5 with this config:
>
>../trilinos-8.0.5/configure \
>--prefix=//home/mlx/Steam3D/trilinos-8.0.5/ \
>CXX=/usr/bin/g++ \
>CCC=/usr/bin/gcc \
>F77=/usr/bin/gfortran \
>--with-incdirs="-I/usr/include" \
>--with-ldflags="-L/usr/lib" \
>--with-blas=-lblas \
>--with-lapack=-llapack \
>--with-flibs="-lgfortran" \
>--disable-default-packages \
>--disable-examples \
>--disable-tests \
>--enable-aztecoo \
>--enable-teuchos \
>--enable-epetra \
>--enable-epetraext \
>--enable-triutils \
>--enable-ifpack
>
>Installation works fine (after first step I do make and make
install).
>At the end compiling with kdevelop I've this error (during the
linking
>to the exe file):
>
>/home/mlx/Steam3D/trilinos-8.0.5/lib/libaztecoo.a(az_util.o): In
>function `AZ_random_vector':
>/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../..
/..
>/trilinos-8.0.5/packages/aztecoo/src/az_util.c:1795: undefined
>reference to `__xtol'
>/home/mlx/Steam3D/trilinos-8.0.5/lib/libaztecoo.a(az_util.o): In
>function `AZ_set_solver_parameters':
>/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../..
/..
>/trilinos-8.0.5/packages/aztecoo/src/az_util.c:2305: undefined
>reference to `__xtol'
>/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../..
/..
>/trilinos-8.0.5/packages/aztecoo/src/az_util.c:2308: undefined
>reference to `__xtol'
>/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../..
/..
>/trilinos-8.0.5/packages/aztecoo/src/az_util.c:2311: undefined
>reference to `__xtol'
>/home/mlx/Steam3D/trilinos-8.0.5/lib/libaztecoo.a(az_util.o): In
>function `AZ_recover_sol_params':
>/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../..
/..
>/trilinos-8.0.5/packages/aztecoo/src/az_util.c:2376: undefined
>reference to `__xtol'
>/home/mlx/Steam3D/trilinos-8.0.5/lib/libaztecoo.a(az_util.o):
>/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../..
/..
>/trilinos-8.0.5/packages/aztecoo/src/az_util.c:2379: more undefined
>references to `__xtol' follow
>
>I really don't know what is this __xtol. I read something on this
>site, but because I'm a "beginner of linux" I really don't
understand
>how to solve the problem.
>
>http://abicheck.sourceforge.net/sfcvs/abicheck/INTRO
>
>http://abicheck.sourceforge.net/
>
>Can you help me?
>
>Thanks!
>
> Cristiano M.
>
>
>
More information about the Trilinos-Users
mailing list