[Met_help] [rt.rap.ucar.edu #65995] History for error compiling METv4.0

John Halley Gotway via RT met_help at ucar.edu
Mon Jun 2 14:14:40 MDT 2014


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

lude -I/oprn/model/WRFLIB/gsl-1.9  \
-L/oprn/model/wrf3/utils/met/METv4.0/lib -L/oprn/model/wrf3/utils/netcdf/lib -L/ oprn/model/WRFLIB/gsl-1.9/.libs  \
-lvx_stat_out \
-lvx_statistics \
-lvx_shapedata \
-lvx_gsl_prob \
-lvx_analysis_util \
-lvx_data2d_factory \
-lvx_data2d_nc_met \
-lvx_data2d_grib  \
-lvx_data2d_nc_pinterp \
-lvx_data2d \
-lvx_nc_util \
-lvx_grid \
-lvx_config \
-lvx_cal \
-lvx_util \
-lvx_math \
Hi John, 
I am trying to compile MEtv4.0 on IBM machine. 
 
Following error came while doing so. 
 
Can U help me. 
r \
-lvx_log \
-lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
 
ld: 0706-006 Cannot find or open library file: -l gslcblas
        ld:open(): A file or directory in the path name does not exist.
gmake[4]: *** [ensemble_stat] Error 255
gmake[4]: Leaving directory `/oprn/model/wrf3/utils/met/METv4.0/src/tools/core/ensemble_stat'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/oprn/model/wrf3/utils/met/METv4.0/src/tools/core'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/oprn/model/wrf3/utils/met/METv4.0/src/tools'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/oprn/model/wrf3/utils/met/METv4.0/src'
gmake: *** [all] Error 2
bash-3.2$


geeta
 		 	   		  

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

Subject: Re: [rt.rap.ucar.edu #65995] error compiling METv4.0
From: John Halley Gotway
Time: Thu Mar 27 09:51:54 2014

Geeta,

The linker is complaining that it can fine the "gslcblas" directory.
As the name suggests, this is a library include with GSL (GNU
Scientific Library).  The linker is looking for a file named
"libgslcblas.a".  Based on the compilation output you sent, it looks
like you have GSL compiled in this directory: /oprn/model/WRFLIB/gsl-
1.9

However, I see 2 problems:

(1) When I look in the GSL directory on my local machine, I see
libgslcblas.a in the "lib" directory, but not the ".libs" directory.
Take a look in /oprn/model/WRFLIB/gsl-1.9 and try to find the file
libgslcblas.a:
   find /oprn/model/WRFLIB/gsl-1.9 -name libgslcblas.a
In the file METv4.0/user_defs.mk, set "GSL_LIBS" to point at the
directory containing both libgslcblas.a and libgsl.a.  I suspect it
should look like this:
    GSL_LIBS = -L/oprn/model/WRFLIB/gsl-1.9/lib

(2) In the compilation command you sent, I see the following:
     "-L/ oprn/model/WRFLIB/gsl-1.9/.libs"

I'm concerned about the space after "-L/ ".  Take a look in
user_defs.mk to see if you have an extra space in the setting for
GSL_BASE.

Hope that helps get you going.

Thanks,
John Halley Gotway

On 03/27/2014 12:26 AM, Geeta Geeta via RT wrote:
>
> Thu Mar 27 00:26:03 2014: Request 65995 was acted upon.
> Transaction: Ticket created by geeta124 at hotmail.com
>         Queue: met_help
>       Subject: error compiling METv4.0
>         Owner: Nobody
>    Requestors: geeta124 at hotmail.com
>        Status: new
>   Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=65995 >
>
>
> lude -I/oprn/model/WRFLIB/gsl-1.9  \
> -L/oprn/model/wrf3/utils/met/METv4.0/lib
-L/oprn/model/wrf3/utils/netcdf/lib -L/ oprn/model/WRFLIB/gsl-
1.9/.libs  \
> -lvx_stat_out \
> -lvx_statistics \
> -lvx_shapedata \
> -lvx_gsl_prob \
> -lvx_analysis_util \
> -lvx_data2d_factory \
> -lvx_data2d_nc_met \
> -lvx_data2d_grib  \
> -lvx_data2d_nc_pinterp \
> -lvx_data2d \
> -lvx_nc_util \
> -lvx_grid \
> -lvx_config \
> -lvx_cal \
> -lvx_util \
> -lvx_math \
> Hi John,
> I am trying to compile MEtv4.0 on IBM machine.
>
> Following error came while doing so.
>
> Can U help me.
> r \
> -lvx_log \
> -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
>
> ld: 0706-006 Cannot find or open library file: -l gslcblas
>          ld:open(): A file or directory in the path name does not
exist.
> gmake[4]: *** [ensemble_stat] Error 255
> gmake[4]: Leaving directory
`/oprn/model/wrf3/utils/met/METv4.0/src/tools/core/ensemble_stat'
> gmake[3]: *** [all] Error 2
> gmake[3]: Leaving directory
`/oprn/model/wrf3/utils/met/METv4.0/src/tools/core'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
`/oprn/model/wrf3/utils/met/METv4.0/src/tools'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/oprn/model/wrf3/utils/met/METv4.0/src'
> gmake: *** [all] Error 2
> bash-3.2$
>
>
> geeta
>
>

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


More information about the Met_help mailing list