[Paraview] pvpython and f2py

Eric E. Monson emonson at cs.duke.edu
Mon Mar 15 18:28:58 EDT 2010


Hey Peter,

What platform are you using and how are you trying to import the .so file? On my Mac, any of the VTK libraries (my own or original VTK) which are wrapped in Python end up as .so files, and they load just fine. What is python saying when it "doesn't seem to recognize" them?

Talk to you later,
-Eric


On Mar 15, 2010, at 5:44 PM, Peter Brady wrote:

> Hello all,
> 
> I need to perform some computations on my data and for speed reasons I would like to use fortran to accomplish this.  Using pvpython I can get the data I need, and using f2py I can wrap my fortran subroutine but I can only get f2py to create a .so file which pvpython doesn't seem to recognize when I try to import it as a module.  Can someone tell me how to either:
> 
> 1.  Get pvpython to recognize the .so file created by f2py or
> 
> 2.  Use f2py to generate a .py file instead of a .so file
> 
> Thanks in advance,
> 
> Peter.
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
> 
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list