facebookresearch / hanabi_SAD

Simplified Action Decoder for Deep Multi-Agent Reinforcement Learning
Other
97 stars 35 forks source link

make -j10 failed #5

Open BLUECARVIN opened 4 years ago

BLUECARVIN commented 4 years ago

Hi,

Unfortunately, I faced the same problem as the prior closed issue when I make -j10.

image

And when I comment the line 153-155 in hanabi_env.h, "make -j10" is processed successfully. However when I run the python example, I cannot import hanalearn. And the error message is ":ImportError: undefined symbol: _ZNK19hanabi_learning_env10HanabiGame10ParametersEv"

here is my Cmake log when building:

image

Could you please help me to figure out the question? Thank you!

hengyuan-hu commented 4 years ago

It that your full CMake log? what is your cmake version, gcc version, and cuda version? The error is in the hanabi learning environment, which is an external dependency mostly written by DeepMind. Can you try to build that subfolder alone and see if you can build it?

cd hanabi-learning-environment
mkdir build
cd build
cmake ..
make -j10
BLUECARVIN commented 4 years ago

Thank you very much! My cmake version is 3.14.0, gcc version is 7.5 and cuda version is 10.1. I think this is the hanabi learning environment's error. I can build the build the environment clone from the DeepMind source successfully. However, I can't build the subfolder in hannabi_SAD. I will try to figure it out, thank you very much!