BLAS/LAPACK Linking Issues #3674
Replies: 2 comments
-
Note The following post was exported from discuss.hail.is, a forum for asking questions about Hail which has since been deprecated. (Aug 07, 2023 at 14:26) danking said:sk4 , What environment are you in? Do you have root privileges on these machines? Are you certain you have OpenBLAS installed? You need a copy of open blas with the name mkdir -p ~/lib
ln -s /path/to/your/libopenblas.so ~/lib/libblas.so
export LD_LIBRARY_PATH=~/lib:$LD_LIBRARY_PATH and starting Spark with this? --conf spark.executor.extraClassPath="/path/to/libblas.so:/path/to/liblapack.so" The |
Beta Was this translation helpful? Give feedback.
-
Note The following post was exported from discuss.hail.is, a forum for asking questions about Hail which has since been deprecated. (Aug 07, 2023 at 16:53) sk4 said:Hi danking, Well, it looks like the Spark |
Beta Was this translation helpful? Give feedback.
-
Note
The following post was exported from discuss.hail.is, a forum for asking questions about Hail which has since been deprecated.
(Aug 07, 2023 at 02:08) sk4 said:
Hi!
I have been running into issues with BLAS/LAPACK linking when runing Hail functions that use linear algebra operations like linear regression or PCA. The error message looks like this:
I have tried the fixes proposed in this forum:
While running a GWAS / linear regression I get: "Answer from Java side empty" and "undefined symbol: cblas_dgemv"
and this one:
Undefined symbol: cblas_dgemm
But neither have worked to resolve the issue. In particular, if I try the “quick fix” to set LD_PRELOAD to the OpenBLAS path, I get an error from NumPy when importing Hail before initialization:
Is there another way to resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions