You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Makefile given did not work even after installing the libraries (via apt). By switching all linking to dynamic, and adding -llapacke and -lm, I got the installation to go through. The end result was modifying line 2 of src/makefile to:
You can actually just get rid of the "-Wl,-Bdynamic " entirely if you are dynamically linking things. I made the Makefile statically link things because the distributed EIGENSOFT package (https://www.hsph.harvard.edu/alkes-price/software/) is meant to statically link things so people don't need gsl/openblas installed on the system. The trade-off is that it's a PITA to compile for others. I should probably add "DYNAMIC" and/or "STATIC" flags into the Makefile that will set LDLIBS accordingly.
The Makefile given did not work even after installing the libraries (via apt). By switching all linking to dynamic, and adding -llapacke and -lm, I got the installation to go through. The end result was modifying line 2 of src/makefile to:
LDLIBS += -lgfortran -lrt -Wl,-Bdynamic -fopenmp -llapacke -llapack -lgsl -lopenblas -lm
The text was updated successfully, but these errors were encountered: