BohriumToolkit
- timeout (Optional[float], optional): The timeout for BohriumToolkit. (default: :obj:
None
) - api_key (Optional[str], optional): The API key for Bohrium client. (default: :obj:
None
) - project_id (Optional[int], optional): The project ID for Bohrium client. (default: :obj:
None
) - yaml_path (Optional[str], optional): The path to the YAML file containing the job parameters. (default: :obj:
None
)
init
_custom_insert
submit_job
- job_name (str): The name of the job. It will be updated when yaml file is provided. The yaml file might be set when initialize BohriumToolkit. (default: :obj:
bohr-job
) - machine_type (str): The type of machine to use. It will be updated when yaml file is provided. The yaml file might be set when initialize BohriumToolkit. (default: :obj:
c2_m4_cpu
) - cmd (str): The command to run. It will be updated when yaml file is provided. The yaml file might be set when initialize (default: :obj:
mpirun -n 2 lmp_mpi -i in.shear
) - image_address (str): The address of the image to use. It will be updated when yaml file is provided. The yaml file might be set when initialize BohriumToolkit. (default: :obj:
registry.dp.tech/dptech/lammps:29Sep2021
)
get_job_details
- job_id (int): The ID of the job.
terminate_job
- job_id (int): The ID of the job to terminate.
kill_job
- job_id (int): The ID of the job to kill.
get_job_logs
- job_id (int): The ID of the job.
- log_file (str, optional): The log file to get. (default: :obj:
STDOUTERR
) - page (int, optional): The page number. (default: :obj:
-1
) - page_size (int, optional): The page size. (default: :obj:
8192
)
create_job_group
- project_id (int): The ID of the project.
- job_group_name (str): The name of the job group.
download_job_results
- job_id (int): The ID of the job.
- save_path (str): The path to save the results to.