JetBrains-Research / CFPQ-on-GPGPU

MIT License
10 stars 5 forks source link

Error on trying to run experiments #24

Closed ciromdrs closed 5 years ago

ciromdrs commented 5 years ago

Hi

I have tried to run the experiments as described in this README file: README.md (branch 'documentation') I have an Ubuntu 18.04.2 machine. Firstly I downloaded the files with git lfs, ran build_tests.py and then ran the following command in the CFPQ-on-GPGPU root folder (my docker image is called cfpq):

$ sudo docker run -v . cfpq

Then I got the following output:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:424: container init caused \"apply apparmor profile: apparmor failed to apply profile: open /proc/self/attr/exec: no such file or directory\"": unknown. ERRO[0179] error waiting for container: context canceled.

I do not know how to use docker very well, but I believe it is not the problem, since it created the cfpq image succesfully (it has more than 5Gb of size).

I do not have an NVIDA graphics card. I have an Intel UHD 620, which supports Open CL, but I am not sure if it is compatible with CUDA.

So my questions are: 1 - Am I doing something wrong in the tests execution process? 2 - Is it possible to run the tests without an NVIDA graphics card, but with one that supports Open CL?

ciromdrs commented 5 years ago

Ps.: I had ran the tests before downloading the files with git lfs and the python interpreter threw an error about not finding triples in the file. That was true, since I had not downloaded the real content of the files with git lfs yet. No problem about this, so. But what matters for me is that it indicates that the python interpreter is actually reading the files, and this may serve as debugging information.

NikitaMishin commented 5 years ago

Hello, About the second question--- practically all implementations use CUDA, moreover, CUDA is only available on Nvidia cards. I think it should be mentioned in the documentation. As for the first question, maybe it refers to this problem https://github.com/docker/for-linux/issues/503 ?

SpirinEgor commented 5 years ago

Hi, First of all, you should generate test description. So, you should check, that in data folder you have real data and run python test_utils/build_testset.py data. After that, you will see tests.csv with all information about tests. If you have completed all preparation, run tests via docker run -v /<path to project>/data:/data/ cfpq, notice, that docker needs the full path to your data folder.

ciromdrs commented 5 years ago

Hi

I have managed to get the tests running. One mistake was to pass the . (dot) instead of the full path. The other one was in the command. The command that worked for me was docker run -v /<path to project>:/work/ cfpq (path to project root, not data; and after the : I put the work directory) That worked for me.

As expected, my GPU does not support cuda, so the tests that use GPU present empty results.

Thanks for the help.

SpirinEgor commented 5 years ago

I'm glad, that you could run it if you have other questions, feel free to ask.