I have an existing Fortran module that I want to run in parallel. For example, I want 8 instances of the module, each with its own variable scope, all working at once. Is that possible with f2py? From the documentation, it seems that when you import a module, you only have access to a single copy of the Fortran object.
I'm newish to Python and very new to Fortran, so let me know if this approach is even worth investigating.