diplomacy_cicero
diplomacy_cicero copied to clipboard
Undefined Reference Errors when running make
Using Debian Linux. Followed install instructions, but on running make am getting a bunch of undefined reference errors as follows:
[ 83%] Built target gmock_main
[ 91%] Linking CXX shared module /home/[username]/diplomacy_cicero/fairdiplomacy/selfplay/rela.cpython-37m-x86_64-linux-gnu.so
[100%] Linking CXX executable prioritized_replay_test
/usr/bin/ld: /opt/conda/envs/cicero2/lib/python3.7/site-packages/torch/lib/libtorch_python.so: undefined reference to PyUnicode_InternFromString' /usr/bin/ld: /opt/conda/envs/cicero2/lib/python3.7/site-packages/torch/lib/libtorch_python.so: undefined reference to
PyInstanceMethod_Type'
/usr/bin/ld: /opt/conda/envs/cicero2/lib/python3.7/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_DelItemString'
Have also tested this on several other machines/configurations with the same results.
For now, I would suggest commenting out the selfplay
target in the Makefile. Everything except self-play RL should still work.
@akhti can take a look when back from vacation.
For now, I would suggest commenting out the
selfplay
target in the Makefile. Everything except self-play RL should still work.@akhti can take a look when back from vacation.
Thank you! This workaround does appear to work for now, we are currently having some issues with missing includes when we run it with the example command:
python run.py --adhoc --cfg conf/c01_ag_cmp/cmp.prototxt Iagent_one=agents/bqre1p_parlai_20220819_cicero_2.prototxt Iagent_six=agents/ablations/cicero_imitation_only.prototxt power_one=TURKEY
but are working on resolving those.
Is this fixed?