/rodinia_3.1_SW

rodinia_3.1 benchmark for SW

Primary LanguageC

rodinia_3.1_SW

rodinia_3.1 benchmark for Sunway TaihuLight.

Compile

Enter the subfolder and run the following command:

make

Run

After compile, run following command in subfolder:

make run

Then, the program will be submited to Sunway TaihuLight and wait for execution in queue.

Besides, we also provide shell script compile_run.sh, this script will run all benchmark and save the output in result.txt

Generate picture of result

We provide the python script to generate the result picture, You need to download the result.txt and result_plot.py located in plot directory to the same folder on your PC, then run the script result_plot.py , and the result picture will be saved into PDF file result.pdf

Requirement:

  • Python3: python3.8.3 is recommended.

  • matplotlib:

    ​ Matplotlib and its dependencies are available as wheel packages for macOS, Windows and Linux distributions, you can run

    the command below to install matplotlib.

    python -m pip install -U pip
    python -m pip install -U matplotlib

Example

Run athread version of BFS for example.

  1. Enter BFS source folder.

    cd /path/to/rodinia_3.1_SW/athread/bfs
  2. compile the source code.

    make
  3. submit to Sunway TaihuLight.

    make run

Run all benchmarks.

  1. Enter root folder.

    cd /path/to/rodinia_3.1_SW/
  2. Execute the bash script, then the output file result.txt will be generated.

    ./compile_run.sh
  3. Download result.txtand result_plot.py located in plot directory to the same folder on your PC.

  4. Generate result figure.

    python result_plot.py