-
Notifications
You must be signed in to change notification settings - Fork 90
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
MPB build error #107
Comments
It looks like it's not linking the BLAS/LAPACK library. What does |
Output from the above command: I have LDFLAGS and LD_LIBRARY_PATH pointing to the above lib folder. I am not sure why I keep getting that error. I am using gcc-9.2. I installed openblas using: homebrew install openblas. It seems to work fine with python-numpy. More verbose output: /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic -no-undefined -version-info 2:0:1 -L/Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/openblas/0.3.7/lib -L/Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/hdf5/1.10.5_1/lib -L/Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/fftw/3.3.8_1/lib -L/Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/gsl/2.6/lib -L/Users/amritpoudel/Desktop/HPC_LIB/HARMINV/lib -L/Users/amritpoudel/Desktop/HPC_LIB/LIBCTL/lib -o libmpb.la -rpath /Users/amritpoudel/Desktop/HPC_LIB/MPB/lib util/libutil.la matrices/libmatrices.la maxwell/libmaxwell.la -lhdf5 -lz /Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/openblas/0.3.7/lib/libopenblas.dylib /Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/openblas/0.3.7/lib/libopenblas.dylib -lfftw3 -lm -L/Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/openblas/0.3.7/lib -L/Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/hdf5/1.10.5_1/lib -L/Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/fftw/3.3.8_1/lib -L/Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/gsl/2.6/lib -L/Users/amritpoudel/Desktop/HPC_LIB/HARMINV/lib -L/Users/amritpoudel/Desktop/HPC_LIB/LIBCTL/lib -L/Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/gcc/9.2.0/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 -L/Users/amritpoudel/Desktop/HPC_LIB/HOMEBREW/Cellar/gcc/9.2.0/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. -lgfortran -lquadmath -lm |
I’d appreciate any other suggestions on how I can fix this error. Openblas (contains both blas and lapack) is in the path, but I’m not sure why mpb make complains. When homebrew builds openblas, it uses gfortran compiler, which is the same compiler I am using to build all libraries from source. |
I am encountering the following error when trying to build mpb from source on macosx Mojave. All other libraries that mpb depends on are built using homebrew install <formula_name> and they are working fine. However, when I try to build mpb from source, make runs into the following error:
The text was updated successfully, but these errors were encountered: