View previous topic :: View next topic |
Author |
Message |
WillemGrooters
Joined: 15 Apr 2006 Posts: 36
|
Posted: Thu Apr 25, 2019 10:43 pm Post subject: scipy/Numpy - extensions |
|
|
I'm looking for a way to extend Python with SciPy /NumPy; I found these packages at SciPy.org, the documentation on scipy.org mentions ATLAS + openBLAS, as well as Cython as requirements, of which only Cython is available on OpenVMS, the rest needs to be build - in C, where I'd like to use FORTRAN
I did locate OpenVMS ports of LAPACK which includes BLAS, so if possible I'd like to use these.
I'm running HP OpenVMS 8.4 on Alpha. |
|
Back to top |
|
 |
WillemGrooters
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun May 12, 2019 6:05 pm Post subject: Compiler options for SciPy and NumPy |
|
|
LAPACK and BLAS have been build, I got the latest sources for SciPy and NumPy (suited for Python 2.7). which needs to be build (and probably adapted) for OpenVMS. What options should I use for C and Fortran to keep as cloise as possible to Python on OpenVMS? |
|
Back to top |
|
 |
jfp
Joined: 12 Jul 2004 Posts: 636
|
Posted: Thu May 16, 2019 1:43 pm Post subject: |
|
|
You can ake a look at
Code: | PYTHON_ROOT:[vms]python_compiler_options.com |
|
|
Back to top |
|
 |
WillemGrooters
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun May 19, 2019 8:46 pm Post subject: |
|
|
I guess p1 is scope (/PROCESS, /JOB, /SYSTEM )
What about build_module.py and build_cython_module.py ? It seems these are C-only (where at least SciPy contains fortran code as well) and multiple sources, so linking is not always feasible. |
|
Back to top |
|
 |
jfp
Joined: 12 Jul 2004 Posts: 636
|
Posted: Tue May 21, 2019 9:25 am Post subject: |
|
|
I have written the two small Python scripts to build quickly simple C or Cython module, but you can extend them to build any module.
JF |
|
Back to top |
|
 |
|