Getting started
Setup
The hpcadvisor setup is based on python poetry to handle dependencies and a python virtual environment.
Check poetry installation guidelines HERE. Once poetry is installed run the following commands in your terminal to install and create python virtual environment.
Generate standalone binary
Alternatively, you can generate a standalone binary file using:
From project root folder, type:
Simple example
Follow the matrix multiplication example here for detailed instructions.
CLI-based execution
Once the setup above (via poetry) is done, for the matrix multiplication
example, you just need to update examples/matrixmult/ui_defaults.yaml
with
your preferences. For this example, you only need to update subscription
,
and you should be good to go.
The follow two lines deploy a computing environment specified in ui defaults file and start the data collection (i.e. run the jobs), respectively:
./hpcadvisor deploy create -u ../examples/matrixmult/ui_defaults.yaml
./hpcadvisor collect -n <deploymentname> -u ../examples/matrixmult/ui_defaults.yaml
If you want to only test the plot generator component, skipping the data collection, you need to copy a dataset file to hpcadvisor directory:
Then request the plot generation:
To get the advice (based on pareto-front calculation):
GUI-based execution
One can use the browser version and click the buttons for the different operations. To pre-fill user input, specify the input file as showed below: