I don't have BLAS functions.

234 views
Skip to first unread message

Daniel Carrera

unread,
Mar 9, 2015, 6:20:10 AM3/9/15
to julia...@googlegroups.com
Hello,

The Julia documentation says that you can access some BLAS functions:


However, I don't seem to have any of those in my system:

julia> help(axpy!)
ERROR: axpy! not defined

julia> using BLAS
ERROR: BLAS not found
 in require at loading.jl:47

julia> Pkg.add("BLAS")
ERROR: unknown package BLAS
 in wait at task.jl:51
 in sync_end at ./task.jl:311
 in add at pkg/entry.jl:319
 in add at pkg/entry.jl:71
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in __cd#228__ at ./pkg/dir.jl:28
 in add at pkg.jl:20

julia> 


Does anybody know what's going on? What do I need to do to get the BLAS functions?

Cheers,
Daniel.

Mauro

unread,
Mar 9, 2015, 6:22:23 AM3/9/15
to julia...@googlegroups.com
On my system I need to qualify it with Base, so Base.axpy! works.

Tobias Knopp

unread,
Mar 9, 2015, 6:58:28 AM3/9/15
to julia...@googlegroups.com
Maybe it would be better to export the BLAS module instead of putting the individual function into Base? Like we have Pkg.init() one would have BLAS.axpy!

Patrick O'Leary

unread,
Mar 9, 2015, 12:44:12 PM3/9/15
to julia...@googlegroups.com
BLAS.axpy! works fine (with no other import/using statements) in both 0.3 (at least by 0.3.4) and 0.4-dev.

Daniel Carrera

unread,
Mar 9, 2015, 1:08:01 PM3/9/15
to julia...@googlegroups.com
Aha! Thanks. Yeah, I see it now.

Cheers,
Daniel.
--
When an engineer says that something can't be done, it's a code phrase that means it's not fun to do.

Tobias Knopp

unread,
Mar 9, 2015, 6:21:11 PM3/9/15
to julia...@googlegroups.com
ups, then forget what I have said. I thought that I had tested it this morning but it seems I tested it not correctly.
Reply all
Reply to author
Forward
0 new messages