Skip to content

Experiments

Chris Psarras edited this page Jan 9, 2019 · 4 revisions

Experiments

To run experiments on the cluster follow these steps: Generate the jobscripts by executing (run python experiments.py -h for more info):

python experiments.py jobscripts pldi {...}

Assuming default paths, the following code generates linnea code & reference code and times code execution and generation.

bsub < ~/Linnea/output/jobscripts/pldi/generate_code_{c,e}.sh          # Generate Algorithms in Julia
bsub < ~/Linnea/output/jobscripts/pldi/generate_code_f.sh              # Generate Reference code
bsub < ~/Linnea/output/jobscripts/pldi/time_{julia,matlab,cpp}.sh      # Run the runner files to time the algorithms for each language
bsub < ~/Linnea/output/jobscripts/pldi/time_generation_{c,e}_{m,nm}.sh
Clone this wiki locally