James Kermode

Results 90 comments of James Kermode

I tried your example, I think it's working correctly - if you preallocate arrays from Python you can pass them in and out of Fortran and they are modified in...

That's correct, there's currently no support for any Fortran 2003 features. Mapping the abstract types to either standard Python classes or abstract base classes and then specifying the correct inheritance...

Looks good! Would you be willing to add/update a test in `examples/` that would have failed before this fix?

I will be happy to merge if this PR is updated to incorporate @zhucaoxiang's suggestion, provided that it doesn't cause any regressions: currently there are failing tests so this can't...

Can you test with the macOS wheels on PyPI?

This should work fine, I have wrapped OpenMP Fortran code with f90wrap in several projects. You just need to ensure the `-fopenmp` option gets to the linker as well as...

Looks like `f2py` can't find your MPI Fortran compiler. Try `f2py-f90wrap -c --help-fcompiler` to see what is auto-detected, and then try setting the `F90` environment variable to the correct compiler,...

Maybe you need ``` f2py-f90wrap --build-dir . -c --f90exec=mpif90 -m _test -L. -lsrc f90wrap*.f90 ``` to be equivalent to your working `f2py` example? Note that `f2py-f90wrap` is only a very...

Thanks for reporting. Yes, I'd noticed Python 3.11 failures in f90wrap's wheel-building CI so this is on my radar. I'll take a look ASAP and report back here and to...

Nope, I've not had time to look at this at all. I might managed next week but can't make any promises. If you would be able to dig into it...