facebookresearch / facebookresearch/fairo
make -j error
- Dominant language
- Jupyter Notebook
- Stars
- 929
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
/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
Contributor guide
Research direction
Start by reproducing the reported make -j failure in the Python 3.8 Anaconda environment and inspect the CMake-generated targets CMakeFiles/test_server.dir and CMakeFiles/run_server.dir. Trace the missing iJIT_* symbols from libtorch_cpu.so and verify that both targets link successfully without the reported undefined references.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, python, pytorch
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100