[Met_help] MET install

John Halley Gotway johnhg at rap.ucar.edu
Mon Jun 2 08:48:16 MDT 2008


Please first try recompiling BUFRLIB and MET using pgf77 rather than pgf90.  I've successfully built MET using pgf77 but haven't tried pgf90.

Be sure to execute a "make clean" before rebuilding MET with the command "make -f Makefile_pgi >& make_met.log&" to redirect the output of "make" to a log file.

If that doesn't fix the compilation error you're seeing, please send me the file "make_met.log".  Also, please send me the version number for the PGI compilers you're using.

Type "pgCC -V" to get the version number.

Also, let me point you to the known issues page for METv1.0: http://www.dtcenter.org/met/users/support/known_issues/METv1.0/index.php

If you have not yet, I'd suggest grabbing the updates that are available.

Thanks and please let me know if compiling with pgf77 worked or not.

John Halley-Gotway
johnhg at ucar.edu

Prosenjit Chatterjee wrote:
> Hallo sir
>             I want to install METv1.0 on linux core2 duo with fedora7. 
>             I install libf2c.a (with pgcc, pgCC, pgf90)
>             I install libbufr.a (with pgcc, pgCC, pgf90)
>             I install libgsl.a (with pgcc, pgCC, pgf90)
>             I install libnetcdf.a of version 3.6.2(with pgcc, pgCC, pgf90)
>             when I make makefile of  METv1.0 for PG, then error occur as
> /opt/pgi/linux86-64/7.0/bin/pgCC -o pb2nc pb2nc.cc pb2nc_Conf.o numpbmsg.o openpb.o readpb.o dumppb.o  \
>         -g -O0 -Bstatic  -DMET_BASE=\"/home/prosen/wrf3/METv1.0\" \
>         -I/home/prosen/wrf3/gslbin/include \
>         -I../../lib -I../../lib -I/home/prosen/TEMP/netcdf-3.6.2/libnetcdf-3.6.2-pgcc-pgf90-pgCC/include -I/home/prosen/wrf3/BURF -I/home/prosen/wrf3/f2c \
>         -L../../lib -L../../lib -L/home/prosen/TEMP/netcdf-3.6.2/libnetcdf-3.6.2-pgcc-pgf90-pgCC/lib -L/home/prosen/TEMP/netcdf-3.6.2/libnetcdf-3.6.2-pgcc-pgf90-pgCC/include -L/home/prosen/wrf3/BURF -L/home/prosen/wrf3/f2c \
>         -lbufr -lvx_grib_classes -lvx_wrfdata -lvx_econfig \
>         -lvx_data_grids -lvx_math -lvx_cal -lvx_util -lvx_met_util -lm  \
>         -lnetcdf_c++ -lnetcdf -lpgftnrtl
> "/opt/pgi/linux86-64/7.0-7/include/CC/cctype", line 55: error: the global
>           scope has no "isalnum"
>   using _STLP_VENDOR_CSTD::isalnum;
>                            ^
> "pb2nc.cc", line 96: warning: variable "var_char" was declared but never
>           referenced
>   static const char var_char[mxr8vt] = { 
>                     ^
> 22 errors detected in the compilation of "pb2nc.cc".
> make[3]: *** [pb2nc] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
> I attach my makefile
> Why error?
> Prosenjit Chatterjee
>       From Chandigarh to Chennai - find friends all over India. Go to http://in.promos.yahoo.com/groups/citygroups/
> ------------------------------------------------------------------------
> _______________________________________________
> Met_help mailing list
> Met_help at mailman.ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/met_help

More information about the Met_help mailing list