update / revision suggest around f2py

Dear maintainers of the documentation, Python numpy includes f2py to access functionality (and performance) of Fortran modules, which https://numpy.org/doc/stable/f2py/f2py.getting-started.html#the-smart-way aims to present. However, I was not able to successfully replicate fully either one of the three approaches (the quick way, the smart way, the quick and smart way) in an instance of Linux Debian 12/bookworm with gcc and gfortran (12.2.0), Python (3.11.2), and f2py (1.24.2) as provided from the repositories of Debian's branch testing. I would like to suggest an update and a revision of the page in question. For one, the snippets of Fortran adhere the (fixed format) standard of FORTRAN77, which became "old" with the major revision of Fortran90 (by 1991/1992) and the introduction of the free format. With current standard Fortran2018 (and Fortran2023 anticipated for July this year) an update of them would be very welcome - one still can state (as by now) that multiple standards of Fortran are supported. For two and in addition to this, it would be nice if the instructions given could be cross checked if they still provide the functionality claimed. If helpful, I can send the captured terminal input/output as ASCII text to one of you maintainers in a direct message, too. Regards

Please open an issue with the outputs. They should be working correctly. Newer Fortran standard support is an ongoing process. ________________________________ From: nbehrnd--- via NumPy-Discussion <numpy-discussion@python.org> Sent: Thursday, 13 April 2023 21:29 To: numpy-discussion@python.org Cc: nbehrnd@yahoo.com Subject: [Numpy-discussion] update / revision suggest around f2py Dear maintainers of the documentation, Python numpy includes f2py to access functionality (and performance) of Fortran modules, which https://numpy.org/doc/stable/f2py/f2py.getting-started.html#the-smart-way aims to present. However, I was not able to successfully replicate fully either one of the three approaches (the quick way, the smart way, the quick and smart way) in an instance of Linux Debian 12/bookworm with gcc and gfortran (12.2.0), Python (3.11.2), and f2py (1.24.2) as provided from the repositories of Debian's branch testing. I would like to suggest an update and a revision of the page in question. For one, the snippets of Fortran adhere the (fixed format) standard of FORTRAN77, which became "old" with the major revision of Fortran90 (by 1991/1992) and the introduction of the free format. With current standard Fortran2018 (and Fortran2023 anticipated for July this year) an update of them would be very welcome - one still can state (as by now) that multiple standards of Fortran are supported. For two and in addition to this, it would be nice if the instructions given could be cross checked if they still provide the functionality claimed. If helpful, I can send the captured terminal input/output as ASCII text to one of you maintainers in a direct message, too. Regards _______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-leave@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: rgoswami@quansight.com

Thank you, the issue is filed (https://github.com/numpy/numpy/issues/23592) as relevant to numpy's documentation.

Please open an issue with the outputs. They should be working correctly. Newer Fortran standard support is an ongoing process. ________________________________ From: nbehrnd--- via NumPy-Discussion <numpy-discussion@python.org> Sent: Thursday, 13 April 2023 21:29 To: numpy-discussion@python.org Cc: nbehrnd@yahoo.com Subject: [Numpy-discussion] update / revision suggest around f2py Dear maintainers of the documentation, Python numpy includes f2py to access functionality (and performance) of Fortran modules, which https://numpy.org/doc/stable/f2py/f2py.getting-started.html#the-smart-way aims to present. However, I was not able to successfully replicate fully either one of the three approaches (the quick way, the smart way, the quick and smart way) in an instance of Linux Debian 12/bookworm with gcc and gfortran (12.2.0), Python (3.11.2), and f2py (1.24.2) as provided from the repositories of Debian's branch testing. I would like to suggest an update and a revision of the page in question. For one, the snippets of Fortran adhere the (fixed format) standard of FORTRAN77, which became "old" with the major revision of Fortran90 (by 1991/1992) and the introduction of the free format. With current standard Fortran2018 (and Fortran2023 anticipated for July this year) an update of them would be very welcome - one still can state (as by now) that multiple standards of Fortran are supported. For two and in addition to this, it would be nice if the instructions given could be cross checked if they still provide the functionality claimed. If helpful, I can send the captured terminal input/output as ASCII text to one of you maintainers in a direct message, too. Regards _______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-leave@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: rgoswami@quansight.com

Thank you, the issue is filed (https://github.com/numpy/numpy/issues/23592) as relevant to numpy's documentation.
participants (2)
-
nbehrnd@yahoo.com
-
Rohit Goswami