MCPcopy Create free account

hub / github.com/BSC-ES/autosubmit / functions

Functions2,688 in github.com/BSC-ES/autosubmit

↓ 1 callersMethod_add_children
(self, job, exp, node_job, groups, hide_groups)
autosubmit/monitor/monitor.py:427
↓ 1 callersMethod_add_dependencies
Build dependency maps and populate the dependency graph for all jobs. Iterate experiment `JOBS` sections to: - build deep dependency
autosubmit/job/job_list.py:368
↓ 1 callersFunction_aggregate_jobs_by_section
Aggregate jobs by section.
autosubmit/monitor/diagram.py:448
↓ 1 callersMethod_apply_jobs_edge_info
(self, job: Job, dependencies: dict)
autosubmit/job/job_list.py:969
↓ 1 callersFunction_attach_file
Attach a file to a message. The attachment file name will be the same name of the ``file_path``. :param file_path: The path of the file to b
autosubmit/notifications/mail_notifier.py:66
↓ 1 callersMethod_automatic_grouping
(self, groups_map)
autosubmit/job/job_grouping.py:247
↓ 1 callersMethod_build_horizontal_packages
(self, section_list, wrapper_limits, wrapper_info={})
autosubmit/job/job_packager.py:689
↓ 1 callersMethod_build_horizontal_vertical_package
(self, horizontal_packager, job_sections, jobs_resources, wrapper_info)
autosubmit/job/job_packager.py:750
↓ 1 callersMethod_build_hybrid_package
(self, jobs_list, wrapper_limits, job_sections, wrapper_info={})
autosubmit/job/job_packager.py:735
↓ 1 callersMethod_build_vertical_horizontal_package
(self, horizontal_packager, jobs_resources, wrapper_info)
autosubmit/job/job_packager.py:779
↓ 1 callersMethod_calculate_filter_dependencies
Calculate dependencies that has any kind of filter set and add them to the graph if they're necessary. :param filters_to_apply: Filters to ap
autosubmit/job/job_list.py:1148
↓ 1 callersMethod_calculate_natural_dependencies
Calculate natural dependencies and add them to the graph if they're necessary. :param dic_jobs: JobList :param job: Current job
autosubmit/job/job_list.py:1034
↓ 1 callersMethod_check_checkpoint
Check if a job has a checkpoint. :param job: The job to check.
autosubmit/job/job_list.py:2538
↓ 1 callersFunction_check_experiment_exists
Checks if exist an experiment with the given name. :param error_on_inexistence: if True, adds an error log if experiment does not exist
autosubmit/database/db_common.py:371
↓ 1 callersFunction_check_experiment_exists_sqlalchemy
(name: str, error_on_inexistence=True)
autosubmit/database/db_common.py:708
↓ 1 callersMethod_check_inner_job_wallclock
This will check if the job is running longer than the wallclock was set to be run. :param job: The inner job of a job. :type job: Job
autosubmit/job/job.py:3030
↓ 1 callersMethod_check_inner_jobs_queue
Update previous status of a job and updating the job to a new status. If the platform being used is slurm the function will get the status of
autosubmit/job/job.py:2978
↓ 1 callersMethod_check_jobid_in_queue
:param ssh_output: ssh output :type ssh_output: str
autosubmit/platforms/paramiko_platform.py:912
↓ 1 callersMethod_check_synchronized_job
(self, job, groups)
autosubmit/job/job_grouping.py:218
↓ 1 callersMethod_check_valid_group
(self, groups_list, name, groups_map)
autosubmit/job/job_grouping.py:305
↓ 1 callersMethod_checksum_validation
Validates that the checksum of the local file matches the checksum of the remote file. :param local_path: Path to the local file. :pa
autosubmit/platforms/paramiko_platform.py:554
↓ 1 callersMethod_chunk_config_has_changed
(self, current_exp_run_dc, new_chunk_unit, new_chunk_size)
autosubmit/history/experiment_history.py:283
↓ 1 callersFunction_compress_file
Compress a file. The file is created inside the given temporary directory. The function returns a ``Path`` of the archive file. :param
autosubmit/notifications/mail_notifier.py:37
↓ 1 callersFunction_copy_rst_yaml_files_to_as_experiment
Copy YAML files used by this reStructuredText documentation into the Autosubmit experiment. This experiment is the one being currently used by th
docs/source/ext/autosubmitfigure.py:144
↓ 1 callersMethod_count_parents_status
Count the number of completed and non-completed parents. :param job: The job to check. :param target_status: The target stat
autosubmit/job/job_list.py:2549
↓ 1 callersMethod_create_common_script
(self, filename: str = "")
autosubmit/job/job_packages.py:130
↓ 1 callersMethod_create_common_script
(self, filename="")
autosubmit/job/job_packages.py:382
↓ 1 callersMethod_create_common_script
(self, filename: str = "")
autosubmit/job/job_packages.py:618
↓ 1 callersMethod_create_common_script
(self, filename: str = "")
autosubmit/job/job_packages.py:746
↓ 1 callersMethod_create_components_dict
(self)
autosubmit/platforms/wrappers/wrapper_builder.py:264
↓ 1 callersMethod_create_components_dict
(self)
autosubmit/platforms/wrappers/wrapper_builder.py:839
↓ 1 callersMethod_create_database_file
creates a database files with full permissions
autosubmit/history/database_managers/database_manager.py:53
↓ 1 callersFunction_create_db_pg
Create the Postgres tables (not really the database). This function is the equivalent to the old ``create_db`` function for SQLite, with the
autosubmit/database/db_common.py:657
↓ 1 callersMethod_create_fake_dates_members
Using the list of jobs provided, creates clones of these jobs and modifies names conditioned on job.date, job.member values (testing None).
autosubmit/job/job_list.py:1723
↓ 1 callersFunction_create_git_container
Start a Docker container with Git. The repository will be available with the base name of the path given, with the TCP/80 port mapped to the
test/integration/test_utils/docker.py:88
↓ 1 callersMethod_create_higher_level_group
(self, groups_to_check, groups_map)
autosubmit/job/job_grouping.py:318
↓ 1 callersMethod_create_i_input
(self, filename, index)
autosubmit/job/job_packages.py:375
↓ 1 callersFunction_create_job_mock
Create a mocked job whose data is merged with the dict provided (as kwargs?). Similar to JavaScript's ``Object.assign()``. :param job_data:
test/unit/job/test_job_utils.py:36
↓ 1 callersFunction_create_jobs
( mock, num_jobs, max_num_retrials_per_job )
test/unit/conftest.py:175
↓ 1 callersMethod_create_jobs_once
Create jobs to be run once :param section: section to read :type section: str :param priority: priority for the jobs
autosubmit/job/job_dict.py:146
↓ 1 callersMethod_create_new_experiment_run_dc_with_counts
Create new experiment_run row and return the new Models.ExperimentRun data class from database.
autosubmit/history/experiment_history.py:315
↓ 1 callersMethod_create_scripts_threaded
(self, jobs: list[Job], configuration: 'AutosubmitConfig')
autosubmit/job/job_packages.py:126
↓ 1 callersFunction_create_slurm_container
Create and start a Slurm container with TestContainers. The container is created with a label that can be used to later retrieve the containe
test/integration/test_utils/docker.py:185
↓ 1 callersMethod_create_splits_groups
(self)
autosubmit/job/job_grouping.py:276
↓ 1 callersFunction_create_ssh_container
Create and start a Docker SSH container for SSH.
test/integration/test_utils/docker.py:273
↓ 1 callersMethod_delete_autosubmit_calculated_variables
Deletes autosubmit calculated variables from a yaml data. :param yaml_data: dict with yaml data :return: None
autosubmit/config/configcommon.py:1662
↓ 1 callersFunction_delete_experiment
(expid: str, force: bool)
autosubmit/experiment/experiment_common.py:131
↓ 1 callersMethod_divide_list_by_section
Returns a dict() with as many keys as 'jobs_list' different sections The value for each key is a list() with all the jobs with the ke
autosubmit/job/job_packager.py:654
↓ 1 callersMethod_filter_chunks
Filter jobs by chunks. :param filter_chunk_str: filter chunks :param job_list: JobList object :param matching_jobs: list of j
autosubmit/autosubmit.py:4985
↓ 1 callersMethod_filter_jobs
(self, section, date=None, member=None, chunk=None)
test/unit/test_wrappers.py:2090
↓ 1 callersMethod_filter_sections_splits
Filter jobs by sections and splits. :param filter_section_splits: filter sections and splits :param jobs: list of jobs :return
autosubmit/autosubmit.py:4938
↓ 1 callersMethod_fix_splits_automatic_grouping
(self, split_groups, split_groups_status, jobs_group_dict)
autosubmit/job/job_grouping.py:283
↓ 1 callersFunction_generate_message_experiment_status
Generate email body for the experiment status notification. :param exp_id: The experiment id. :type exp_id: str :param platform: The plat
autosubmit/notifications/mail_notifier.py:119
↓ 1 callersFunction_generate_message_text
Generate email body to notify about status change. :param exp_id: The experiment id. :type exp_id: str :param job_name: The name of the j
autosubmit/notifications/mail_notifier.py:92
↓ 1 callersFunction_generate_ssh_keypair
Generates an ed25519 private/public key pair and saves them as ``path{|.pub}``.
test/integration/test_utils/ssh.py:118
↓ 1 callersMethod_get_all_last_job_data_rows
Get List of Models.JobDataRow for last=1.
autosubmit/history/database_managers/experiment_history_db_manager.py:301
↓ 1 callersMethod_get_all_last_job_data_rows
Get List of Models.JobDataRow for last=1.
autosubmit/history/database_managers/experiment_history_db_manager.py:732
↓ 1 callersMethod_get_chunks
Function to get a list of chunks from json. :param out: json member definition :type out: str :return: list of chunks
autosubmit/autosubmit.py:5358
↓ 1 callersFunction_get_experiment_description_sqlalchemy
(expid)
autosubmit/database/db_common.py:731
↓ 1 callersFunction_get_host
Get the section host. If ``add_project_to_host`` is ``False`` we return the section host provided, stripping spaces (from head and tail).
autosubmit/platforms/paramiko_submitter.py:63
↓ 1 callersMethod_get_job_data_last_by_wrapper_code
Get List of Models.JobDataRow for last=1 and rowtype=wrapper_code
autosubmit/history/database_managers/experiment_history_db_manager.py:289
↓ 1 callersMethod_get_job_data_last_by_wrapper_code
Get List of Models.JobDataRow for last=1 and rowtype=wrapper_code
autosubmit/history/database_managers/experiment_history_db_manager.py:710
↓ 1 callersFunction_get_job_list_data
Return a list of jobs data.
autosubmit/monitor/diagram.py:505
↓ 1 callersMethod_get_keys
Retrieve keys for dynamic variable substitution. :param dynamic_var: The dynamic variable tuple containing the placeholder and its v
autosubmit/config/configcommon.py:1029
↓ 1 callersMethod_get_members
Function to get a list of members from json. :param out: json member definition :type out: str :return: list of members
autosubmit/autosubmit.py:5335
↓ 1 callersMethod_get_next_counter_by_job_name
Return the counter attribute from the latest job data row by job_name.
autosubmit/history/experiment_history.py:358
↓ 1 callersFunction_get_platform_by_type
(platform_type: str, expid: str, platform_name: str, experiment_data: dict, platform
autosubmit/platforms/paramiko_submitter.py:93
↓ 1 callersFunction_get_platforms_used
Traverse jobs defined in jobs configurations.
autosubmit/platforms/paramiko_submitter.py:39
↓ 1 callersFunction_get_serial_platforms
Traverse used platforms and then look for serial platforms.
autosubmit/platforms/paramiko_submitter.py:50
↓ 1 callersMethod_get_substituted_value
Get the substituted value for a dynamic variable in the key. :param key: The key containing the dynamic variable. :type key:
autosubmit/config/configcommon.py:1111
↓ 1 callersFunction_group_by_section
Return a dictionary with the jobs grouped by section.
autosubmit/monitor/diagram.py:409
↓ 1 callersMethod_identify_input_rows
(self)
autosubmit/history/platform_monitor/slurm_monitor.py:40
↓ 1 callersMethod_indent
(self, text, amount, ch=' ')
autosubmit/platforms/wrappers/wrapper_builder.py:890
↓ 1 callersMethod_init_logs
(args, console_level='INFO', log_level='DEBUG', expid='None')
autosubmit/autosubmit.py:872
↓ 1 callersFunction_init_logs_log_process
(as_conf: 'AutosubmitConfig', platform_name: str)
autosubmit/platforms/platform.py:47
↓ 1 callersMethod_init_poller
Initialize the platform file descriptor poller.
autosubmit/platforms/paramiko_platform.py:1736
↓ 1 callersMethod_is_over_wallclock
This calculates if the job is over its wallclock time, which indicates that a jobs is running for too long. :param start_time: When a job sta
autosubmit/job/job.py:3206
↓ 1 callersMethod_is_wrappable
Determines if a job is wrappable. Basically, the job shouldn't have been packed already and the status must be READY or WAITING, Its
autosubmit/job/job_packager.py:953
↓ 1 callersMethod_job_running_check
Receives job data and returns the data from its TOTAL_STATS file in an ordered way. :param status_code: Status of job :type status_co
autosubmit/job/job_list.py:3325
↓ 1 callersFunction_load_ssh_config
Load the SSH configuration for Paramiko. If the given path exists, the SSH configuration object is created and loaded from that file. Otherw
autosubmit/platforms/paramiko_platform.py:79
↓ 1 callersMethod_make_log_directory_if_not_exists
(self)
autosubmit/history/internal_logging.py:45
↓ 1 callersMethod_manage_job_dependencies
(self, job, dependencies, sections_dict)
test/unit/test_wrappers.py:2064
↓ 1 callersMethod_manage_job_dependencies
Manage job dependencies for a given job and update the dependency graph. :param dic_jobs: Helper containing generated jobs and configuration.
autosubmit/job/job_list.py:1298
↓ 1 callersFunction_match_expid
Match the expected experiment ID, or use a regex to match any. >>> _match_expid('123456') False >>> _match_expid('a000') True >>>
autosubmit/helpers/processes.py:38
↓ 1 callersMethod_max_possible_wallclock
(self)
autosubmit/job/job.py:1382
↓ 1 callersFunction_move_latest_image
Moves latest image produced with the ``runcmd`` directive to the Sphinx build directory. In case an Autosubmit experiment ends up with many image
docs/source/ext/autosubmitfigure.py:184
↓ 1 callersMethod_normalize_default_section
(self, data_fixed: dict)
autosubmit/config/configcommon.py:507
↓ 1 callersMethod_normalize_dependencies
Normalize the dependencies to a consistent format. This function takes a string or dictionary of dependencies and normalizes them to
autosubmit/config/configcommon.py:652
↓ 1 callersMethod_normalize_files
(files: Union[str, list[str]])
autosubmit/config/configcommon.py:689
↓ 1 callersMethod_normalize_jobs_in_wrapper
Normalize the JOBS_IN_WRAPPER field for a wrapper. Ensure the wrapper includes a non-empty list of valid job section names, optionall
autosubmit/config/configcommon.py:518
↓ 1 callersMethod_normalize_jobs_section
(self, data_fixed: dict, must_exists: bool)
autosubmit/config/configcommon.py:604
↓ 1 callersMethod_normalize_notify_on
Normalize the NOTIFY_ON section to a consistent format.
autosubmit/config/configcommon.py:591
↓ 1 callersMethod_normalize_wallclock
Normalize the wallclock time format in the job configuration. This method iterates through the jobs in the provided data dictionary
autosubmit/config/configcommon.py:633
↓ 1 callersMethod_parse_timestamp
Parse a date from int to datetime. :param timestamp: time to be converted :return: return time converted
autosubmit/job/job.py:3233
↓ 1 callersFunction_print_db_results
Print the database check results.
test/integration/commands/run/conftest.py:68
↓ 1 callersMethod_process_dynamic_variables
Process and substitute dynamic variables in the given parameters. This method iterates over the dynamic variables and substitutes th
autosubmit/config/configcommon.py:988
↓ 1 callersMethod_queuing_reason_cancel
Function return True if a job was cancelled for a listed reason. :param reason: Reason of a job to be cancelled :return: True if a jo
autosubmit/job/job.py:2865
↓ 1 callersMethod_recover_last_log_name_from_filesystem
Recovers the log name for the job from the filesystem. :return: True if the log name was already recovered, False otherwise :
autosubmit/job/job.py:2776
↓ 1 callersMethod_report
Function to print the final report into the stdout, log and filesystem.
autosubmit/profiler/profiler.py:94
↓ 1 callersMethod_run_command
Uses the existing ``runcmd`` directive to execute a command that produces images. :param command: Command to execute.
docs/source/ext/autosubmitfigure.py:121
← previousnext →701–800 of 2,688, ranked by callers