Closed berianjames closed 1 year ago
This builds with make (and with fewer compiler warnings than before), but fails upon module import
import magtense
from magtense.magstatics import Tiles
> ImportError: cannot import name 'magtensesource' from 'magtense.lib'
I think this is something in the f2py f90 file? I am trying to work it out
It must be the subroutines wrappers in FortranToPythonIO.f90? Are they redirecting the module namespace a layer deeper?
I removed some unnecessary include paths for the gfortan compilation. I don't think it will resolve the issue, but as it worked previously with the additional Makefile, I wanted to make the compilation as similar as possible.
Great, this works now!
We still can't merge this because the io_general module updates in NumericalIntegation
. Some of that fortran needs re-writing to conform to the standard (which gfortran enforces but ifort doesn't).
Resolved merge conflicts so that this branch is now up-to-date with master. It will now fail again (for different reasons than before!) because of the ifort vs gfortran standard stuff I mentioned above.
Everything works now - it's ready to merge back into master!
👍🏻 LGTM
Sorry it took me so long to get to this!
Creating PR so we can discuss some code topics.