-
Notifications
You must be signed in to change notification settings - Fork 133
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
Install on Mavericks (Mac OS X 10.9) #209
Comments
#188 is unrelated. You should have multiple |
There is no
|
That's bizarre. Are you sure you've properly installed developer tools? I'm not quite sure why this would happen. |
It seems there has also been a similar problem for lion users |
Try creating the directory and linking the necessary libraries. On Saturday, April 5, 2014, thisMagpie [email protected] wrote:
|
+1 for this, and say that I'm having a very similar problem. The difference is that mine is complaining about a lack of clapack_spotrf, clapack_dpotrf, and others. The error message is pasted below, but I just wanted to add that I once successfully NMatrix this using a manually installed version of Atlas, and since moved from macports to homebrew where I've tried to use the Mavericks scripts provided. My symlinks are all set up as well:
Finally, here's the full error message: [edit: This is on gcc-4.7.3, but I get an identical error message to @lazywei when using 4.9.]
|
@andrewcsmith Is this in |
@MohawkJohn No, it's not. This is |
Okay, do you have your libs properly linked as well? For example, I have these:
|
Yes, I have all those. My only difference is that mine don't have the @ ->, just the ->.
|
Can you do a |
What a glorious mess of macports, brew, and manual installation this is:
|
Yes. That's probably the source of your problem. Here's my list:
|
Does the order matter? I'm not sure why my I tried adding it to the beginning of the PATH variable, but that didn't help either. |
I don't know. This line kind of worries me: It's not finding the correct atlas. You could try using the |
FYI, here's what mine looks like:
|
Okay — actually, I gave it another shot and I do have I think the problem is stemming from the line in the installation wiki, "We want to include
How would I remove Edit: I think I have it...updates soon. |
Fixed it. I had a symlink from However, it's bringing me back to why I brewed my own to begin with. I can't find the inverse of the matrix without having LAPACK installed. (Not to hijack this thread, but...) do you know if there's a way to allow #inverse to work?
@lazywei, have you had any further luck? |
There should be. It works on my machine. But it didn't always, and I honestly don't know what I did to make it work. Sorry. I know that's not very helpful. I'd be curious to hear what you make work. I will say that originally, only |
Okay, I'll work on it — perhaps add an inversion fix section to the wiki as well. Is there a related bug tracking for this? To me, it seems like a bug, or at least a lack of a feature. |
Unfortunately, it's not really an NMatrix bug. It's a problem with your environment. There are so many potential environment problems that it's kind of outside the scope of our tracker. With that said, I think we'd like to document the most common cases so people can fix them. Maybe I could add a "document" tag? |
Yeah, that would be great. So, even if I follow this section in the wiki, I should still be able to invert? We want to include That's the part I don't get — does this step actually remove LAPACK, and therefore remove inversion, or is the environment supposed to revert to something else? I hoped that |
Well, it's worth noting that there's a distinction between clapack and lapack. I believe clapack is needed for inversion. lapack is only for geev, gesv, and the other eigenvalue decomposition stuff. |
Okay, I'm not just what happened exactly, but I was getting some pretty gnarly errors in the spec. I reinstalled Ruby with the command
...pointing rvm to the correct Homebrew version of gcc (4.9, fwiw) and now my specs all pass. So it works! The only downside is that there's a huge list of specs that are still "pending" due to not being supported without CLAPACK or LAPACK linked. |
Assuming this issue is safe to close now. Re-open if not. |
I tried to install latest NMatrix on my Macbook (OS X 10.9), and I followed the installation instruction on wiki
clapack.h
andcblas.h
to/usr/include/
However, when I tried to compile, I got this
It said that I have no
clapack_spotrf
in my header file. I checked myclapack.h
, there is aint spotrf_(...)
but noclapack_spotrf
.I'm not sure if there is anyone else who compile NMatrix on mavericks successfully?
I did a little search, I'm not sure if #188 is related to this one. I've also commented in here.
The text was updated successfully, but these errors were encountered: