[f2py] only|skip option

Xavier Barthelemy xabart at gmail.com
Thu Oct 28 03:30:56 EEST 2010


thanks
It was one of the multiple combination I didn't try (It's like the
keys, it is always the last one you try tht open the lock :) )

Cheers
Xavier

2010/10/27 Pearu Peterson <pearu.peterson at gmail.com>:
> Hi,
>
> On 10/27/2010 08:23 AM, Xavier Barthelemy wrote:
>> Greetings everyone
>>
>>
>> I have a fortran file with a bunch of subroutine, and I just need to
>> wrap a few of them. i read that we have the only option. but between
>> the man page and the user guide they give you a different way to use
>> it
>>
>> in man page: f2py -c -m Totomodule [[only:]toto subroutine][:fortranfile]
>> in the user manual f2py c -m Totomodule  [[only: toto subroutine:]][fortranfile]
>> well I have tried both of them and an amazing different number of
>> combinations. I really can't figure out how.
>  >
>> and what if I want to wrap just 2 subroutine, say toto1 and toto2 ?
>
> Use:
>
> f2py c -m Totomodule  only: toto1 toto2 : fortranfile
>
> HTH,
> Pearu
>
>> Would you be able to answer, dear f2py users
>> thanks
>> Xavier
>>
>> _______________________________________________
>> f2py-users mailing list
>> f2py-users at cens.ioc.ee
>> http://cens.ioc.ee/mailman/listinfo/f2py-users
>
> _______________________________________________
> f2py-users mailing list
> f2py-users at cens.ioc.ee
> http://cens.ioc.ee/mailman/listinfo/f2py-users
>



-- 
 « Quand le gouvernement viole les droits du peuple, l'insurrection
est, pour le peuple et pour chaque portion du peuple, le plus sacré
des droits et le plus indispensable des devoirs »

Déclaration des droits de l'homme et du citoyen, article 35, 1793



More information about the f2py-users mailing list