Diamond is a Python package for running tasks on HPC.
Project description
Diamond
Examples
login
Run
diamond-hpc get-oauth2-url-and-login
This cli will return an oauth2 url and wait for the user input, open the url in your broswer and follow the authorization process, finally you will get a token. Copy the token and input it back to the terminal, finish the authorization process
register container
- create an container build endpoint by configure and start custom-image-builder-config.yaml in the globus endpoint server
- run the following command(substitude the relevent text with your config)
diamond-hpc register-container --endpoint_id e099b614-c95e-4148-8ed9-6bd4684b92bc --work_path /work/09912/haotianxie/frontera --image_file_name
openfold --base_image gcyang/openfold:0.1
This process may take a long time.
submit task via script file
- create an container build endpoint by start endpoint in the globus endpoint server
- run the following command(substitude the relevent text with your config)
diamond-hpc run-task-from-script --cmd_script /home/hotine/work/Diamond/example/sample_task/openfold_single_node_task --endpoint_id fb1ffeec-aa63-4136-8a49-f3f24608d36f --container_id a20b806c-29a8-44b4-97b6-591434ca9365 --log_path /work/09912/haotianxie/frontera/openfold_demo_single_node.log
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
diamond_hpc-0.0.7.tar.gz
(9.5 kB
view details)
Built Distribution
File details
Details for the file diamond_hpc-0.0.7.tar.gz
.
File metadata
- Download URL: diamond_hpc-0.0.7.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72f3468b894d80ddcf5454ae038201d2aef50bca33f1169e9be47aaf0453e82c |
|
MD5 | 859ba8aa396d8eeb10c72f0081910991 |
|
BLAKE2b-256 | 7c544b36b961014fcb026e9903e3df35de62b96184b65d227a4232a9028d92d3 |
File details
Details for the file diamond_hpc-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: diamond_hpc-0.0.7-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fc0feacfdc707d0c0c9fc0926a54c07e81ddd2abb95255530ce2fe2549bac93 |
|
MD5 | 13f1afa3c4b517e987003d45211d69ea |
|
BLAKE2b-256 | 522d08d00e21f3dbbb5fc6d56321e66962c32eb1f2d8b2f1c0feb309516956a5 |