Re: [Numpy-discussion] example reading binary Fortran file

2013-02-13 Thread Pradeep Jha
Pradeep Jha gmail.com> writes: > > > > Hello, > > I am trying to read a fortran unformatted binary file with > FortranFile as follows but I get an error. > - > >>> from FortranFile import FortranFile >

Re: [Numpy-discussion] example reading binary Fortran file

2013-02-12 Thread Pradeep Jha
Neil Martinsen-Burrell wartburg.edu> writes: > > On 2009-05-29 10:12 , David Froger wrote: > > I think the FortranFile class is not intended to read arrays written > > with the syntax 'write(11) array1, array2, array3' (correct me if I'm > > wrong). This is the use in the laboratory where I

Re: [Numpy-discussion] Numpy compilation error

2010-04-30 Thread Pradeep Jha
Thanks. That works. 2010/4/29 David Cournapeau > On Fri, Apr 30, 2010 at 5:23 AM, Pradeep Jha > wrote: > > Hi, > > > > I have a few questions: > > > > 1) > > I downloaded numpy1.3.0 and installed it in a directory using the command > > python set

Re: [Numpy-discussion] Numpy compilation error

2010-04-29 Thread Pradeep Jha
Hi, I have a few questions: 1) I downloaded numpy1.3.0 and installed it in a directory using the command *python setup.py install --prefix=$HOME/src/numpy *and I see that numpy files have been generated in that directory. Now when I tried to install matplotlib, it complained that my numpy versio

Re: [Numpy-discussion] Numpy compilation error

2010-04-19 Thread Pradeep Jha
Thank you so much Robert. You are awesome :) That totally the problem. One more question for you. Which are the things that you have to declare in PYTHONPATH manually? 2010/4/18 Robert Kern > On Sun, Apr 18, 2010 at 19:49, Pradeep Jha > wrote: > > Hi, > > > > I am

Re: [Numpy-discussion] Numpy compilation error

2010-04-18 Thread Pradeep Jha
/python to that string and tries to locate that path, but fails. 2010/4/18 Robert Kern > On Sun, Apr 18, 2010 at 13:32, Pradeep Jha > wrote: > > Hi, > > > > I am running python 2.4.4. I installed numpy using the command > > > > python setup.py install -

Re: [Numpy-discussion] Numpy compilation error

2010-04-18 Thread Pradeep Jha
py]$ls arrayobject.h mingw_amd64_fenv.h multiarray_api.txt noprefix.h npy_cpu.h npy_interrupt.h numpyconfig.h oldnumeric.h ufunc_api.txt utils.h arrayscalars.h __multiarray_api.h ndarrayobject.h npy_common.h npy_endian.h npy_math.h old_defines.h __ufunc_api.h ufuncobject.h * Thanks 2

Re: [Numpy-discussion] Numpy compilation error

2010-04-18 Thread Pradeep Jha
ern > On Fri, Apr 16, 2010 at 20:56, wrote: > > On Fri, Apr 16, 2010 at 9:47 PM, Pradeep Jha > wrote: > >> Hi, > >> > >> before running the make command, it asks me to run the preconfig file. > When > >> I run preconfig, I get the following warn

Re: [Numpy-discussion] Numpy compilation error

2010-04-16 Thread Pradeep Jha
directory. NUMPY_HOME=${NUMPY_HOME:="/nfs/carv/d1/people/pradeep/src/numpy-1.3.0/"} * I have attached setup.py file with this email Thank you so much. 2010/4/16 Robert Kern > On Fri, Apr 16, 2010 at 18:53, Pradeep Jha > wrote: > > Hi, > > > > I changed it. I am n

Re: [Numpy-discussion] Numpy compilation error

2010-04-16 Thread Pradeep Jha
OME/src/pdfjam/scripts export PYTHONPATH=$PYTHONPATH:$CANTERA_ROOT/bin:$CANTERA_ROOT/build/bin/i686-pc-linux-gnu:$CANTERA_ROOT/Cantera/python:$CANTERA_ROOT/Cantera/python/build/lib.linux-i686-2.4/Cantera:$CANTERA_ROOT/Cantera/python/Cantera: export Cantera_Path=$CANTERA_ROOT * I am not sure whats goi

[Numpy-discussion] Numpy compilation error

2010-04-16 Thread Pradeep Jha
Hi, I am trying to install a software called Cantera which uses numpy. When I run the make command, during the installation it gives me the following error: */bin/rm -f _build (CXX="g++"; export CXX; CC="g++"; export CC; CFLAGS="-O3 -Wall -fPIC"; export CFLAGS; PURIFY=""; export PURIFY; /usr/