MCPcopy Create free account

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

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

↓ 2 callersMethodget_ordered_jobs_by_date_member
Get the dictionary of jobs ordered according to wrapper's expression divided by date and member. :return: jobs ordered divided by dat
autosubmit/job/job_list.py:1837
↓ 2 callersMethodget_parse_two_step_start
Returns two-step start jobs :return: jobs_list :rtype: str
autosubmit/config/configcommon.py:2148
↓ 2 callersFunctionget_project_root
Find the autosubmit project root. :return: The project root path. :rtype: Path :raises FileNotFoundError: If the project root direct
test/regression/test_workflow_dependencies.py:210
↓ 2 callersMethodget_queue_directive
Returns queue directive for the specified job :param job: job to create queue directive for :type job: Job :param parameters:
autosubmit/platforms/headers/slurm_header.py:31
↓ 2 callersMethodget_queue_status_cmd
(self, job_id)
autosubmit/platforms/pjmplatform.py:386
↓ 2 callersMethodget_queuing
Returns a list of jobs queuing. :param wrapper: :param platform: job platform :type platform: HPCPlatform :return: qu
autosubmit/job/job_list.py:1931
↓ 2 callersFunctionget_rc_path
Get the ``.autosubmit.rc`` path. If the environment variable ``AUTOSUBMIT_CONFIGURATION`` is specified in the system, this function will retu
autosubmit/helpers/utils.py:289
↓ 2 callersMethodget_rerun
Returns startdates list from experiment's config file :return: rerun value :rtype: bool
autosubmit/config/configcommon.py:2408
↓ 2 callersMethodget_rerun_jobs
Returns rerun jobs :return: jobs_list :rtype: str
autosubmit/config/configcommon.py:2156
↓ 2 callersMethodget_running
Returns a list of jobs running. :param wrapper: :param platform: job platform :type platform: HPCPlatform :return: ru
autosubmit/job/job_list.py:1916
↓ 2 callersFunctionget_split_size
(as_conf, section)
autosubmit/job/job_utils.py:214
↓ 2 callersFunctionget_split_size_unit
(data, section)
autosubmit/job/job_utils.py:199
↓ 2 callersMethodget_ssh_output_err
(self)
autosubmit/platforms/ecplatform.py:325
↓ 2 callersMethodget_storage_type
Returns the storage system from autosubmit's config file. Pkl by default. :return: communications library
autosubmit/config/configcommon.py:2768
↓ 2 callersMethodget_submit_cmd
(self, job_script: str, job, hold: bool = False, export: str = "")
autosubmit/platforms/slurmplatform.py:474
↓ 2 callersMethodget_submit_script
(self)
autosubmit/platforms/pjmplatform.py:176
↓ 2 callersMethodget_submitted_job_id
(self, output, x11=False)
autosubmit/platforms/ecplatform.py:145
↓ 2 callersMethodget_submitted_job_id
(self, output: str, x11: bool = False)
autosubmit/platforms/slurmplatform.py:461
↓ 2 callersMethodget_tasks_per_node
Returns memory per task directive for the specified job :param job: job to create tasks per node directive for :type job: Job
autosubmit/platforms/headers/slurm_header.py:246
↓ 2 callersFunctionget_template_snippet
>>> get_template_snippet(Language.PYTHON).__name__ 'autosubmit.job.template.python3' >>> get_template_snippet(None) Traceback (most r
autosubmit/job/template/__init__.py:71
↓ 2 callersMethodget_threads_per_task
Returns threads per task directive for the specified job :param job: job to create threads per task directive for :type job: Job
autosubmit/platforms/headers/slurm_header.py:189
↓ 2 callersMethodget_total_jobs
Returns max number of running jobs from autosubmit's config file :return: max number of running jobs :rtype: int
autosubmit/config/configcommon.py:2484
↓ 2 callersMethodget_wrapper_check_time
Returns time to check the status of jobs in the wrapper. :return: wrapper check time :rtype: int
autosubmit/config/configcommon.py:2716
↓ 2 callersMethodget_wrapper_machinefiles
Returns the strategy for creating the machinefiles in wrapper jobs. :return: machinefiles function to use
autosubmit/config/configcommon.py:2726
↓ 2 callersMethodhandle_frequency_interval_dependencies
(chunk, chunk_list, date, date_list, dic_jobs, job, member, mem
autosubmit/job/job_list.py:1570
↓ 2 callersMethodhetjob_common_header
(self, hetsize, wrapper=None)
autosubmit/platforms/headers/slurm_header.py:303
↓ 2 callersFunctioninit_expid
(env, platform="local", expid=None, create=True, test_type="normal", plot=False)
test/regression/utils/common.py:30
↓ 2 callersMethodis_a_completed_retrial
Returns true only if there are 4 fields: submit start finish status, and status equals COMPLETED.
autosubmit/job/job.py:2402
↓ 2 callersMethodis_git_repo
(git_repo: str)
autosubmit/git/autosubmit_git.py:330
↓ 2 callersMethodis_header_ready
(self)
autosubmit/history/experiment_history.py:70
↓ 2 callersMethodis_parent
Check if the given job is a parent :param job: job to be checked if is a parent :return: True if job is a parent, false other
autosubmit/job/job.py:2746
↓ 2 callersFunctionis_valid_experiment_id
Checks if it is a valid experiment identifier :param name: experiment identifier to check :type name: str :return: name if is valid,
autosubmit/experiment/experiment_common.py:322
↓ 2 callersMethodjob_notify
(as_conf, expid, job, job_prev_status, job_changes_tracker)
autosubmit/autosubmit.py:1699
↓ 2 callersMethodload_as_env_variables
Loads all environment variables that starts with AS_ENV into the parameters dictionary and obtains the current user running it. :para
autosubmit/config/configcommon.py:1786
↓ 2 callersMethodload_custom_config
Loads custom config files :param current_data: dict with current data :param filenames_to_load: list of filenames to load :ret
autosubmit/config/configcommon.py:1673
↓ 2 callersMethodload_workflow_commit
Load the workflow commit from the .git folder.
autosubmit/config/configcommon.py:1903
↓ 2 callersFunctionmock_ssh_config_and_client
(ssh_config_path: Path, ssh_port: int, password: Optional[str], mocker: 'MockerFixture')
test/integration/test_utils/ssh.py:108
↓ 2 callersFunctionnext_experiment_id
Get next experiment identifier :param current_id: previous experiment identifier :type current_id: str :return: new experiment ident
autosubmit/experiment/experiment_common.py:306
↓ 2 callersMethodnodes
Number of nodes that the job will use.
autosubmit/job/job.py:545
↓ 2 callersMethodparse_all_jobs_output
Parses check jobs command output, so it can be interpreted by autosubmit :param output: output to parse :param job_id: select the job
autosubmit/platforms/paramiko_platform.py:1418
↓ 2 callersMethodparse_custom_conf_directive
(self, custom_conf_directive: Optional[Union[str, dict]])
autosubmit/config/configcommon.py:774
↓ 2 callersMethodparse_githooks
Parse githooks section in configuration file.
autosubmit/config/configcommon.py:2809
↓ 2 callersFunctionparse_job_list
Parse a list of lines representing a job list and return a list of root nodes. :param lines: List of lines to parse. :type lines: List[s
test/regression/test_workflow_dependencies.py:123
↓ 2 callersFunctionparse_number_processors
Parse the number of processors. If the given value does not have ``:``, then if the value is a valid digit in Python, we return its integer v
autosubmit/statistics/utils.py:98
↓ 2 callersMethodparse_queue_reason
(self, output, job_id)
autosubmit/platforms/ecplatform.py:48
↓ 2 callersFunctionperform_test
(expid)
test/regression_to_be_cleaned/local_asparser_test.py:26
↓ 2 callersMethodpkl_fix
Tries to find a backup of the pkl file and restores it. Verifies that autosubmit is not running on this experiment. :param expid: exp
autosubmit/autosubmit.py:3857
↓ 2 callersMethodprocess_historical_data_iteration
Process the historical data for the current iteration. :param job_list: a JobList object. :param job_changes_tracker: a dictionary wi
autosubmit/autosubmit.py:1824
↓ 2 callersMethodprocess_index
Builds a dictionary of jobname -> SubJob object.
autosubmit/job/job_utils.py:317
↓ 2 callersMethodprocess_metrics
Process the metrics of the job
autosubmit/job/metrics_processor.py:230
↓ 2 callersMethodprocess_times
(self)
autosubmit/job/job_utils.py:322
↓ 2 callersMethodprops
(self)
autosubmit/config/basicconfig.py:32
↓ 2 callersMethodqueuing_reason_cancel
(self, reason)
autosubmit/platforms/pjmplatform.py:272
↓ 2 callersMethodqueuing_time
Calculates and returns the queuing time of the job, in seconds. :return: Queueing time in seconds. :rtype: int
autosubmit/history/data_classes/job_data.py:254
↓ 2 callersMethodread_metrics_specs
(self)
autosubmit/job/metrics_processor.py:185
↓ 2 callersMethodrecover_job_log
Recovers log files for jobs from the recovery queue and retries failed jobs. :param identifier: Identifier for logging purposes. :par
autosubmit/platforms/platform.py:988
↓ 2 callersMethodrecover_last_data
Recover job IDs and log names for completed, failed, and skipped jobs from experiment history. :param finished_jobs: Optional list of finished
autosubmit/job/job_list.py:3405
↓ 2 callersFunctionrecover_platform_job_logs_wrapper
Wrapper function to recover platform job logs. :param platform: The platform object responsible for managing the connection and job recovery.
autosubmit/platforms/platform.py:57
↓ 2 callersMethodregister_experiment_run_dc
(self, experiment_run_dc)
autosubmit/history/database_managers/experiment_history_db_manager.py:199
↓ 2 callersFunctionremove_noise_from_list
Remove noise from a list of lines by stripping whitespace and specific substrings. :param lines: List of lines to process. :type lines:
test/regression/test_workflow_dependencies.py:192
↓ 2 callersMethodremove_rerun_only_jobs
Removes all jobs to be run only in reruns.
autosubmit/job/job_list.py:2992
↓ 2 callersMethodrerun
Updates job list to rerun the jobs specified by a job list. :param job_list_unparsed: list of jobs to rerun :type job_list_unparsed:
autosubmit/job/job_list.py:2923
↓ 2 callersMethodreservation_directive
(self, reservation)
autosubmit/platforms/wrappers/wrapper_factory.py:137
↓ 2 callersMethodretrieve_times
Retrieve job timestamps from database. :param job_data_collection: :param seconds: :param status_code: Code of the St
autosubmit/job/job_list.py:3186
↓ 2 callersFunctionrun_command
(command, working_directory)
docs/source/ext/runcmd.py:66
↓ 2 callersFunctionrun_in_thread
Run the given target function in a separate thread. :param target: The function to execute in the thread. :type target: Callable[..., Any]
test/integration/commands/run/conftest.py:106
↓ 2 callersMethodrunning_time
Calculates and returns the running time of the job, in seconds. :return: Running time in seconds. :rtype: int
autosubmit/history/data_classes/job_data.py:242
↓ 2 callersMethodset_existing_experiment_status_as_running
Set the experiment_status row as running.
autosubmit/history/database_managers/experiment_status_db_manager.py:65
↓ 2 callersMethodset_status
Set status of jobs. :param expid: experiment id :param noplot: do not plot :param save: save :param final: final stat
autosubmit/autosubmit.py:5068
↓ 2 callersFunctionset_up_test
( expid: str, command: list[str], autosubmit_exp: 'AutosubmitExperimentFixture',
test/integration/test_run_command.py:32
↓ 2 callersMethodshow_messages
(self)
autosubmit/config/configcommon.py:411
↓ 2 callersMethodsort_by_expression
(self, section)
autosubmit/job/job_packager.py:1061
↓ 2 callersMethodstatus
(self)
autosubmit/job/job.py:779
↓ 2 callersMethodstore_metric
Store the metric value in the database
autosubmit/job/metrics_processor.py:213
↓ 2 callersMethodsubmit_ready_jobs
Gets READY jobs and send them to the platforms if there is available space on the queues. :param hold: :param as_conf: autosubmit con
autosubmit/autosubmit.py:2424
↓ 2 callersMethodunarchive
Unarchives an experiment: uncompress folder from tar.gz and moves to experiment root folder. :param experiment_id: experiment identifier
autosubmit/autosubmit.py:4190
↓ 2 callersMethodupdate_counts_on_experiment_run_dc
Return updated row as Models.ExperimentRun.
autosubmit/history/experiment_history.py:290
↓ 2 callersMethodupdate_description
(expid, new_description)
autosubmit/autosubmit.py:3701
↓ 2 callersMethodupdate_genealogy
When we have created the job list, every type of job is created. Update genealogy remove jobs that have no templates.
autosubmit/job/job_list.py:2844
↓ 2 callersMethodupdate_job_parameters
(self, as_conf: AutosubmitConfig, parameters: dict, set_attributes: bool)
autosubmit/job/job.py:2133
↓ 2 callersMethodupdate_list_job_data_dc_by_each_id
Return length of updated list.
autosubmit/history/database_managers/experiment_history_db_manager.py:259
↓ 2 callersMethodupdate_old_script
(root_dir, template_path, as_conf)
autosubmit/autosubmit.py:3710
↓ 2 callersMethodupdate_placeholders
Find and substitute dynamic placeholders in `parameters` using the provided Autosubmit configuration helpers. :param as_conf: Autosub
autosubmit/job/job.py:2208
↓ 2 callersMethodupdate_start_time
(self, count=-1)
autosubmit/job/job.py:2611
↓ 2 callersMethodupdate_version
Refresh experiment version with the current autosubmit version. :param expid: experiment identifier :type expid: str
autosubmit/autosubmit.py:3682
↓ 2 callersFunctionwait_for_ssh_port
Wait for SSH. Testing the TCP port is not enough as the SSH service may not have fully initiated yet. Testing the SSH banner also may gi
test/integration/test_utils/ssh.py:219
↓ 2 callersFunctionwait_for_tcp_port
Tries to connect to host and port until it works or the timeout is reached.
test/integration/test_utils/networking.py:56
↓ 2 callersMethodwait_for_work
Waits a mandatory time and then waits until there is work, no work to more process or the cleanup event is set. :param sleep_time: M
autosubmit/platforms/platform.py:959
↓ 2 callersFunctionwait_locker
Waits until a file is locked or unlocked.
test/integration/test_utils/misc.py:59
↓ 2 callersMethodwait_mandatory_time
Waits for the work_event to be set or the cleanup_event to be set for a mandatory time. :param sleep_time: Minimum time to wait in seconds. D
autosubmit/platforms/platform.py:941
↓ 2 callersMethodwait_until_timeout
Waits until the timeout is reached or any signal is set to process logs. :param timeout: Maximum time to wait in seconds. Defaults to 60.
autosubmit/platforms/platform.py:974
↓ 2 callersMethodwrite_start_time
Writes start date and time to TOTAL_STATS file :return: True if successful, False otherwise :rtype: bool
autosubmit/job/job.py:2646
↓ 2 callersMethodwrite_start_time
Updates the start time and other details of a job in the database. :param job_name: The name of the job. :type job_name: str
autosubmit/history/experiment_history.py:107
↓ 1 callersMethod__getitem__
(self, key)
autosubmit/monitor/utils.py:30
↓ 1 callersMethod__init__
(self, name=None, job_id=None, status=None, priority=None, loaded_data=None)
autosubmit/job/job.py:183
↓ 1 callersMethod__init__
(self, as_config: 'AutosubmitConfig', platform: 'ParamikoPlatform', jobs_list: 'JobList', hold=False)
autosubmit/job/job_packager.py:52
↓ 1 callersMethod__init__
Initializes the Platform object with the given experiment ID, platform name, configuration, and optional authentication password for two-facto
autosubmit/platforms/platform.py:138
↓ 1 callersMethod__repr__
(self)
autosubmit/job/job.py:180
↓ 1 callersMethod__setstate__
(self, state)
autosubmit/job/job.py:158
↓ 1 callersMethod_add_all_jobs_edge_info
(self, dic_jobs, option="DEPENDENCIES")
autosubmit/job/job_list.py:324
← previousnext →601–700 of 2,688, ranked by callers