Re: trouble installing PyNIO in home directory of hopper

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 07 2012 - 07:57:00 MST

Hi Charlie,

Thanks for the typo correction in the previous email. :-)

With the problem below, are you able to open this file from straight python (not IPython)? How big is the file, and how big are the ones you are able to open successfully?

What version of PyNIO are you using?

Finally, would you be able to provide the cktest_clm45sci_v2_debug1.clm2.h0.0001-02.nc file so we can try opening it here?

ftp ftp.cgd.ucar.edu
anonymous
<use your email address for the password>
cd incoming
put cktest_clm45sci_v2_debug1.clm2.h0.0001-02.nc
quit

Thanks,

--Mary

On Mar 6, 2012, at 5:07 PM, Charlie Koven wrote:

> Hi,
>
> now that I've gotten PyNGL to install successfully in my home directory on hopper, I thought I should try to get PyNIO working.
>
> i set the module environment to use gcc by:
>
> module unload pgi
> module load gcc
>
> and the env variables I am using are:
>
> export F2CLIBS=gfortran
> export F2CLIBS_PREFIX=/opt/gcc/4.6.1/snos/lib/
> export HAS_OPENDAP=0
> export NETCDF_PREFIX=/opt/cray/netcdf/4.1.1.0/netcdf-gnu
>
>
> the library seems to build ok but when I try to load a CLM history file, I get the following error:
>
>
> IPython 0.12 -- An enhanced Interactive Python.
> ? -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help -> Python's own help system.
> object? -> Details about 'object', use 'object??' for extra details.
>
> In [1]: import Nio
>
> In [2]: file_in = Nio.open_file('cktest_clm45sci_v2_debug1.clm2.h0.0001-02.nc')
> Error: in routine alloca() there is a
> stack overflow: thread 0, max 8180KB, used 0KB, request 8B
>
>
> It does seem to be able to load smaller files, however. Any idea what is causing this?
>
> Thanks,
> Charlie
>
>
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Wed Mar 7 07:57:08 2012

This archive was generated by hypermail 2.1.8 : Wed Apr 11 2012 - 14:41:42 MDT