-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Update MKL instructions in README.md #6550
Conversation
Reference issue number #6367
@esd100 Thank you for contributing. However, I don't think it is necessary to advice users to set the environment variables in their |
@andreasnoackjensen I think maybe that it's just a little bit difficult to understand to the non-technically savvy person. i.e., people that haven't used a terminal very often, much less configure, make, install commands or people that are more familiar with a predominantly GUI OS, like Mac OS X users (even though it is very capable as a UNIX based system). For example, see one of my initial posts #6239, where I asked the question, "what does setting the MKL environment mean?" and ivarne was not able to answer my question. I finally figured it out, but I think that it would be nice to spare other people the trouble of searching the internet for an answer. |
Perhaps this can be phrased as "for example, but doing the following"? |
I don't see why it is easier to edit
is unclear then I suggest that you change it to something like
|
I agree with @andreasnoackjensen that it's better to recommend pasting those lines into the terminal within the session used to build Julia, than to edit profile files. Local temporary "for the task at hand" changes are generally preferable to global permanent system configuration changes, as long as it's something that's easy enough to remember to do each time. Typically building Julia and all of its dependencies from source is something that's not recommended for users who aren't comfortable in the terminal, since the easy-to-use binary installations are available. But it's good you were able to get up and running with MKL, having people regularly testing a variety of configurations and getting performance comparisons is very valuable. A bit of clarification here on any points you struggled with absolutely doesn't hurt. |
Here is a nice article on the difference between the files. http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html I agree, though, that pasting the commands is also a reasonable alternative if the message is cleared up a little bit. It makes sense that building Julia is not for the terminal-naive. I would call myself maybe terminal-beginner, but not quite naive. Perhaps, my feedback then might serve to just make the process a bit more friendly to people like myself, who is kind of just doing this as an interesting pass-time. |
I know that at least on linux, we have been unable to get all tests to pass when linking MKL with gfortran compiled ARPACK, probably due to fortran calling conventions. It is perhaps best to compile everything with Intel compilers when using MKL, until we have |
I was actually using gFortran when I did my MKL build, and aside from setting the environment variables up properly, it worked okay. I still have not gone on to try an experiment again with the intel compilers. I'll give that experiment a try a bit later. |
Did make testall pass? I still do not feel comfortable. MKL provides a different library to use for linking against gfortran but that has never worked for us. |
I actually didn't run |
Succeeding with |
So, do I have to delete the current installation? and just rebuild with |
No need to rebuild. |
ah ... okay. I'll run it then and post the results in a gist. |
Not sure what this means, but ... ERROR: ProcessExitedException() |
That remotecall, multi, task, part of the error doesn't really matter in the tests - what matters is which worker exited, which test it was working on, and any specific error messages from that test. In this case it was worker 6, which was working on arpack, and apparently gave no test-specific error messages for some reason. Arpack is known for intermittently failing tests, so try running |
okay...I'll check. |
Not sure, what this means but it pretty much failed every time. |
This is most likely the fortran calling convention error I mentioned for which there is an open issue. Until this is resolved, I suggest not using MKL. |
I was wondering if you could reference the issue that you are talking about, so that I can take a look at it. |
I just built with MKL under Mac OS X. It works well (except that the test with ARPACK fails, all else works). ARPACK is for computing eigenvalues of sparse matrices. It would be ok if your code doesn't need such functionalities. |
Thanks for the patch @esd100. But i agree with @andreasnoack and @tkelman that we shouldn't suggest people edit their dot files. Plus there's a bit too much detail here for my tastes, especially since MKL support is still a bit experimental. |
Reference issue number #6367