[Gmsh] errors.....
Ramesh Balakrishnan
bramesh at ncsa.uiuc.edu
Fri Nov 14 22:01:14 CET 2003
Christophe,
Many thanks for your reply. I did spend some time last night trying to
get it to work and IT WORKS! There were possibly a few things that I did
somewhat incorrectly.
a) When I installed mesa3d, gsl and fltk I used the --prefix option to
specify my own installation directories.
b) When i configures gmsh I did use the --with-fltk-prefix and
--with-gsl-prefix options. However, I suspected that the Makefile was
still trying to look for libraries in the "usual" locations. It compiled
with an older library at the usual location I guess.
c) So I went ahead and once again, compiled and installed gsl, fltk and
mesa3d in the usual location, i.e. /usr/local, i.e. I did not use the
--prefix option in the configure list.
d) This time the program compiled but at the linking stage it said that
it was unable to link to -lGL.
e) It turns out that it was having problems with the shared library. So
I went into mesa3d and once again configured it with --enable-static and
produced the libGL.a static library. Then I went into gmsh and once
again compiled and linked and it works now.
Surprisingly I did not have to do step e) on my home computer that runs
redhat 8.0. Hmmmmm....
Do let me know if you would like me to send you the configure.log,
config.log and make.log files.
Request:
-------
I have been looking at the tutorials and running gmsh (Chapter 8). Could
you please give me some more details about how to define the geometry
and mesh the same in the interactive mode.
I did try out a simple example. I defined a square,
(0,0),(1,0),(1,1),(0,1), and then connected these points with lines and
then defined the surface. Now I am stuck. Let us say I would like to
generate unstructured and structured (transfinite) grids for this simple
geometry. Could you give me pointers as to how I could proceed in the
interactive mode?
Thanks again.
Sincerely,
Ramesh Balakrishnan
PECM Group at NCSA
On Fri, 2003-11-14 at 14:12, Christophe Geuzaine wrote:
> 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
--