Hello Pearu,
Thank you for your reply. It turned out that I was using Intel C/C++ compiler
(icc) as my environment was set up for that compiler. I changed my compile
environment to gcc and f2py worked.
BTW for the '--fcompiler' switch both 'gnu95' and 'gfortran' seem to work fine.
Many thanks
On Tue, Aug 16, 2011 at 4:51 PM, Hongchun Jin wrote:
> *Thanks Derek for the quick reply. But **I am sorry, I did not make it
> clear in my last email. Assume I have an array like *
> *
>
> ['CAL_LID_L2_05kmCLay-Prov-V3-01.2008-01-01T00-37-48ZD.hdf'
>
> 'CAL_LID_L2_05kmCLay-Prov-V3-01.2008-01-
On 16 Aug 2011, at 23:51, Hongchun Jin wrote:
> Thanks Derek for the quick reply. But I am sorry, I did not make it clear in
> my last email. Assume I have an array like
> ['CAL_LID_L2_05kmCLay-Prov-V3-01.2008-01-01T00-37-48ZD.hdf'
>
> 'CAL_LID_L2_05kmCLay-Prov-V3-01.2008-01-01T00-37-48ZD.hd
*Thanks Derek for the quick reply. But **I am sorry, I did not make it
clear in my last email. Assume I have an array like *
*
['CAL_LID_L2_05kmCLay-Prov-V3-01.2008-01-01T00-37-48ZD.hdf'
'CAL_LID_L2_05kmCLay-Prov-V3-01.2008-01-01T00-37-48ZD.hdf'
'CAL_LID_L2_05kmCLay-Prov-V3-01.2008-01-01T00-
Hi Hongchun,
On 16 Aug 2011, at 23:19, Hongchun Jin wrote:
> I have a question regarding how to trim a string array in numpy.
>
> >>> import numpy as np
> >>> x = np.array(['aaa.hdf', 'bbb.hdf', 'ccc.hdf', 'ddd.hdf'])
>
> I expect to trim a certain part of each element in the array, for exampl
*Hi there,
*
*
*
*I have a question regarding how to trim a string array in numpy. *
*
*
*>>> import numpy as np*
*>>> x = np.array(['aaa.hdf', 'bbb.hdf', 'ccc.hdf', 'ddd.hdf'])*
*
*
*I expect to trim a certain part of each element in the array, for example
'.hdf', giving me ['aaa', 'bbb', 'ccc', '
,
On Tue, Aug 16, 2011 at 7:50 PM, Jose Gomez-Dans wrote:
> Hi,
>
> Up to now, I have managed to build Fortran extensions with f2py by ussing
> the following command:
> $ python setup.py config_fc --fcompiler=gnu95
> --f77flags='-fmy_flags' --f90flags='-fmy_flags' build
>
> I think that these op
Hi,
On Tue, Aug 16, 2011 at 10:05 AM, Charles R Harris
wrote:
>
>
> On Mon, Aug 15, 2011 at 7:43 PM, Charles R Harris
> wrote:
>>
>>
>> On Mon, Aug 15, 2011 at 7:09 PM, Charles R Harris
>> wrote:
>>>
>>>
>>> On Mon, Aug 15, 2011 at 6:56 PM, Charles R Harris
>>> wrote:
On Mon, Au
On 08/16/2011 04:22 AM, Timo Kluck wrote:
> 2011/8/1 Timo Kluck:
>> I just submitted a patch at
>> http://projects.scipy.org/numpy/ticket/1920 . It implements Eric's
>> suggestion. Please review, I'll be happy to adapt it to any of your
>> feedback.
>>
> I submitted a minor patch a while ago. It ha
On Mon, Aug 15, 2011 at 7:43 PM, Charles R Harris wrote:
>
>
> On Mon, Aug 15, 2011 at 7:09 PM, Charles R Harris <
> charlesr.har...@gmail.com> wrote:
>
>>
>>
>> On Mon, Aug 15, 2011 at 6:56 PM, Charles R Harris <
>> charlesr.har...@gmail.com> wrote:
>>
>>>
>>>
>>> On Mon, Aug 15, 2011 at 3:53 PM
Hi,
Up to now, I have managed to build Fortran extensions with f2py by ussing
the following command:
$ python setup.py config_fc --fcompiler=gnu95
--f77flags='-fmy_flags' --f90flags='-fmy_flags' build
I think that these options should be able to go in a setup.py file, and use
the f2py_options fi
On Sun, Aug 14, 2011 at 11:58 AM, Wes McKinney wrote:
> On Sat, Aug 13, 2011 at 8:06 PM, Mark Wiebe wrote:
>> Looks like this is the second-oldest open bug in the bug tracker.
>> http://projects.scipy.org/numpy/ticket/236
>> For what it's worth, I'm in favour of changing this behavior to be more
On Tue, Aug 16, 2011 at 5:53 AM, David Warde-Farley
wrote:
> On 2011-08-15, at 4:11 PM, Daniel Wheeler wrote:
>
>> One thing that I know I'm doing wrong is
>> reassigning every sub-matrix to a new array. This may not be that
>> costly, but it seems fairly ugly. I wasn't sure how to pass the
>> add
2011/8/1 Timo Kluck :
> I just submitted a patch at
> http://projects.scipy.org/numpy/ticket/1920 . It implements Eric's
> suggestion. Please review, I'll be happy to adapt it to any of your
> feedback.
>
I submitted a minor patch a while ago. It hasn't been reviewed yet,
but I don't know whether t
Sat, 13 Aug 2011 22:00:33 -0400, josef.pktd wrote:
[clip]
> Does Trac require svn access to dig out old information? for example
> links to old changesets, annotate/blame, ... ?
It does not require HTTP access to SVN, as it looks directly at the
SVN repo on the local disk.
It also probably doesn'
On 08/16/2011 02:32 PM, Jin Lee wrote:
> Hello,
>
> This is my very first attempt at using f2py but I have come across a problem.
> If anyone can assist me I would appreciate it very much.
>
> I have a very simple test Fortran source, sub.f90 which is:
>
> subroutine sub1(x,y)
> implicit non
Hello,
This is my very first attempt at using f2py but I have come across a problem.
If anyone can assist me I would appreciate it very much.
I have a very simple test Fortran source, sub.f90 which is:
subroutine sub1(x,y)
implicit none
integer, intent(in) :: x
integer, intent(out) ::
On 2011-08-15, at 4:11 PM, Daniel Wheeler wrote:
> One thing that I know I'm doing wrong is
> reassigning every sub-matrix to a new array. This may not be that
> costly, but it seems fairly ugly. I wasn't sure how to pass the
> address of the submatrix to the lapack routines so I'm assigning to a
18 matches
Mail list logo