[gradsusr] Signicant value of linear trend
M.Mahakur
mmahakur at tropmet.res.in
Mon May 11 08:34:29 EDT 2020
Dear All,
How calculate significant value for slope of linear trend. I could see script for finding intercept, slope and fitting a trend line; but, not it's significance value.
Regards,
Mahakur
From: "Jennifer M Adams" <jadams21 at gmu.edu>
To: "GrADS Users Forum" <gradsusr at gradsusr.org>
Sent: Monday, May 11, 2020 5:42:14 PM
Subject: Re: [gradsusr] GRADS runtime error (invald ELF header in libgxpCairo.a)
Hi, Kihong --
The more recent versions of GrADS (2.2.*) require dynamic linking because of the switch to handling the graphics code as plug-ins. If static linking is a hard requirement, then you'll have to drop back to version 2.1.1 ( [ ftp://cola.gmu.edu/grads/2.1/ | ftp://cola.gmu.edu/grads/2.1/ ] ). My recommendations for building the supplibs for the pre-2.2 builds is at [ http://secure-web.cisco.com/1yVXfs7eixJ3hLxQ--bp_TpA1velfruUNFBKi8vFW2LvHDdP0qlP4VSLJCz_rSpE5brAR9YBE_ENXV7qR5qrPh6BV5pDRpSfNdFEM_pMMvLQcLcdwAL-38lcIp-53-8b0IE7mevBIVvWuLqvQGnK6hEH-SgZDsb0xTmOcClWexp18ZPq6huhcRuBciwUeAMh0RYGZO1kQWDn-P2yC017tpDUSTYla7qZU-JPjDC_63jhsitxrnzhcQyD20U3SCWNaSCZjhFNtGGmDEnplMhbfKEiCH2bzZ4EZ21bquLvweoHj6nVSFxiSWDvpDPk2NYX9iXpCknCDH2uc4X4B3JWd8hnBEOYzjybVD6iB2INLvQHg0FKVuEVUbbrSUQsTqLDNyhAX7B8Kt0kuEZolRZ7RAAkTwcxirFkE5m-kbQn_2ChhtfSAp2jkm58rshlIinkxCbK97y0kmdNTxCEAHea9qQ/http%3A%2F%2Fcola.gmu.edu%2Fgrads%2Fgadoc%2Fsupplibs.html |
http://cola.gmu.edu/grads/gadoc/supplibs.html ] .
--Jennifer
From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Kihang Youn <kyoun at lenovo.com>
Sent: Monday, May 11, 2020 2:01 AM
To: gradsusr at gradsusr.org <gradsusr at gradsusr.org>
Subject: [gradsusr] GRADS runtime error (invald ELF header in libgxpCairo.a)
Hi all,
I have some questions for Installation GRADS.
I would like to install grads static only.
First, here is my configuration.
###
export CC="mpicc"
export LDFLAGS="-L/${expat}/lib -L/${xml}/lib -L/${font}/lib -L/${szip}/lib -L/${pnetcdf}/lib -L/${curl}/lib -L/${jasper}/lib -L/${jpeg}/lib -L/${zlib}/lib -L/${gdlib}/lib -L/${tiff}/lib -L/${ftype}/lib -L/${cairo}/lib -L/${png}/lib -L/${ncurses}/lib -L/${rline}/lib -L/${gtiff}/lib -L/${gclib}/lib -L/${udunits}/lib -L/${libx11}/lib -L/${hdf5}/lib -L/${hdf4}/lib -L/${netcdf}/lib"
export CFLAGS="-I/${expat}/include -I/${xml}/include -I/${font}/include -I/${szip}/include -I/${pnetcdf}/include -I/${curl}/include -I/${jasper}/include -I/${jpeg}/include -I/${zlib}/include -I/${gdlib}/include -I/${tiff}/include -I/${ftype}/include/freetype2 -I/${cairo}/include/cairo -I/${png}/include -I/${ncurses}/include -I/${rline}/include -I/${gtiff}/include -I/${gclib}/include -I/${udunits}/include -I/${libx11}/include -I/${hdf5}/include -I/${hdf4}/include -I/${netcdf}/include"
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${libx11}/lib/pkgconfig/:${cairo}/lib/pkgconfig/:${font}/lib/pkgconfig/
export HDF4_CFLAGS='-I/${hdf4}/include'
export HDF4_LDFLAGS='-L/${hdf4}/lib'
export HDF4_LIBS='-lmfhdf -ldf -ljpeg -lz -lsz'
export HDF5_CFLAGS='-I/${hdf5}/include'
export HDF5_LDFLAGS='-L/${hdf5}/lib'
export HDF5_LIBS='-lhdf5 -lhdf5 -lhdf5_hl -ljpeg -lz '
export NC_LDFLAGS='-L/${netcdf}/lib'
export LIBS='-lmfhdf -ldf -ljpeg -lz -lsz -lm -lcurl -lhdf5_hl -lhdf5 -lpng15 -ludunits -lnetcdf -lpnetcdf -lxml2 -ljasper -lexpat'
./configure --prefix=$idir --enable-static --disable-shared --with-x --with-geotiff=${gtiff} --with-hdf4=${hdf4} --with-netcdf=${netcdf} --with-hdf5=${hdf5} --with-udunits=${udunits} >& configure.log
###
Second, my updt file is below.
###
gxprint GD /${grads}/lib/libgxpGD.a
gxdisplay X11 /${grads}/lib/lib/libgxdX11.a
gxprint gxdummy /${grads}/lib/lib/libgxdummy.a
gxdisplay gxdummy /${grads}/lib/lib/libgxdummy.a
gxprint Cairo /${grads}/lib/lib/libgxpCairo.a
gxdisplay Cairo /${grads}/lib/lib/libgxdCairo.a
###
Finally, this is my error with running grads.
###
Grid Analysis and Display System (GrADS) Version 2.2.1
Copyright (C) 1988-2018 by George Mason University
GrADS comes with ABSOLUTELY NO WARRANTY
See file COPYRIGHT for more information
Config: v2.2.1 little-endian readline grib2 netcdf hdf4-sds hdf5 geotiff
Issue 'q config' and 'q gxconfig' commands for more detailed configuration information
Landscape mode? ('n' for portrait):
GX Package Initialization: Size = 11 8.5
GX Package Error: dlopen failed to get a handle on gxprint plug-in named "Cairo"
/${grads}/libgxpCairo.a: invalid ELF header
GX Package Terminated
###
More specified.
###
GX Package Error: dlopen failed to get a handle on gxprint plug-in named "Cairo"
/${grads}/libgxpCairo.a: invalid ELF header
###
I googled this error and found no special way to solve.
Our system environment requires static installation, and I suspect that libcairo.a is not found in this situation.
If you know how to resolve this kind of situation, please share your opinions.
Thank you.
Best Regards,
Kihang
Kihang Youn(윤기항) - Application Analyst | Lenovo DCG Professional Services
Mobile: +82-10-9374-9396
E-mail: kyoun at lenovo.com
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://secure-web.cisco.com/13tvebL-yVukHf536lu3P2n5BQajFfWd9i4U_m8KyNofywoNvGUrGFxVHyI4Bp_CMfBWgGbx1iQ6RqSGfEYKA0ukd9p5Z4Wc5x0aLbE8dB0aoNenWINxYfXFXE5IuElrs50m2VZtmV-OBMb4DJYYKj5iLN4XJQvj_Sx8dlAjkRZP9V4kEgHQlbJZk1esqMEuSkHdBvQYVdp-2RbOA6GLyiItf05z_OHNXBkpvGhpGc46X6n8VYW_rNAZIBgnHQ9ZfYw7aPrNytSDzVAUC6YYchWp02-j-yfIxexWAVXPoGMetPQDFugvbftH7Qn7CE4BIoDddeTDqfjKqvd-FVxyxC-UcaT-QbXyPV30ngoF7jHFEja9zDCh2pGKQbYVIJw8_XBaKdkS0wDtDWbuMFmei-K5EEFOj7bupsmbJXP76pfBYkW6h_myyrVEK2f18Vt-S/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20200511/64371cee/attachment.html>
More information about the gradsusr
mailing list