-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I'm installing pymaster linux. I've all the dependencies installed in my system and included in $PATH and $LD_LIBRARY_PATH in my bash profile. I first try pip install, but it keeps failing with the following error. However, I checked that libgslcblas.a indeed already exists in the gsl library path so somehow pip just can't find it.
checking for library containing pow... -lm
checking for library containing cblas_dgemm... no
configure: error: Couldn't find libgslcblas.
ERROR: failed to configure libnmt. Check all dependencies are installed
Dependencies:
- GSL
- FFTW
- CFITSIO
- HEALPix
error: Failed to compile C library.
[end of output]
I then tried to install from source by downloading the code and then python setup.py install. In this case, I symlink the pre-installed dependencies under the _deps directory. However, the installation now complains
configure: error: Couldn't find cfitsio
However, the libcfitsio.a is indeed linked properly within the _deps directory. While the installation now seems find gsl in _deps, it still can't see cfitsio.
I also tried to modify the library_dirs and include_dirs under the _nmtlib function in setup.py, to include all the paths to dependencies libraries. The issue however remains.
I didn't want to use conda since I'm working on a HPC cluster where conda is not installed.