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.6.tar.gz
(9.4 kB
view details)
Built Distribution
File details
Details for the file diamond-hpc-0.0.6.tar.gz
.
File metadata
- Download URL: diamond-hpc-0.0.6.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e049a3b5aea68dddf98c583b45b4193b49f29140e8a1be52f2a42405cec6add6 |
|
MD5 | 34e1c9618147da798172075a64c2d729 |
|
BLAKE2b-256 | f6b4d09a21b6ec699a29105dc23d47b1086b53475e2e8f1a4244104428901007 |
File details
Details for the file diamond_hpc-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: diamond_hpc-0.0.6-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 | 14b7cbdbd465f216dff73e8646806e9a41f4eb1dc6b535740eedeb7d368d4a25 |
|
MD5 | a3936c6101e9d1346e5dc6d0b15e1673 |
|
BLAKE2b-256 | 30e686e9b28ea3edfeb1e652729c130c84bb55bf828380499a966ddeaecbe6f6 |