Closed maniflames closed 5 years ago
When changing cmake command line it is best to delete the 'build' folder and start over. cmake caches a lot of stuff and can get confused if you don't start from scratch. Can you also provide more information about the exact type and model of machine you are running this on ?
Looks like you don't have a BLAS library available but we're referencing it anyway. This might be our bug.
Thanks for your help. I'm working on a MacBook Pro 15-inch (2016) with a 2,6 GHz Intel Core i7. When retrying to build I did remove the entire folder and make a new one. I've installed openblas through homebrew but noticed that it refuses to link even when I run brew link --force openblas
.
The message after installation of openblas:
openblas is keg-only, which means it was not symlinked into /usr/local,
because macOS provides BLAS and LAPACK in the Accelerate framework.
For compilers to find openblas you may need to set:
export LDFLAGS="-L/usr/local/opt/openblas/lib"
export CPPFLAGS="-I/usr/local/opt/openblas/include"
For pkg-config to find openblas you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"
I tried to run the commands above as well but it seems to have no effect on anything. How do I make sure either openblas or BLAS provided by apple is linked in the right way?
While figuring the BLAS thing out I noticed a couple of things:
versions
command was depreciated. (Tried to get the right version from git but failed building that as well)headers
dirs in the Accelerate Framework were missing for me. I got them by installing the xcode IDE. I successfully build ELL just now 🎉 Thanks for your help everyone 😄
Cool, if there's something we can fix in our OpenBLASSetup.cmake please post a pull request, thanks.
Hi all,
First of all thanks for creating this, I can't wait to try it out! Right now I'm following the installation guide for installing ELL on MacOS but I ran into some issues. Right now I'm stuck at a generic 'Undefined symbols for architecture x86_x64' error after I run make. It looks something like this:
I've noticed that when I run
cmake ..
that it would detect the Clang version that came preinstalled on my mac instead of the one that shipped with LLVM 6 so I started over but ranCCX=/usr/local/opt/llvm@6/bin/clang CC=/usr/local/opt/llvm@6/bin/clang cmake ..
. Unfortunately it didn't have a lot of impact. I did notice a warning in as well I'm not sure how relevant it is but it looks like this:I don't have experience with building c stuff so I'm sorry in advance for missing something obvious. Is anyone able to help me a little with the install?