[ncl-talk] Some NCAR example has typos. and other minor comments on some yMakefiles.

Jong-Gwan Do jgdo at cray.com
Thu Aug 21 18:37:52 MDT 2014


Hello,

Some NCAR example codes which run with 'ncargex' or 'ng4ex' have typos.

1.      ni/src/examples/contourplot/cn13f.f and cn17f.f need 'external nhlfcairowindowworkstationclass' declaration to prevent undefined symbol error in compiler.
2.      ni/src/examples/xyplot/xy12c.c and xy13c.c need '#include <ncarg/hlu/CairoWorkstation.h>' statement to prevent undefined symbol error in compiler.
3.      ni/src/examples/vectorplot/vc06f.f has typos. 'smindist = smindist0/mindist' should be 'smindist = smindist0//mindist'.
4.      ni/src/examples/basic/basic09n.ncl has 'mod' variable but 'mod' is one of NCL internal function name. So this 'mod' variable name should be changed.

And there are comments on two yMakefiles.

1.      ncarg2d/src/libncarg/ezmap/yMakefile contains 'BuildPNG' and 'BuildCAIRO' macros but these are now the default but not defined in anywhere in source tree. So 'BuildCAIRO' and 'BuildPNG' macros should be removed or these could be defined in some file under config/ directory.
2.      ni/src/mkwrap/yMakefile contains 'SYS_LIBS = -ll' which will link lex library. But most modern linux system have flex, and it need some modification so that '-lfl' also could be used instead of '-ll'.

Thanks,

Jong-Gwan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140822/7e9f4784/attachment.html 


More information about the ncl-talk mailing list