<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Just an fyi, I resolved the library reference issue by recompiling and installing the HDF4 &5 libs. After the build of the support libs I was able to build and install PyNIO python modules. But now I have a
new issue with Nio.options as shown below.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Python 2.6.8 (unknown, Jul 16 2013, 14:48:55)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">[GCC 4.3.4 [gcc-4_3-branch revision 152973]] on linux2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Type "help", "copyright", "credits" or "license" for more information.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">>>> import sys<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">>>> sys.path<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">['', '/nas/sshaw/bmarks/NCAR-2015/pyResBench/local/lib64/python2.6/site-packages', '/nas/sshaw/bmarks/NCAR-2015/pyResBench/pyreshaper', '/usr/lib/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2',
'/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/Numeric', '/usr/local/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/chkfeature',
'/usr/lib64/python2.6/site-packages/gtk-2.0']<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">>>> import Nio<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">>>> import numpy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">>>> from mpi4py import MPI<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">>>><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">>>> opt = Nio.options()<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> File "<stdin>", line 1, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">AttributeError: 'module' object has no attribute 'options'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">When running the pyResBench tests the execution aborts with the following errors.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">cy002 pyResBench/pyResBench> ./runbench<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> File "/nas/sshaw/bmarks/NCAR-2015/pyResBench/pyreshaper/bin/slice2series", line 84, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> File "/nas/sshaw/bmarks/NCAR-2015/pyResBench/pyreshaper/bin/slice2series", line 84, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> reshpr = reshaper.create_reshaper(spec, serial=serial, verbosity=verbosity, once=once)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> File "/nas/sshaw/bmarks/NCAR-2015/pyResBench/pyreshaper/pyreshaper/reshaper.py", line 67, in create_reshaper<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> reshpr = reshaper.create_reshaper(spec, serial=serial, verbosity=verbosity, once=once)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> File "/nas/sshaw/bmarks/NCAR-2015/pyResBench/pyreshaper/pyreshaper/reshaper.py", line 67, in create_reshaper<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> once=once)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> File "/nas/sshaw/bmarks/NCAR-2015/pyResBench/pyreshaper/pyreshaper/reshaper.py", line 307, in __init__<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> once=once)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> File "/nas/sshaw/bmarks/NCAR-2015/pyResBench/pyreshaper/pyreshaper/reshaper.py", line 307, in __init__<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> opt = Nio.options()<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">AttributeError: 'module' object has no attribute 'options'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> opt = Nio.options()<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">AttributeError: 'module' object has no attribute 'options'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">In the reshaper.py file line 307 – 309 shows the following.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> # Setup PyNIO options (including disabling the default PreFill option)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> opt = Nio.options()<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> opt.PreFill = False<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Any ideas how to resolve this new issue?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Scott Shaw<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">SGI – Apps Engineering<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Ph: 248.719.7689<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Scott Shaw
<br>
<b>Sent:</b> Friday, February 06, 2015 4:27 PM<br>
<b>To:</b> pyngl-talk@ucar.edu<br>
<b>Subject:</b> PyNIO-1.3.0b1<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the build environment for PyNIO I am only using GRIB2 and NetCDF-4 but when loading the nio python module I get the following error.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">>>> import nio<o:p></o:p></p>
<p class="MsoNormal">Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal"> File "<stdin>", line 1, in <module><o:p></o:p></p>
<p class="MsoNormal">ImportError: /nas/sshaw/bmarks/NCAR-2015/pyResBench/PyNIO/lib64/python2.6/site-packages/PyNIO/nio.so: undefined symbol: HE5_GDdetach<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I believe this symbol is located in the HDF-EOS2 libs but I did not build this optional package. Prior to executing the “python setup.py build” for PyNIO I only requested Grib2 and Netcdf4 using the env settings detailed in the INSTALL
file as shown below. Any ideas how to get around this issue?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">PyNIO/PyNIO-1.3.0b1> env | grep HAS<o:p></o:p></p>
<p class="MsoNormal">HAS_GRIB2=1<o:p></o:p></p>
<p class="MsoNormal">HAS_NETCDF4=1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have the following packages installed using a common external-files directory for lib, include, bin, share and man directories.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">g2clib-1.4.0<o:p></o:p></p>
<p class="MsoNormal">hdf-4.2.10<o:p></o:p></p>
<p class="MsoNormal">jasper-1.900.1<o:p></o:p></p>
<p class="MsoNormal">jpeg-6b<o:p></o:p></p>
<p class="MsoNormal">libpng-1.6.16<o:p></o:p></p>
<p class="MsoNormal">netcdf-4.3.1<o:p></o:p></p>
<p class="MsoNormal">szip-2.1<o:p></o:p></p>
<p class="MsoNormal">zlib-1.2.5<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">external-files> ls<o:p></o:p></p>
<p class="MsoNormal">bin examples include lib man ncl_ncarg share src<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">OS: SUSE Linux Enterprise Server 11 (x86_64) SP3<o:p></o:p></p>
<p class="MsoNormal">Compiler: gcc version 4.3.4<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Scott Shaw<o:p></o:p></p>
<p class="MsoNormal">SGI – Apps Engineer<o:p></o:p></p>
</div>
</div>
</body>
</html>