[Met_help] [rt.rap.ucar.edu #57317] History for MET with gsl problems

John Halley Gotway via RT met_help at ucar.edu
Thu Aug 23 08:17:21 MDT 2012


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Dear met_help,
I run MET on linux CentOS5.5 x86_64.
When I try tomake, it should creat some useful tools. However the log file
is as follow(see the attachment of the complete log file):

-lvx_cal \
-lvx_util \
-lvx_math \
-lvx_color \
-lvx_log \
-lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \

cp ensemble_stat /home/WRF/MET/METv4.0/bin

*** Finished Making the ensemble_stat Tool ***

-lvx_grid \
-lvx_config \
-lvx_util \
-lvx_math \
-lvx_cal \
-lvx_log \
-lm -lnetcdf_c++ -lnetcdf -lgsl \

/home/WRF/MET/gsl/lib/libgsl.so: undefined reference to `cblas_ctrmv'
/home/WRF/MET/gsl/lib/libgsl.so: undefined reference to `cblas_zswap'
……
collect2: ld returned 1 exit status
make[4]: *** [gen_poly_mask] Error 1


As above,when it creates ensemble_stat Tool,it seems to have -lgslcblas,but
when for gen_poly_mask, it breaks down.

Then I found something seems wrong with my compile.log for gsl(my version
is 1.11),as follows:
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown

configure:10417: checking ieeefp.h usability
configure:10434: gcc -c -g -O2 conftest.c >&5
conftest.c:56:20: error: ieeefp.h: No such file or directory
configure:10440: $? = 1
configure: failed program was:

configure:10707: gcc -o conftest -g -O2 conftest.c >&5
/tmp/cc6SkJDu.o: In function `main':
/home/chencuihong/WRF/MET/gsl110/gsl-1.10/conftest.c:58: undefined
reference to `_doprnt'
collect2: ld returned 1 exit status
configure:10713: $? = 1

conftest.c: In function 'main':
conftest.c:39: error: 'fesettrapenable' undeclared (first use in this
function)
conftest.c:39: error: (Each undeclared identifier is reported only once
conftest.c:39: error: for each function it appears in.)
configure:11073: $? = 1
configure: failed program was:

ac_cv_host=x86_64-unknown-linux-gnu


So,I don't know exactly whether it is the problem of compile process or
-lgslcblas or the difference between these MET tools,as something works
while others doesnot work.
I am very confused with this. Look forward to your reply. Thanks very much.




Yours,
Sunny


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Re: [rt.rap.ucar.edu #57317] MET with gsl problems
From: John Halley Gotway
Time: Mon Jul 09 07:25:52 2012

Sunny,

Sorry for the trouble.  We intended to add the link for the gslcblas
library to all the Makefiles, but missed a few.  There's already a fix
for this issue posted on the known issues page:
    http://www.dtcenter.org/met/users/support/known_issues/METv4.0/index.php

Please follow the instructions to download the patches and recompile.
Hopefully, that'll solve the issue.

Thanks,
John Halley Gotway
met_help at ucar.edu

On 07/08/2012 02:47 AM, Cuihong Chen via RT wrote:
>
> Sun Jul 08 02:47:20 2012: Request 57317 was acted upon.
> Transaction: Ticket created by chencuih824 at gmail.com
>         Queue: met_help
>       Subject: MET with gsl problems
>         Owner: Nobody
>    Requestors: chencuih824 at gmail.com
>        Status: new
>   Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=57317 >
>
>
> Dear met_help,
> I run MET on linux CentOS5.5 x86_64.
> When I try tomake, it should creat some useful tools. However the
log file
> is as follow(see the attachment of the complete log file):
>
> -lvx_cal \
> -lvx_util \
> -lvx_math \
> -lvx_color \
> -lvx_log \
> -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
>
> cp ensemble_stat /home/WRF/MET/METv4.0/bin
>
> *** Finished Making the ensemble_stat Tool ***
>
> -lvx_grid \
> -lvx_config \
> -lvx_util \
> -lvx_math \
> -lvx_cal \
> -lvx_log \
> -lm -lnetcdf_c++ -lnetcdf -lgsl \
>
> /home/WRF/MET/gsl/lib/libgsl.so: undefined reference to
`cblas_ctrmv'
> /home/WRF/MET/gsl/lib/libgsl.so: undefined reference to
`cblas_zswap'
> ……
> collect2: ld returned 1 exit status
> make[4]: *** [gen_poly_mask] Error 1
>
>
> As above,when it creates ensemble_stat Tool,it seems to have
-lgslcblas,but
> when for gen_poly_mask, it breaks down.
>
> Then I found something seems wrong with my compile.log for gsl(my
version
> is 1.11),as follows:
> /usr/bin/arch -k = unknown
> /usr/convex/getsysinfo = unknown
>
> configure:10417: checking ieeefp.h usability
> configure:10434: gcc -c -g -O2 conftest.c >&5
> conftest.c:56:20: error: ieeefp.h: No such file or directory
> configure:10440: $? = 1
> configure: failed program was:
>
> configure:10707: gcc -o conftest -g -O2 conftest.c >&5
> /tmp/cc6SkJDu.o: In function `main':
> /home/chencuihong/WRF/MET/gsl110/gsl-1.10/conftest.c:58: undefined
> reference to `_doprnt'
> collect2: ld returned 1 exit status
> configure:10713: $? = 1
>
> conftest.c: In function 'main':
> conftest.c:39: error: 'fesettrapenable' undeclared (first use in
this
> function)
> conftest.c:39: error: (Each undeclared identifier is reported only
once
> conftest.c:39: error: for each function it appears in.)
> configure:11073: $? = 1
> configure: failed program was:
>
> ac_cv_host=x86_64-unknown-linux-gnu
>
>
> So,I don't know exactly whether it is the problem of compile process
or
> -lgslcblas or the difference between these MET tools,as something
works
> while others doesnot work.
> I am very confused with this. Look forward to your reply. Thanks
very much.
>
>
>
>
> Yours,
> Sunny
>


------------------------------------------------


More information about the Met_help mailing list