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.5.tar.gz
(9.4 kB
view details)
Built Distribution
File details
Details for the file diamond-hpc-0.0.5.tar.gz
.
File metadata
- Download URL: diamond-hpc-0.0.5.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 | 37d4b007c4a77246a7bccb5cd5697223ba8a34192b2d71c585538a21b5881029 |
|
MD5 | e6d5261e315e4709758e3a6c752eaa10 |
|
BLAKE2b-256 | dcd3c11d20956755c878b7c4a0995d1d603e5bd7986ddca28ef8ff58b2e1a96a |
File details
Details for the file diamond_hpc-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: diamond_hpc-0.0.5-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 | 96d79628facc669d70e386b81381e592309fb268997b23fcb092ddabe7608111 |
|
MD5 | b648866ee95cd0f93d6f2477e33baa0d |
|
BLAKE2b-256 | b7117375908c5013490f4144e74fa90f7a0df27fea718dafdd863961ce84b162 |