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.4.tar.gz
(9.5 kB
view details)
Built Distribution
File details
Details for the file diamond-hpc-0.0.4.tar.gz
.
File metadata
- Download URL: diamond-hpc-0.0.4.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13c7adc7e214a9ea3c1cf13c895d89c935d0fc630778741cd72878b452e807e9 |
|
MD5 | 1df36d48c744715bddec7bfcc93bd3b7 |
|
BLAKE2b-256 | 966e422f61836012c5a1fea02d8a0d23fe06b8fb18436f671bbf70e779487e1d |
File details
Details for the file diamond_hpc-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: diamond_hpc-0.0.4-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b932df7db3af390f629ffa77bf1d3e887fc1ca4f2aa4a922e577c8aa0bc67507 |
|
MD5 | bd3660540cdf55908c83e04237441051 |
|
BLAKE2b-256 | cd510dbce3327ad42dc62b9cdf4b6d2f1ebaef333f54e963f335f24c7fb58e1f |