-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Update README.md #379
Update README.md #379
Conversation
@jeiros Scikit-learn is included as part of the default anaconda install. There shouldn't be a need to include a separate installation instruction here. Would you mind checking to see whether your conda install didn't include scikit-learn for some reason? |
A lot of people will be using Miniconda. They'll need to install it. |
It's not there if one creates a fresh environment, as I did to test out deepchem. These are the commands: conda create -n deepchem2 python=3.5 -y
source activate deepchem2
conda install -c omnia openbabel=2.4.0 rdkit mdtraj -y
conda install joblib -y
pip install six tensorflow nose
git clone https://github.com/deepchem/deepchem.git
cd deepchem
python setup.py install
nosetests -v deepchem --nologcapture And here is the log. |
And here is the output of
|
@jeiros Ah, I see, that makes a lot of sense. In that case, it might make sense to add a separate section to the README.md that explains how to do installation within a conda environment (the current write-up assumes that you're not in an environment). Would you be up to modify the PR with full directions for conda-envs? :-) |
Sure! Will do tomorrow :)
El 31 ene. 2017 9:09 p. m., Bharath Ramsundar <notifications@github.com> escribió:
@jeiros<https://github.com/jeiros> Ah, I see, that makes a lot of sense. In that case, it might make sense to add a separate section to the README.md that explains how to do installation within a conda environment (the current write-up assumes that you're not in an environment). Would you be up to modify the PR with full directions for conda-envs? :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#379 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AKM1zAi74otECDaBJa70cKPyXHVVc3mvks5rX6MagaJpZM4LyeO9>.
|
@rbharath Done, let me know what you think, or if you want me to write more/less information. |
I'm trying the install commands in a new environment on a Linux machine (CentOS 7.2 x86_64) with 4 GPUs, and the tests are giving a segfault (output). Could it be that it needs all the GPUs in the system free? At the moment I have one running an MD production, maybe that's the reason: $ nvidia-smi
Thu Feb 2 16:50:01 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 370.28 Driver Version: 370.28 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX TIT... On | 0000:05:00.0 Off | N/A |
| 22% 61C P8 30W / 250W | 0MiB / 12206MiB | 0% E. Process |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX TIT... On | 0000:06:00.0 Off | N/A |
| 22% 55C P8 16W / 250W | 0MiB / 12206MiB | 0% E. Process |
+-------------------------------+----------------------+----------------------+
| 2 GeForce GTX TIT... On | 0000:09:00.0 Off | N/A |
| 24% 62C P8 18W / 250W | 0MiB / 12206MiB | 0% E. Process |
+-------------------------------+----------------------+----------------------+
| 3 GeForce GTX TIT... On | 0000:0A:00.0 Off | N/A |
| 55% 83C P2 174W / 250W | 1074MiB / 12206MiB | 100% E. Process |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 3 30964 C pmemd.cuda_SPFP 1072MiB |
+-----------------------------------------------------------------------------+ I've checked that it's not the
So I've tried directly importing
$ conda list | grep 'rdkit'
rdkit 2015.09.1 py35_2 omnia Here's the full output of
|
Ah, the |
Python segfaults are nasty issues... One possible debugging strategy is to start python within gdb (https://wiki.python.org/moin/DebuggingWithGdb) and trying to get the stack trace for the segfault. It would also help to figure out a minimal failing test case. I'd be OK to merge this as-is with a warning flagged on the conda environment directions that segfaults have sometimes happened |
Link to the PR comment
Done! It's not like modifying the README.md can break anything important 😄 |
@jeiros LGTM. Congrats on your first DeepChem PR :-) |
Add instructions to install
sklearn