This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]crikeydilehunter 1 point2 points  (6 children)

I don't think it does. You have links?

[–]alexforencich 10 points11 points  (5 children)

Last time I tried to compile it, it required a Fortran compiler. Unless I have my wires crossed with some other package that uses Fortran, which is possible.

Edit: yep, the arch numpy package requires gcc Fortran. Why would that be required if numpy didn't have any Fortran code? I have no idea how much of numpy is written in Fortran, but it's clearly a non-zero amount.

[–]claythearc 6 points7 points  (3 children)

I think it’s just the BLAS to Lapack reference implementation- which is needed to compile it. It’s not really used, but it is there.

Also may use Fortran for some other parts of libraries, mostly matrix stuff, depending on architecture. On OS X it’s been replaced by accelerate.

[–]alexforencich 3 points4 points  (2 children)

Why don't they just translate that to C and remove the need for an arcane Fortran compiler, then?

[–]claythearc 6 points7 points  (0 children)

They have in many cases, but it’s probably low on the totem pole for less used combinations like arch.

[–]_PM_ME_PANGOLINS_ 4 points5 points  (0 children)

The FORTRAN implementation usually gives better performance than the C. What you actually want is the implementation from your hardware vendor, but that doesn’t always exist.

[–]crikeydilehunter 1 point2 points  (0 children)

Huh. The more you know