Skip to content
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

pip install tejaas errors #4

Closed
wang-xc123 opened this issue Aug 5, 2021 · 2 comments
Closed

pip install tejaas errors #4

wang-xc123 opened this issue Aug 5, 2021 · 2 comments

Comments

@wang-xc123
Copy link

wang-xc123 commented Aug 5, 2021

Hi,
I want to install tejaas in my computer. my python version is 3.7.8, and my pip version is 20.2.3 (python 3.7). I already installed mkl and other necessary python packages for tejaas using conda. I then want to install tejaas using pip install tejaas command, but get the follow errors:

ERROR: Could not find a version that satisfies the requirement tejaas (from versions: none)
ERROR: No matching distribution found for tejaas

Could you give me some suggestion to install tejaas. Thanks!

@francosimonetti
Copy link
Collaborator

Hi @wang-xc123,

The pip installer from tejaas is not available yet. I'm sorry for the confusion in the help page.
In the meantime you can install tejaas by cloning the repository, installing the requirements and compiling the C libraries.

git clone https://github.com/soedinglab/tejaas.git
cd tejaas/lib
make clean
make
cd ..
tests/run_mwe.sh

if you get an error mkl.h not found, replace line 3 of lib/Makefile that looks like this:
LIBFLAGS := -L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl -std=c99
for this one:
LIBFLAGS := -L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_rt -lpthread -lm -ldl -std=c99

It might do the trick. If you need to set MKLROOT, check the MKL installation path and run this in your terminal before running the Makefile, it usually looks something like this:
export MKLROOT=/opt/intel/oneapi/mkl/2021.3.0
source /opt/intel/oneapi/setvars.sh

Franco

@wang-xc123
Copy link
Author

Thank you for your help. I now finish installing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants