diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b96e5084caec323e86408656d2f88586bcbd1553..59073da9f8e3fc3b3f061fdf17a8f9698bd340a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ variables: powercap-measurement: variables: - CUSTOM_CI_BUILDS_DIR: /p/scratch/cjsc/badwaik1.exacb/ + CUSTOM_CI_BUILDS_DIR: /p/scratch/cjsc/badwaik1.exacb/job/$CI_JOB_ID id_tokens: SITE_ID_TOKEN: aud: "https://gitlab.jsc.fz-juelich.de" @@ -42,5 +42,5 @@ powercap-plotting: - python -m venv venv - source venv/bin/activate - pip install matplotlib - - python post/plotting.py --input benchmark.csv --output benchmark.pdf + - python post/plotting.py --input benchmark.csv --output benchmark.pdf --powercap 300 diff --git a/benchmark.yml b/benchmark.yml index c6a8f4c233c6b0b8fbc2157a41d725bd11ddf89f..7eb70eea15d45156a6a1b0428d5546e05d7e490a 100644 --- a/benchmark.yml +++ b/benchmark.yml @@ -12,7 +12,7 @@ parameterset: - name: benchParam parameter: - name: inputpowercap - _: "100, 120, 140, 160, 180, 200, 220, 240, 260, 280, 300" + _: "100, 120, 140, 160, 180, 200, 220, 240, 260, 280, 300, 320, 340, 360, 380, 400" - name: systemParam init_with: "platform.xml:systemParameter" parameter: diff --git a/post/plotting.py b/post/plotting.py index cc7d02d2c6ac322169a9b2a4d4174ae64bd77176..a6057b7dd3904cbfbbdffc49efe86f1bf2dbc45d 100755 --- a/post/plotting.py +++ b/post/plotting.py @@ -10,6 +10,7 @@ if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("--input", help="input file") parser.add_argument("--output", help="output file") + parser.add_argument("--powercap", help="powercap") args = parser.parse_args() filename = args.input @@ -25,7 +26,7 @@ if __name__ == "__main__": fig, ax = matplotlib.pyplot.subplots() ax.plot(x, y) - ax.set(xlabel="power", ylabel="performance", title="Graph") + ax.set(xlabel="power", ylabel="performance", title="BMC Powercap=" + str(args.powercap)) matplotlib.pyplot.savefig(args.output)