Re: linear algebric equations

2020-12-08 Thread Christian Gollwitzer
Am 07.12.20 um 17:59 schrieb Tito Sanò: Regarding the solution of linear algebraic equations I noticed a big difference in the computation time in Python compared to the old fortran language. I have compared both the linelg and lapack.dgesv-lapack.zgesv modules with the fortan: dgelg and

Re: linear algebric equations

2020-12-08 Thread Marco Sulla
On Mon, 7 Dec 2020 at 20:38, Tito Sanò wrote: > Is it possible to get better performance in Python? Have you installed BLAS for Scipy? What OS do you have? -- https://mail.python.org/mailman/listinfo/python-list

RE: linear algebric equations

2020-12-08 Thread Schachner, Joseph
Yes. Import os, and use os.system( ) to call your Fortran (or C) executable. If the executable saves results in a file or files, Python can read them in an format a nice overall report. In html or xml, if you like. Using Python as glue, the execution time will be exactly what it was for

Re: linear algebric equations

2020-12-07 Thread Dan Stromberg
On Mon, Dec 7, 2020 at 11:36 AM Tito Sanò wrote: > Regarding the solution of linear algebraic equations I noticed a big > difference in the computation > > time in Python compared to the old fortran language. > > I have compared both the linelg and lapack.dgesv-lapack.zgesv modules with > the