Re: ng4ex gsun01n fails with segmentation fault on gentoo x86

From: Pierpaolo Garofalo <pier_carla_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 19 2010 - 13:11:44 MDT

Mary, thank you very much for your prompt reply. I tried and compiled both 5.1.0 and 5.2.0 but the graphic tests on gsunxxn files always fail with the same error message. Versions 5.1.0 and 5.2.0 from binaries work well (so you might be righteous asking why I am bothering the mailing list with the compiling from source not working matter... fact is that I started from the source code and I am a bit disappointed about this hitch) with a difference though, version 5.2.0 from binaries complains with warning messages: ncl: /usr/lib/libcrypto.so.0.9.8: no version information available (required by ncl) ncl: /usr/lib/libssl.so.0.9.8: no version information available (required by ncl) (I realized that when asking the script from a tcl-tk script which prevented its normal running on account of the above warnings. In order to get the ncl script to do its job I had to redirect the error output to /dev/null, so that this is not much of a hassle) The output of ldd returns: ldd $(which ncl) /home/pier/Programmi/WRF/bin/ncl: /usr/lib/libcrypto.so.0.9.8: no version information available (required by /home/pier/Programmi/WRF/bin/ncl) /home/pier/Programmi/WRF/bin/ncl: /usr/lib/libssl.so.0.9.8: no version information available (required by /home/pier/Programmi/WRF/bin/ncl) linux-gate.so.1 => (0xffffe000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7e76000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7e2d000) librt.so.1 => /lib/librt.so.1 (0xb7e24000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d0d000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7cfd000) libm.so.6 => /lib/libm.so.6 (0xb7cd6000) libdl.so.2 => /lib/libdl.so.2 (0xb7cd2000) libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6 (0xb7be6000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1 (0xb7bd8000) libc.so.6 => /lib/libc.so.6 (0xb7a94000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7a7a000) libz.so.1 => /home/pier/Programmi/WRF/lib/libz.so.1 (0xb7a65000) /lib/ld-linux.so.2 (0xb7fd9000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7a4a000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb7a46000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7a40000) I put make-output and LINUX files here: http://pier.unirc.eu/cestino/LINUX http://pier.unirc.eu/cestino/make-output.gz Regards, Pier ----------------------------------------------------------------- .../\ /\ ....0 0 ....=O= < Pierp > ----------------------------------------------------------------- Linux Gentoo Ker. 2.6.22/Ker. 2.6.19.2 RTAI Vulcano Web: http://pier.unirc.eu msn: pier_port at hotmail dot com irc: irc.unirc.eu #linux icq: 325474062 ----------------------------------------------------------------- "Absolutely nothing should be concluded from these figures except that no conclusion can be drawn from them." ----------------------------------------------------------------- --- Lun 19/4/10, Mary Haley <haley_at_ucar.edu> ha scritto: > Da: Mary Haley <haley_at_ucar.edu> > Oggetto: Re: [ncl-install] ng4ex gsun01n fails with segmentation fault on gentoo x86 > A: "Pierpaolo Garofalo" <pier_carla_at_yahoo.it> > Cc: ncl-install_at_ucar.edu > Data: Lunedģ 19 Aprile 2010, 16:13 > Pier, > > You are running a rather old version of NCL.  You > might want to consider upgrading. > > Did you install NCL from source code or from a precompiled > binary? > > If you installed from source code, then there might be a > problem with the configuration setup. > > If you installed from a binary, then I suggest upgrading to > NCL 5.2.0: > > http://www.ncl.ucar.edu/Download/ > > If you installed from source code, I still recommend > upgrading, but we'll need to figure > out if your configuration is correct.  Can you send me > the $NCARG/config/LINUX file > you used, and your "make-output" file? > > --Mary > > On Apr 17, 2010, at 2:07 AM, Pierpaolo Garofalo wrote: > > > Hi all, > > I have managed to successfully compile and install ncl > on a couple of quad core x86_64 gentoo machines. > Nevertheless there must be something wrong when I do the > same on a Macbook Santarosa with x86 gentoo when preparing > for wrf-3.2. > > > > I realize that ncl is not properly working on this > latter machine . > > > > I have just been using it with a very simple script > aimed to extract de-staggered data from wrf-3.2 wrfout > files. As a matter of fact the script below does its job > well: > > > > > ------------------------------------------------------------ > > load > "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" > > load > "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl" > > > > begin > > > >     a = addfile("wrfout.nc","r") > > > >     U = > wrf_user_getvar(a,"ua",-1) > > > >     asciiwrite("U.tmp",U) > > > >     V = > wrf_user_getvar(a,"va",-1) > > > >     asciiwrite("V.tmp",V) > > > > end > > > > > ------------------------------------------------------------ > > > > whereas the graphics doesn't seem to work: > > > > ng4ex gsun01n > > > > gives a quick flash of a white window opening and > suddenly closing in less than a tick. > > > > I did the following to investigate: > > > > 1) ulimit -s unlimited > > > > the white window persisted for several seconds before > closing and giving back the same error message: > > > > > ------------------------------------------------------- > > ng4ex gsun01n > > > > NCAR Graphics NCL Example <gsun01n> > > > > > > This example was set up to display the output to an > > X11 window. > > > >   Copying gsun01n.ncl > > > > Running NCL... > > Copyright (C) 1995-2009 - All Rights Reserved > > University Corporation for Atmospheric Research > > NCAR Command Language Version 5.1.0 > > The use of this software is governed by a License > Agreement. > > See http://www.ncl.ucar.edu/ for more details. > > Segmentation fault > > > > ncl failed. > > > > > ------------------------------------------------------- > > > > 2) I altered  gsun01n.ncl swapping X11 with ncgm > but I got the same error message again. gsun01n.ncgm was > created but > > > > ctrans -d X11 gsun01n.ncgm > > > > showed a black empty window this time. > > > > 3) In order to investigate further I gave the > command: > > > > strace ng4ex gsun01n &> log.err > > > > whose output is available here: > > > > http://pier.unirc.eu/cestino/log.err > > > > 4) As a last resort I tried to switch from intel to > vesa xorg driver but that too didn't avail. > > > > I would like to point out that: > > a) I am able to use idt as well as ncview.; > > b) compilation was performed by using gcc 4.3.4 and > gfortran; > > c) Kernel is gentoo-2.6.30. > > > > Any hint on how to solve this would be greatly > appreciated. > > Regards, > > Pier > > > > ------------------------------------------ > > Pierpaolo Garofalo > > Dipartimento di Ingegneria Energetica > > Universitą Politecnica delle Marche > > > > > > > > > > > > _______________________________________________ > > ncl-install mailing list > > List instructions, subscriber options, unsubscribe: > > http://mailman.ucar.edu/mailman/listinfo/ncl-install > >
Received on Mon Apr 19 13:11:57 2010

This archive was generated by hypermail 2.1.8 : Wed May 26 2010 - 10:38:09 MDT