[Gmsh] errors.....
Christophe Geuzaine
geuzaine at acm.caltech.edu
Fri Nov 14 21:12:14 CET 2003
Ramesh Balakrishnan wrote:
> Dear Sir(s),
> I recently downloaded gmsh-1.47.0-source.tar.gz,
> fltk-1.1.4-source.tar.gz and gsl-1.4.tar.gz. After installing gsl-1.4
> and fltk-1.1.4 successfully (i mean the tests in gsl all ran without
> errors and fltk compilation did not give any errors), I installed
> gmsh-1.47.0. I made sur ethat indicated the gsl and fltk prefxes in the
> --with-fltk-prefix and --with-gsl-prefix options in configure. After I
> did a make install I tried running gmsh in the bin directory. I see the
> following errors that are written in the .gmsh.errors file. I am
> appending the file below:
>
> [root at feynman bin]# cat .gmsh-errors
> Gmsh 1.47.0
> -------------------------------------------------------
> Build OS : Linux 2.4.20-8
> Build options : GSL JPEG PNG
> Build date : Thu Nov 13 16:21:01 CST 2003
> Build host : feynman
> Packager : root
> Home directory : /root/
> Launch date : Thu Nov 13 16:24:21 2003
> Command line : gmsh
> -------------------------------------------------------
> Fatal Error : Your GSL version (1.1.X) has a bug in the singular value
> : decomposition code. Please upgrade to version 1.2 or
> above.
> : You can download the GSL from
> http://sources.redhat.com/gsl/
> [root at feynman bin]#
>
> Could you please let me know how I could reslve this problem? I gave gsl
> version 1.4 that is > gsl version 1.2!
>
Ramesh - There is probably another, older version of the GSL on your
system that the dynamic library loader is picking up (to make sure, type
'ldd gmsh').
To fix it, you can
- change the order in which ld is looking for dynamic libraries (e.g.,
by using the LD_LIBRARY_PATH environment variable; see 'man ld' for more
info);
- or, if you are using gcc, force the path in the linking options (e.g.
editing the 'variables' file and adding '-Wl,--rpath,/path/to/gsl/lib'
to the LINKER variable);
- or, force linking with the static version of the new gsl (e.g., by
replacing '-lgsl' with '/path/to/gsl/lib/libgsl.a' in the 'variables' file).
Cheers,
Christophe
--
Christophe A. Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org