@@ -6,19 +6,30 @@ F2PY and Windows
6
6
7
7
.. warning ::
8
8
9
- F2PY support for Windows is not at par with Linux support, and
10
- OS specific flags can be seen via ``python -m numpy.f2py ``
9
+ F2PY support for Windows is not always at par with Linux support
10
+
11
+ .. note ::
12
+ `ScPy's documentation `_ has some information on system-level dependencies
13
+ which are well tested for Fortran as well.
11
14
12
15
Broadly speaking, there are two issues working with F2PY on Windows:
13
16
14
17
- the lack of actively developed FOSS Fortran compilers, and,
15
18
- the linking issues related to the C runtime library for building Python-C extensions.
16
19
17
20
The focus of this section is to establish a guideline for developing and
18
- extending Fortran modules for Python natively, via F2PY on Windows.
21
+ extending Fortran modules for Python natively, via F2PY on Windows.
22
+
23
+ Currently supported toolchains are:
24
+
25
+ - Mingw-w64 C/C++/Fortran compilers
26
+ - Intel compilers
27
+ - Clang-cl + Flang
28
+ - MSVC + Flang
19
29
20
30
Overview
21
31
========
32
+
22
33
From a user perspective, the most UNIX compatible Windows
23
34
development environment is through emulation, either via the Windows Subsystem
24
35
on Linux, or facilitated by Docker. In a similar vein, traditional
@@ -206,3 +217,4 @@ path using a hash. This needs to be added to the ``PATH`` variable.
206
217
.. _are outdated : https://g
DCA2
ithub.com/conda-forge/conda-forge.github.io/issues/1044
207
218
.. _now deprecated : https://github.com/numpy/numpy/pull/20875
208
219
.. _LLVM Flang : https://releases.llvm.org/11.0.0/tools/flang/docs/ReleaseNotes.html
220
+ .. _ScPy's documentation : http://scipy.github.io/devdocs/building/index.html#system-level-dependencies
0 commit comments