Skip to content

Experiments

Henrik Barthels 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 as well as reference code and times the execution of the generated code.

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

The execution time of the code generation can be measured independently with the following command.

bsub < ~/Linnea/output/jobscripts/pldi/time_generation_{c,e}_{m,nm}.sh
Clone this wiki locally