Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
1 result

benchmark.yml

Blame
  • benchmark.yml 1.79 KiB
    name: stress-ng
    
    outpath: /dev/null
    
    fileset:
      - name: source
        copy: src
      - name: postsource
        copy: post
    
    parameterset:
      - name: benchParam
        parameter:
          - name: inputpowercap
            _: "100,120,140,160,180,200,220,240,260,280,300"
      - name: systemParam
        init_with: "platform.xml:systemParameter"
        parameter:
        - name: nodes
          _: 1
        - name: queue
          _: "all"
        - name: executable
          _: "stress-ng"
        - name: args_exec
          _: "--matrix 0 --timeout 60s --metrics-brief --yaml $powercap.yaml"
        - name: powercap
          _: $inputpowercap
        - name: "additional_job_config"
          _: "#SBATCH --grace-power-cap=$powercap"
      - name: executeset
        init_with: "platform.xml:executeset"
        parameter:
        - name: args_starter
          _: "--cpu-bind=none"
    
    step:
      - name: build
        use:
          - source
        do:
          - module load GCC OpenMPI
          - LTO=1 make -C src
      - name: run
        depend: build
        use:
          - benchParam
          - systemParam
          - from: platform.xml
            _: jobfiles
          - from: platform.xml
            _: executesub
          - executeset
        do:
          - cp build/src/stress-ng .
          - done_file: $done_file
            error_file: $error_file
            _: ${submit} --parsable ${submit_script}
      - name: postprocessing
        depend: run
        use:
          - postsource
          - benchParam
        do:
          - module load GCC Python PyYAML
          - python post/postprocessing.py run/$powercap.yaml  > bogomips.out
    
    patternset:
      - name: performance_metric
        pattern: