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

make -j error #1421

Open
Ynao3 opened this issue May 22, 2024 · 2 comments
Open

make -j error #1421

Ynao3 opened this issue May 22, 2024 · 2 comments

Comments

@Ynao3
Copy link

Ynao3 commented May 22, 2024

/home/kkk/anaconda3/envs/polymetis-local/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined reference to iJIT_IsProfilingActive' /home/kkk/anaconda3/envs/polymetis-local/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined reference to iJIT_GetNewMethodID'
/home/kkk/anaconda3/envs/polymetis-local/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined reference to iJIT_NotifyEvent' collect2: error: ld returned 1 exit status CMakeFiles/test_server.dir/build.make:146: recipe for target 'test_server' failed make[2]: *** [test_server] Error 1 CMakeFiles/Makefile2:356: recipe for target 'CMakeFiles/test_server.dir/all' failed make[1]: *** [CMakeFiles/test_server.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/kkk/anaconda3/envs/polymetis-local/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined reference to iJIT_IsProfilingActive'
/home/kkk/anaconda3/envs/polymetis-local/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined reference to iJIT_GetNewMethodID' /home/kkk/anaconda3/envs/polymetis-local/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined reference to iJIT_NotifyEvent'
collect2: error: ld returned 1 exit status
CMakeFiles/run_server.dir/build.make:145: recipe for target 'run_server' failed
make[2]: *** [run_server] Error 1
CMakeFiles/Makefile2:247: recipe for target 'CMakeFiles/run_server.dir/all' failed
make[1]: *** [CMakeFiles/run_server.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

@trevorablett
Copy link

Having just went through this myself recently, there seems to be an issue with conda and this verison of pytorch.

I solved it with pip install --force-reinstall torch==1.13.1 --index-url https://download.pytorch.org/whl/cpu (or you could remove the index-url if you want pytorch with gpu support, but then you also need to build with cuda support which is more involved).

@tsrobcvai
Copy link

Having just went through this myself recently, there seems to be an issue with conda and this verison of pytorch.

I solved it with pip install --force-reinstall torch==1.13.1 --index-url https://download.pytorch.org/whl/cpu (or you could remove the index-url if you want pytorch with gpu support, but then you also need to build with cuda support which is more involved).

This works for me

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

3 participants