Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -dev suffix to requirements on README #26

Open
cscherrer opened this issue Jun 9, 2014 · 10 comments
Open

Add -dev suffix to requirements on README #26

cscherrer opened this issue Jun 9, 2014 · 10 comments

Comments

@cscherrer
Copy link

The readme page suggests installing libblas and liblapack. But there are no such packages! I assume you probably meant to have a -dev suffix on each of these. Yes?

@cartazio
Copy link
Member

cartazio commented Jun 9, 2014

I think so :)
it also varies with the distro right?

@cscherrer
Copy link
Author

Probably. But you say apt-get install, so I assumed you were thinking Ubuntu. I'd guess any Debian-based distro probably uses the same or very similar names, but I'm not sure.

@cartazio
Copy link
Member

cartazio commented Jun 9, 2014

well, yeah, but i'm on a mac usually :)

if we're going to make it accurate, having a table of "distro names X pkg names to install" is probably the right way to roll

@cscherrer
Copy link
Author

Looks like it's *-dev on Debian and *-devel on Redhat. Not sure about others.

@Rufflewind
Copy link

Note that some distributions don't make the distinction between dev and non-dev packages.
On Arch Linux, they are just blas and lapack.

@cartazio
Copy link
Member

@Rufflewind you make a good point (hence my "we should list all the options if we're going to list some of them" stance)

I see you started your own blas binding! Can I invite you to contrib to hblas? (though if you have your own design, thats cool too). (i'll soon be giving a higher level api for hblas via my numerical project, wellposed/numerical-core is the core piece for now)

@Rufflewind
Copy link

I was writing a C binding generator in Haskell to handle Fortran call conventions and name mangling. It became redundant when I discovered the CBlas wrapper.

I'm currently porting some numerical code to Haskell, so I'd interested in writing FFI wrappers for Blas functions.

@cartazio
Copy link
Member

@Rufflewind well, theres a lot of easy wrapping to be done on the blas front, youre welcome to help out, the pullrequests by @archblob are some decent examples of what those wrappers might look like.

If you're really comfy with lapack, i'd love some help figuring out how to give those nice high level wrappers that are still full powered.

I should also mention i'm amidst the release engineering for a nicer array layer that will interop with hblas, you can see it at https://github.com/wellposed/numerical-core currently

@Rufflewind
Copy link

I noticed you don't seem to be using hsc or c2hs to generate the FFI bindings. Wouldn't these tools make writing them a bit easier?

@cartazio
Copy link
Member

@Rufflewind lets have this chat on a new ticket perhaps?
no one has convinced me that using either will make things easier, I still have to write down the name and the type signature either way! and then I immediately have a more complex configuration process. Right now theres zero configuration time logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants