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

boost::mutex::~mutex(): Assertion `!res' failed. #1

Closed
SiyuanQi-zz opened this issue Sep 27, 2017 · 4 comments
Closed

boost::mutex::~mutex(): Assertion `!res' failed. #1

SiyuanQi-zz opened this issue Sep 27, 2017 · 4 comments

Comments

@SiyuanQi-zz
Copy link

Hi, I am trying to run the program on Ubuntu 16.04 with python 2.7. I have the rdkit package installed and the data downloaded. However, when I tried to run the main program I got the following error:

(venv) siyuan:nmp_qc$ python main.py 
Prepare files
Define model
python: /usr/include/boost/thread/pthread/mutex.hpp:111: boost::mutex::~mutex(): Assertion `!res' failed.
Aborted (core dumped)

The program crashed here:

nmp_qc/main.py

Lines 101 to 103 in 177db7e

print('Define model')
# Select one graph
g_tuple, l = data_train[0]

What would possibly be the reason for that? Thanks in advance!

@ay27
Copy link

ay27 commented Feb 1, 2018

Same issue, seems something errors in boost. Waiting for response.

@AnjanDutta
Copy link
Collaborator

I think this problem comes from the rdkit installed. Can you please try installing the boost and rdkit from the source? And also check the version, in my pc the version of rdkit is 2016.09.1, which works fine with the code.

import rdkit
rdkit.__version__
'2016.09.1'

@ay27
Copy link

ay27 commented Feb 1, 2018

Well, when I followed the installation from rdkit with conda environment, problem solved.

@AnjanDutta
Copy link
Collaborator

Thanks for informing it to us. Since the problem is solved, I close this issue.

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