BUG: f2py fails to compile modules with derived types after changes in 2.2.0 #29037
Labels
Content-Length: 241402 | pFad | http://github.com/numpy/numpy/issues/29037
74Fetched URL: http://github.com/numpy/numpy/issues/29037
Alternative Proxies:
Uh oh!
There was an error while loading. Please reload this page.
Describe the issue:
Prior to changes in 2.2.0, the following works:
with
dummy.f90
having:It worked before 2.2.0, since the module is in a
use
statement, it is skipped.With changes in 2.2.0, only modules with a
common
block are skipped, and this case is not. Running the above fails when trying to interpret the derived typemaster_data
with the error below:Reproduce the code example:
Error message:
Python and NumPy Versions:
2.2.0 (and above)
3.12.10 | packaged by conda-forge | (main, Apr 10 2025, 22:21:13) [GCC 13.3.0]
Runtime Environment:
[{'numpy_version': '2.2.0',
'python': '3.12.10 | packaged by conda-forge | (main, Apr 10 2025, 22:21:13) '
'[GCC 13.3.0]',
'uname': uname_result(system='Linux', node='gs66', release='5.15.0-303.171.5.2.1.el8uek.x86_64', version='#2 SMP Mon Dec 23 14:37:50 PST 2024', machine='x86_64')},
{'simd_extensions': {'baseline': ['SSE', 'SSE2', 'SSE3'],
'found': ['SSSE3',
'SSE41',
'POPCNT',
'SSE42',
'AVX',
'F16C',
'FMA3',
'AVX2',
'AVX512F',
'AVX512CD',
'AVX512_SKX',
'AVX512_CLX',
'AVX512_CNL',
'AVX512_ICL'],
'not_found': ['AVX512_KNL', 'AVX512_KNM']}}]
Context for the issue:
Changes to f2py in 2.2.0 broke code that used to compile before
The text was updated successfully, but these errors were encountered: