Trying to get openblas installed, with fortran to install scipy on windows arm64 #4914
-
Trying to install scipy on windows arm64, surface pro11, Snapdragon(R) X 12-core X1E80100 @ 3.40 GHz, 3417 Mhz, 12 Core(s), 12 Logical Processor(s). i have installed gcc, mingw and all the needed cpp build tools from visual studio installer as well. Also llvM-18.1.8-woa64.exe . Close to a complete dev setup. but now Im not finding an arm64 windows build of FORTRAN or GFORTRAN anywhere. I want to run as much as possible natively. But a bit stuck atm.
found some steps highlighted here in this stack overflow as well:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
I can't help with your quest for a WoA gfortran as I do not have such a system, but it is possible to build OpenBLAS without a Fortran compiler - the only drawback is that you'll get a somewhat older version of LAPACK. (The current codebase of the Reference-LAPACK project has added some functions in modern Fortran dialects that cannot as easily be translated to C). |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if the precompiled LLVM package provided by the LLVM project contains any version of flang or flang-new - the one for Windows x86 definitely does not. Do you have a flang.exe or flang-new.exe ? |
Beta Was this translation helpful? Give feedback.
-
Interesting - in that case it could simply be that the meson script is only looking for it as "flang" and not the current, likely temporary name of flang-new. But as I said I know next to nothing about their current meson setup - there is cooperation between our projects but not much direct involvement in the innards of each other's code. |
Beta Was this translation helpful? Give feedback.
-
I had a quick look at the scipy build files but did not see anything that would do compiler name detection there - this appears to be a core functionality of meson. Indeed the meson repository reveals that initial support for flang-new only went into the very latest release, 1.5.2 from two weeks ago (though the actual source commit was in July, right after the 1.5.1 release). This appears to be the one that you are using, but it could be that this new feature is not working correctly. Maybe try setting |
Beta Was this translation helpful? Give feedback.
-
That is not even OpenBLAS but ARM's libarmpl. Please go ask over in scipy/scipy how to resolve your installation problems with their software |
Beta Was this translation helpful? Give feedback.
That is not even OpenBLAS but ARM's libarmpl. Please go ask over in scipy/scipy how to resolve your installation problems with their software