[Met_help] Problem with running the make script for METv0.9

John Halley Gotway johnhg at rap.ucar.edu
Tue Sep 25 13:21:28 MDT 2007


Helmut,

Unfortunately, I don't have an easy fix for you, but I do have a couple of suggestions.

MET was developed on Debain Linux, and we've tested it on Debian Linux and, to a lesser degree, Macintosh.  However, MET has not been ported to Sun Solaris, and I'm not surprised that you're running
into problems on Solaris.  In the future, we do plan to port MET to additional architectures using additional compilers, but currently, we're limited by resources.  We don't currently have access to a
wide variety of machines on which to test.

So first I'd suggest - if you happen to have access to a Linux machine, preferably Debian, I'd suggest using it.

If not, you could attempt to port MET to Sun Solaris yourself.  That work would be very useful to us, and we could include your modifications in future releases of MET.

For this specific problem you're encountering, it appears that your system can't find a definition of the "open" function in the include files listed at the top of the "vx_wrfdata.cc" file.  I'd
suggest looking at the man page for "open" on your system to find out what header files need to be included to use "open".  But once you get past this error, it's likely that you'll run into others.
I'd be happy to work with you to get through them if you like.  Unfortunately, there's no way of knowing how easy or difficult the port will be in advance.

Your question raises a real issue that we need to discuss internally about supporting and testing on additional architectures.  If you do decide to attempt porting MET to Sun Solaris, please keep me
updated.  We'd be very interested in the changes you need to make.

Thanks,
John Halley Gotway
johnhg at ucar.edu

Helmut Berie wrote:
> Hi,
> 
> We are trying to get the METv0.9 package installed on our Solaris 8
> workstation tornado. Details of the workstation are given below:
> SunOS tornado 5.8 Generic_112953-02 sun4u sparc SUNW,Sun-Blade-1000
> 
> 
> Below is the error message that we receive when running the make script:
> ...
> ...
> cp libvx_pxm.a ../.
> 
> *** Making vx_render Library ***
> 
> 
> cp libvx_render.a ../.
> 
> *** Making vx_util Library ***
> 
> 
> cp libvx_util.a ../.
> 
> *** Making vx_wrfdata Library ***
> 
> /usr/local/bin/g++ vx_wrfdata.cc -g -Wall -Wshadow -static  -c -I..
> -I/usr/local/pkgs/build/netcdf-3.4/src/cxx
> vx_wrfdata.cc: In member function `int WrfData::write(const char*, const
> char*, const char*) const':
> vx_wrfdata.cc:495: error: `open' undeclared (first use this function)
> vx_wrfdata.cc:495: error: (Each undeclared identifier is reported only
> once for each function it appears in.)
> vx_wrfdata.cc: In member function `int WrfData::read(const char*)':
> vx_wrfdata.cc:575: error: `open' undeclared (first use this function)
> ../vx_wrfdata/vx_wrfdata.h: At global scope:
> ../vx_wrfdata/vx_wrfdata.h:64: warning: 'thresh_type_str' defined but
> not used
> ../vx_wrfdata/vx_wrfdata.h:85: warning: 'step_direction_str' defined but
> not used
> make[3]: *** [vx_wrfdata.o] Error 1
> make[2]: *** [vx_wrfdata_all] Error 2
> make[1]: *** [libs] Error 2
> make: *** [all] Error 2
> 
> 
> I would assume that one or more of the prerequisites are not properly
> met. But at this time I wouldn't know which one.
> 
> Any suggestions on which part might have to be
> changed/reinstalled/reconfigured would be highly appreciated.
> 
> 
> Regards
> Helmut Berié
> 


More information about the Met_help mailing list