I am developing a F90 application using several other libraries (such as FFTW) and aimed at being interfaced with a Python software via f2py.
In terms of compilation, no worries : everything goes just fine. However, when using it, the whole software returns regularly NaNs instead of the values it’s supposed to calculate.
I tried to call the routines I developed from a F90 standard program and everything works just fine. I therefore assume that the problem comes from the Python interface.
I read on this forum some related messages proposing a change in dlopen behaviour ; it actually worked, but when increasing the size of my variables, it started again to yield NaN.
Now, my question is : has someone ever met such a puzzling issue? And if so what did you do to correct it? I would be really glad to get some input.
FYI I use the PGF90 v8.0 on a Linux RedHat 5 box and a Python 2.2 interpreter.
Thanks to all for reading.