[Met_help] copygb installation error

Paul Oldenburg pgoldenb at ucar.edu
Mon May 10 10:06:33 MDT 2010


Hashmi,

If you downloaded copygb from the following location, it should already be
compiled using g95.

ftp://ftp.cpc.ncep.noaa.gov/wd51we/copygb/copygb-g95-linux.tar

The binary executable is in copygb-g95/copygb.fd/copygb.  If you want to
re-compile copygb, please look at this README file about porting the code:

ftp://ftp.cpc.ncep.noaa.gov/wd51we/copygb/README.ports

If you have any questions, please let us know.

Thanks,

Paul


Hashmi Fatima wrote:
> Hi Sir,
> 
> I am getting this kind of error when i try to install copygb (External
> utility suggested for use with MET).
> 
> 
> make
> cd copygb.fd ; make
> make[1]: Entering directory `/home/hashmi/Desktop/copygb-g95/copygb.fd'
> g95 -o copygb -Wall -O2 -mieee-fp copygb.f ../iplib/iplib.a
> ../splib/splib.a  ../w3lib/w3lib.a ../bacio.old/balib.a
> copygb.f: In function ‘MAIN_’:
> copygb.f:2: warning: ‘lcnl’ may be used uninitialized in this function
> copygb.f:2: warning: ‘lcxm’ may be used uninitialized in this function
> copygb.f:2: warning: ‘lcgm’ may be used uninitialized in this function
> copygb.f:2: warning: ‘lcxb’ may be used uninitialized in this function
> copygb.f:2: warning: ‘lcgb’ may be used uninitialized in this function
> ../splib/splib.a(fft99.o): In function `fftfax_':
> fft99.f:(.text+0xfac): undefined reference to `_g95_stop_numeric'
> ../splib/splib.a(scrft.o): In function `scrft_':
> scrft.f:(.text+0x7a): undefined reference to `_g95_stop_numeric'
> ../splib/splib.a(scrft.o): In function `srcft_':
> scrft.f:(.text+0x10a): undefined reference to `_g95_stop_numeric'
> ../w3lib/w3lib.a(getgbem.o): In function `getgbem_':
> getgbem.f:(.text+0x148): undefined reference to `_g95_stop_numeric'
> getgbem.f:(.text+0x1e9): undefined reference to `_g95_stop_numeric'
> ../w3lib/w3lib.a(getgbem.o):getgbem.f:(.text+0x28a): more undefined
> references to `_g95_stop_numeric' follow
> make[1]: *** [copygb] Error 1
> make[1]: Leaving directory `/home/hashmi/Desktop/copygb-g95/copygb.fd'
> make: *** [copygb.fd/copygb] Error 2
> 
> Please help me out. Thanking you in anticipation.
> 
> Thanks and Regards,



More information about the Met_help mailing list