Launch Notebook Per Model on Compute Cloud¶
flyvis_cli.analysis.notebook_per_model ¶
Script to run a notebook for each model of an ensemble.
run_notebook_ensemble ¶
run_notebook_ensemble(args, kwargs)
Launch notebook jobs for an ensemble of models.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
args
|
Namespace
|
Command-line arguments. |
required |
kwargs
|
List[str]
|
Additional keyword arguments as a list of strings. |
required |
Source code in flyvis_cli/analysis/notebook_per_model.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|
usage:
flyvis notebook-per-model [-h] [...] --ensemble_id ENSEMBLE_ID --task_name TASK_NAME --notebook_per_model_path PATH
or
notebook_per_model.py [-h] [...] --ensemble_id ENSEMBLE_ID --task_name TASK_NAME --notebook_per_model_path PATH
Run a notebook for each model of an ensemble on the compute cloud.
options:
-h, --help show this help message and exit
--start START Start id of ensemble.
--end END End id of ensemble.
--nP NP Number of processors.
--gpu GPU Number of GPUs.
--q Q Queue.
--ensemble_id ENSEMBLE_ID
Id of the ensemble, e.g. 0045.
--task_name TASK_NAME
Name given to the task, e.g., flow.
--notebook_per_model_path NOTEBOOK_PER_MODEL_PATH
Path of the notebook to execute. Default: /groups/tura
ga/home/lappalainenj/FlyVis/private/flyvision/flyvis/a
nalysis/__main_per_model__.ipynb
--dry Perform a dry run without actually launching jobs.