You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a new application outside of the core library
Define your computation as in example_application.py.
Modify the main json configuration file to include the application and provide a link to the local python file.
In the configuration file define the job in "jobs" section providing the path to the python file in "path" and the "file.module" name in "type". The file will be added to the tar file that contains the executables. In the "users" section add the new application and assign a probability of executing it.
Adding a new application as part of the core library
Define your computation as in example_application.py. This is the src script of your application you want to run. Place this in the qstone/apps folder.
In qstone.apps.computation_registry add {"yourcomputationname" : ComputationClass}.
To use your computation simply use "yourcomputationname" when defining the configuration JSON for the generator.