Closed samfux84 closed 2 years ago
I could fix the issue by downloading the source code of MinkowskiEngine 0.5.4 and replacing
# args with return value
CUDA_HOME, argv = _argparse("--cuda_home", argv, False)
BLAS, argv = _argparse("--blas", argv, False)
BLAS_INCLUDE_DIRS, argv = _argparse("--blas_include_dirs", argv, False, is_list=True)
BLAS_LIBRARY_DIRS, argv = _argparse("--blas_library_dirs", argv, False, is_list=True)
MAX_COMPILATION_THREADS = 12
with
# args with return value
CUDA_HOME, argv = _argparse("--cuda_home", argv, False)
BLAS="openblas"
BLAS_INCLUDE_DIRS = "/cluster/apps/gcc-8.2.0/openblas-0.2.20-5gatj7a35vypgjekzf3ibbtz54tlbk3m/include"
BLAS_LIBRARY_DIRS = "/cluster/apps/gcc-8.2.0/openblas-0.2.20-5gatj7a35vypgjekzf3ibbtz54tlbk3m/lib"
MAX_COMPILATION_THREADS = 1
in setup.py and then I compiled it with
pip install --no-binary :all: -v --no-deps --install-option="--force_cuda" --install-option="--cuda_home=/cluster/apps/gcc-8.2.0/cuda-11.3.1-o54iuxgz6jm4csvkstuj5hjg4tvd44h3" .
Hi,
Even though I set $BLAS_INCLUDE_DIRS, $BLAS_LIBRARY_DIRS and use the command line options --blas-include-dirs and--blas-library-dirs, the installation fails, because the OpenBLAS library is not detected:
I expect that MinkowskiEngine can find the OpenBLAS library as I am using all possible ways to specify the path to it.
Desktop (please complete the following information):
This is a recurring issue that I face almost every time I try to install a new version of MinkowskiEngine. Any help is appreciated, as it seems to be a cool package that we would like to provide to all the users on our HPC cluster.