BlueBrain / hpcbench

Define and run your benchmarks
GNU General Public License v3.0
2 stars 0 forks source link

IOR: add expansion of "path" attribute #254

Closed tristan0x closed 6 years ago

tristan0x commented 6 years ago

This pull-request allows the user to leverage Python formatting when providing the "path" attribute in an IOR benchmark, for instance:

benchmarks:
  knl:
    sbatch:
      nodes: [1, 8, 16 32]
      ntasks-per-node: [1. 4. 8. 16]
    small:
      type: ior
      attributes:
        apis: [MPIIO, POSIX]
        file_mode: both
        block_size: 8M
        transfer_size: [1K,. 4K]
        path: /gpfs/acme.com/proj1/{benchmark}/{api}/{file_mode}/bs{block_size}/ts{transfer_size}

It will allow us to shrink the YAML configuration even more.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.02%) to 84.777% when pulling cf348ea0dc48a93393ce49acea76b28e505a1aea on enh/benchmark-context into 658e0a05f297677e2c557c4331452ae62acfca8f on master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.007%) to 84.768% when pulling 2cb182a26dbc6c0721be30cbabd3e0f8dd72f6b8 on enh/benchmark-context into 658e0a05f297677e2c557c4331452ae62acfca8f on master.