-
Notifications
You must be signed in to change notification settings - Fork 31
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
Doc update for GQ additions. #26
Conversation
What do you assume about the install location of armadillo? Does the build process/makefile need to change? |
Hrmmm for ubuntu I assume it has been installed via aptitude (so location is /usr/lib/) and right now I simply add Should I indicate that the library location should be in the user's LD_LIBRARY_PATH? |
If installing from source, one may not install in |
Should we add it as a user-defined location (as we do for the |
Maybe this can/should be addressed in CMake. I can hack my own copy for testing, but the path we are on will rely on CMake for the plugin, so spending time to improve the Makefile may not be the best use of effort. Can we vendor the Armadillo code? What's the license? |
After tweaking my
Is this a requirement for Armadillo? Or could I have avoided it somehow? |
It seems as though it can be avoided? Armadillo still relies on some underlying linear algebra libraries it seems... (http://arma.sourceforge.net/faq.html#linking). MKL is one of those libraries, but it more commonly it is LAPACK or BLAS instead. Do you have those installed? |
I do have LAPACK/BLAS installed, but I guess CMake found this one instead.... Remind me what we rely on armadillo for? This could easily create a bit of a headache in the general case. (Although, again, when we switch to plugins, this might matter less) |
We rely on Armadillo to produce the cannonical coefficients of the GQ via the Eigenvalue decomposition of some characteristic matrices along with information regarding its appropriate rotation and translation via the Moore-Penrose psuedoinverse matrix. To simplify things, I'm wondering if CGM might have such a capability... |
Regarding the armadillo build issue, I see two options (of many)...
Additionally, it seems that because Armadillo relies on LAPACK and other linear algebra packages under the hood it might be best to call on LAPACK directly as it is used in some of our other tools as well (PyNE/CADIS if I recall correctly). Happy to take whatever course of action we decide is best. |
I think something closest to (2) is best - a quick hack until we better understand how this will work in the future as a plugin. It is possible/likely that Trelis/Cubit will provide what we need for this purpose instead of Armadillo??? Might be worth taking a quick look at what's in the headers there.... (SDK's available here) |
Add ARMADILLO dir to makefile
…GNU make parameter.
Thank @pshriwise |
Adding the Armadillo prerequisite in the Docs. Also indicated what GQs are currently supported (just the two that were required for the JET model right now).