e-caste / sdp-q2-project

A fast C implementation of the GRAIL algorithm for large graphs search. Project Q2 of the System and Device Programming course @ PoliTo
1 stars 0 forks source link

Add bash launcher #20

Closed e-caste closed 3 years ago

e-caste commented 3 years ago

Add launch.sh to add ability to:

Bash is a prerequisite, but I think the professor will have no problem using it.

e-caste commented 3 years ago

TODO: run on 24 threads to see if a heavy parallelization is worth it

e-caste commented 3 years ago

TODO: run pulisci_query.c when extracting the .test files

e-caste commented 3 years ago

TODO: prompt user to install missing required packages before running

Enrico-git commented 3 years ago

This seems to be a WSL only problem:

Unarchiving data/grail-dags/testdata.tar with tar...
mv: cannot move 'data/grail-dags/testdata/1000' to 'data/grail-dags/1000': Permission denied
mv: cannot move 'data/grail-dags/testdata/deepPositive' to 'data/grail-dags/deepPositive': Permission denied
mv: cannot move 'data/grail-dags/testdata/large' to 'data/grail-dags/large': Permission denied
mv: cannot move 'data/grail-dags/testdata/positive' to 'data/grail-dags/positive': Permission denied
mv: cannot move 'data/grail-dags/testdata/scalefree' to 'data/grail-dags/scalefree': Permission denied
mv: cannot move 'data/grail-dags/testdata/sigmod08' to 'data/grail-dags/sigmod08': Permission denied
mv: cannot move 'data/grail-dags/testdata/sigmod09' to 'data/grail-dags/sigmod09': Permission denied
mv: cannot move 'data/grail-dags/testdata/synthetic' to 'data/grail-dags/synthetic': Permission denied
mv: cannot move 'data/grail-dags/testdata/unused' to 'data/grail-dags/unused': Permission denied
rmdir: failed to remove 'data/grail-dags/testdata': Directory not empty
mv: cannot move 'data/grail-dags/testdata/1000' to 'data/grail-dags/1000': Permission denied
mv: cannot move 'data/grail-dags/testdata/deepPositive' to 'data/grail-dags/deepPositive': Permission denied
mv: cannot move 'data/grail-dags/testdata/large' to 'data/grail-dags/large': Permission denied
mv: cannot move 'data/grail-dags/testdata/positive' to 'data/grail-dags/positive': Permission denied
mv: cannot move 'data/grail-dags/testdata/scalefree' to 'data/grail-dags/scalefree': Permission denied
mv: cannot move 'data/grail-dags/testdata/sigmod08' to 'data/grail-dags/sigmod08': Permission denied
mv: cannot move 'data/grail-dags/testdata/sigmod09' to 'data/grail-dags/sigmod09': Permission denied
mv: cannot move 'data/grail-dags/testdata/synthetic' to 'data/grail-dags/synthetic': Permission denied
mv: cannot move 'data/grail-dags/testdata/unused' to 'data/grail-dags/unused': Permission denied
rmdir: failed to remove 'data/grail-dags/testdata': Directory not empty
Compiling clean_query_file.c...
Removed first non-numeric line from data/grail-dags/agrocyc_dag_uniq.gra
e-caste commented 3 years ago

TODO: for the GRAIL DAGs, run the benchmark against the ones in the screenshot below (given by Quer) and hardcode or find a clever way to find the correspondance between a .gra and its .que file. Comment out unneeded downloads from DAGS.

Screenshot 2021-01-02 at 11 28 03