forum.vmspython.org Forum Index forum.vmspython.org
Forum system
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

scipy/Numpy - extensions

 
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS
View previous topic :: View next topic  
Author Message
WillemGrooters



Joined: 15 Apr 2006
Posts: 36

PostPosted: Thu Apr 25, 2019 10:43 pm    Post subject: scipy/Numpy - extensions Reply with quote

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
View user's profile Send private message Visit poster's website
WillemGrooters



Joined: 15 Apr 2006
Posts: 36

PostPosted: Sun May 12, 2019 6:05 pm    Post subject: Compiler options for SciPy and NumPy Reply with quote

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
View user's profile Send private message Visit poster's website
jfp



Joined: 12 Jul 2004
Posts: 636

PostPosted: Thu May 16, 2019 1:43 pm    Post subject: Reply with quote

You can ake a look at
Code:
PYTHON_ROOT:[vms]python_compiler_options.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
WillemGrooters



Joined: 15 Apr 2006
Posts: 36

PostPosted: Sun May 19, 2019 8:46 pm    Post subject: Reply with quote

I guess p1 is scope (/PROCESS, /JOB, /SYSTEM Smile)

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
View user's profile Send private message Visit poster's website
jfp



Joined: 12 Jul 2004
Posts: 636

PostPosted: Tue May 21, 2019 9:25 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group