├── .github └── workflows │ └── run-pytest.yml ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE.md ├── README.md ├── config └── general.yaml ├── examples ├── hellocluster-python-array │ ├── launch_array.py │ └── main_hello_cluster.py ├── hellocluster-python │ ├── launch_hellocluster_python.py │ └── main_hello_cluster.py ├── hellocluster-yaml │ ├── config.yaml │ ├── hellocluster_script_template.sh │ └── launch.py ├── hellocluster │ ├── hellocluster_script.sh │ └── launch_hellocluster.py └── python_dependencies │ ├── custom_library │ ├── __init__.py │ └── speed_of_light.py │ ├── launch_python_dependencies.py │ └── script │ └── main_using_custom_library.py ├── notes ├── TODOs.md ├── cli.md ├── features.md ├── install_cluster.md ├── list_of_jobs.md ├── local_mode.md ├── python_support.md ├── running_locally.md ├── skypilot.md └── subfolder.md ├── pyproject.toml ├── setup.py ├── slurmpilot ├── __init__.py ├── callback │ └── __init__.py ├── cli │ ├── __init__.py │ ├── add_cluster.py │ ├── cli.py │ └── usage.py ├── config.py ├── job_creation_info.py ├── job_metadata.py ├── jobpath.py ├── remote_command.py ├── slurm_job_status.py ├── slurm_main_script.py ├── slurm_wrapper.py ├── slurmpilot.py └── util.py └── tst ├── script └── launch.sh ├── test_config.py ├── test_generate_sbatch_script.py ├── test_job_creation_info.py ├── test_jobmetadata.py ├── test_path_logic.py └── test_slurm_wrapper.py /.github/workflows/run-pytest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/.github/workflows/run-pytest.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/README.md -------------------------------------------------------------------------------- /config/general.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/config/general.yaml -------------------------------------------------------------------------------- /examples/hellocluster-python-array/launch_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/hellocluster-python-array/launch_array.py -------------------------------------------------------------------------------- /examples/hellocluster-python-array/main_hello_cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/hellocluster-python-array/main_hello_cluster.py -------------------------------------------------------------------------------- /examples/hellocluster-python/launch_hellocluster_python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/hellocluster-python/launch_hellocluster_python.py -------------------------------------------------------------------------------- /examples/hellocluster-python/main_hello_cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/hellocluster-python/main_hello_cluster.py -------------------------------------------------------------------------------- /examples/hellocluster-yaml/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/hellocluster-yaml/config.yaml -------------------------------------------------------------------------------- /examples/hellocluster-yaml/hellocluster_script_template.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/hellocluster-yaml/hellocluster_script_template.sh -------------------------------------------------------------------------------- /examples/hellocluster-yaml/launch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/hellocluster-yaml/launch.py -------------------------------------------------------------------------------- /examples/hellocluster/hellocluster_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/hellocluster/hellocluster_script.sh -------------------------------------------------------------------------------- /examples/hellocluster/launch_hellocluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/hellocluster/launch_hellocluster.py -------------------------------------------------------------------------------- /examples/python_dependencies/custom_library/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/python_dependencies/custom_library/speed_of_light.py: -------------------------------------------------------------------------------- 1 | def speed_of_light() -> int: 2 | return 299792458 -------------------------------------------------------------------------------- /examples/python_dependencies/launch_python_dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/python_dependencies/launch_python_dependencies.py -------------------------------------------------------------------------------- /examples/python_dependencies/script/main_using_custom_library.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/examples/python_dependencies/script/main_using_custom_library.py -------------------------------------------------------------------------------- /notes/TODOs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/notes/TODOs.md -------------------------------------------------------------------------------- /notes/cli.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/notes/cli.md -------------------------------------------------------------------------------- /notes/features.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/notes/features.md -------------------------------------------------------------------------------- /notes/install_cluster.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/notes/install_cluster.md -------------------------------------------------------------------------------- /notes/list_of_jobs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/notes/list_of_jobs.md -------------------------------------------------------------------------------- /notes/local_mode.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/notes/local_mode.md -------------------------------------------------------------------------------- /notes/python_support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/notes/python_support.md -------------------------------------------------------------------------------- /notes/running_locally.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/notes/running_locally.md -------------------------------------------------------------------------------- /notes/skypilot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/notes/skypilot.md -------------------------------------------------------------------------------- /notes/subfolder.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/notes/subfolder.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/setup.py -------------------------------------------------------------------------------- /slurmpilot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/__init__.py -------------------------------------------------------------------------------- /slurmpilot/callback/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/callback/__init__.py -------------------------------------------------------------------------------- /slurmpilot/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /slurmpilot/cli/add_cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/cli/add_cluster.py -------------------------------------------------------------------------------- /slurmpilot/cli/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/cli/cli.py -------------------------------------------------------------------------------- /slurmpilot/cli/usage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/cli/usage.py -------------------------------------------------------------------------------- /slurmpilot/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/config.py -------------------------------------------------------------------------------- /slurmpilot/job_creation_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/job_creation_info.py -------------------------------------------------------------------------------- /slurmpilot/job_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/job_metadata.py -------------------------------------------------------------------------------- /slurmpilot/jobpath.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/jobpath.py -------------------------------------------------------------------------------- /slurmpilot/remote_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/remote_command.py -------------------------------------------------------------------------------- /slurmpilot/slurm_job_status.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/slurm_job_status.py -------------------------------------------------------------------------------- /slurmpilot/slurm_main_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/slurm_main_script.py -------------------------------------------------------------------------------- /slurmpilot/slurm_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/slurm_wrapper.py -------------------------------------------------------------------------------- /slurmpilot/slurmpilot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/slurmpilot.py -------------------------------------------------------------------------------- /slurmpilot/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/slurmpilot/util.py -------------------------------------------------------------------------------- /tst/script/launch.sh: -------------------------------------------------------------------------------- 1 | echo "coucou" 2 | -------------------------------------------------------------------------------- /tst/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/tst/test_config.py -------------------------------------------------------------------------------- /tst/test_generate_sbatch_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/tst/test_generate_sbatch_script.py -------------------------------------------------------------------------------- /tst/test_job_creation_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/tst/test_job_creation_info.py -------------------------------------------------------------------------------- /tst/test_jobmetadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/tst/test_jobmetadata.py -------------------------------------------------------------------------------- /tst/test_path_logic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/tst/test_path_logic.py -------------------------------------------------------------------------------- /tst/test_slurm_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geoalgo/slurmpilot/HEAD/tst/test_slurm_wrapper.py --------------------------------------------------------------------------------