Opened 10 years ago
Closed 10 years ago
#44991 closed enhancement (fixed)
Use vecLibFort instead of dotwrp
Reported by: | tenomoto (Takeshi Enomoto) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | michaelld (Michael Dickens), seanfarley (Sean Farley), dstrubbe (David Strubbe) | |
Port: | qrupdate, octave, petsc, itsol, hpl |
Description
I added vecLibFort port to use it in ncarg. vecLibFort should fix all the problems with vecLib framework used from Fortran. The author of vecLibFort kindly sent me a pull request to dotwrp, which I haven't noticed for months, and I updated dotwrp. vecLibFort is more capable because it allows both static and dynamic linking and it includes a preloaded library. vecLibFort allows the use of vecLib in octave and qrupdate at the same time. So I switched from my dotwrp to vecLibFort in ncarg. I'll make dotwrp obsolete when all the ports using dotwrp (octave only?) switch to vecLibFort. The accelerate variant of petsc, itsol and hpl can use vecLibFort if they use vecLib from Fortran. Any other ports? Some ports in python?
Change History (6)
comment:1 Changed 10 years ago by seanfarley (Sean Farley)
comment:2 Changed 10 years ago by tenomoto (Takeshi Enomoto)
Thanks, Sean. You don't have any problems with PETSc. I'd like to remove you from cc and petsc from port, but I can't. Sorry for extra messages.
comment:3 Changed 10 years ago by dstrubbe (David Strubbe)
I'm not sure what the "problems with vecLib framework used from Fortran" are supposed to be, and I have not heard of dotwrp before. For the hpl port, things seem to work currently. What change are you suggesting?
comment:4 Changed 10 years ago by tenomoto (Takeshi Enomoto)
If hpl calls BLAS/LAPACK from C, vecLibFort or dotwrp is not necessary. vecLibFort is more complete addressing all the missing interface to BLAS/LAPACK. See README of vecLibFort. If hpl calls BLAS/LAPACK (cdotc, cdotu, zdotc, zdotu, sdot, snrm2, sasum, scnrm2, scasum) from Fortran, you need vecLbiFort.
comment:5 Changed 10 years ago by dstrubbe (David Strubbe)
Ok I understand. hpl calls BLAS and LAPACK from Fortran, but only uses real double-precision mathematics, so vecLibFort does not appear necessary in this case.
comment:6 Changed 10 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Done in r125857.
Nice! Though, PETSc is written in C, so it's calling vecLib / Accelerate without Fortran. The Fortran wrappers that PETSc provide are just that, wrappers.