Python Forum
compiling numpy, getting C source
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compiling numpy, getting C source
#8
(Nov-17-2021, 08:29 PM)Skaperen Wrote: i read that some of numpy is written in C. i want to compile that code myself
There are a mix also use some FORTRAN code used,so need a FORTRAN 77 compiler installed.
There is documentation about this if you had search Building NumPy from source

Numba is also really good,eg just add parallel=True and it will use all your CPU cores or GPU cores.
Portable Compilation Wrote:Ship high performance Python applications without the headache of binary compilation and packaging.
Your source code remains pure Python while Numba handles the compilation at runtime.
We test Numba continuously in more than 200 different platform configurations.

Numba supports Intel and AMD x86, POWER8/9, and ARM CPUs, NVIDIA and AMD GPUs, Python 3.6-3.9, as well as Windows/macOS/Linux.
Precompiled Numba binaries for most systems are available as conda packages and pip-installable wheels.
Skaperen likes this post
Reply


Messages In This Thread
compiling numpy, getting C source - by Skaperen - Nov-17-2021, 08:29 PM
RE: compiling numpy, getting C source - by DeaD_EyE - Nov-17-2021, 08:59 PM
RE: compiling numpy, getting C source - by Skaperen - Nov-18-2021, 01:09 AM
RE: compiling numpy, getting C source - by Skaperen - Nov-19-2021, 12:16 AM
RE: compiling numpy, getting C source - by snippsat - Nov-19-2021, 12:00 PM
RE: compiling numpy, getting C source - by snippsat - Nov-19-2021, 01:18 PM
RE: compiling numpy, getting C source - by Skaperen - Nov-20-2021, 12:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  compiling with an undefined variable Skaperen 0 1,033 Nov-10-2022, 11:59 PM
Last Post: Skaperen
  compiling but not running source code Skaperen 1 1,389 Jun-05-2022, 10:47 PM
Last Post: Gribouillis
  python compiling and sql? abrogard 2 2,354 Oct-27-2020, 06:37 AM
Last Post: buran
  compiling to python-- should ; be used or not? ezdev 4 3,869 Jan-03-2018, 07:31 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020