Skip to content

Commit

Permalink
Merge pull request #12 from CCBR/iss-10
Browse files Browse the repository at this point in the history
improve HPCDME instructions
  • Loading branch information
kopardev authored Oct 30, 2024
2 parents 16535b0 + 5166c6e commit 21065b5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 26 deletions.
10 changes: 7 additions & 3 deletions docs/HPCDME/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ cp hpcdme.properties-sample hpcdme.properties

#### Customize properties file

Some of the parameters in this file have become obsolete over the course of time and are commmented out. Change paths and default values, as needed
Some of the parameters in this file have become obsolete over the course of time and are commmented out. Change paths and default values, as needed.

> Note: replace `$USER` with your actual username in the properties file. Bash variables will not be interpolated.
**NOTES**

- Replace `$USER` with your actual username in the properties file. Bash variables will not be interpolated.
- Leave `hpc.ssl.keystore.password=changeit` as-is. `changeit` is not a variable but the actual password for our team.
- Be sure to set the proxy server URL as below (`hpc.server.proxy.url=10.1.200.75`) when running on biowulf/helix.

```bash
#HPC DME Server URL
Expand All @@ -49,7 +53,7 @@ hpc.ssl.keystore.password=changeit
#hpc.ssl.keystore.password=hpc-server-store-pwd

#Proxy Settings
hpc.server.proxy.url=10.1.200.240
hpc.server.proxy.url=10.1.200.75
hpc.server.proxy.port=3128

hpc.user=$USER
Expand Down
49 changes: 26 additions & 23 deletions docs/HPCDME/transfer.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
- [1. Background](#1-background)
- [2. parkit](#2-parkit)
- [2.1. `projark` usage](#21-projark-usage)
- [load conda env](#load-conda-env)
- [`projark` help](#projark-help)
- [2.2. `projark` testing](#22-projark-testing)
- [get dummy data](#get-dummy-data)
- [load conda env](#load-conda-env)
- [run `projark`](#run-projark)
- [verify transfer](#verify-transfer)
- [cleanup](#cleanup)
Expand Down Expand Up @@ -33,6 +34,30 @@ Rawdata or Project folders from Biowulf can be parked at a secure location after

#### 2.1. <a name='projarkusage'></a>`projark` usage

##### load conda env

```bash
# source conda
. "/data/CCBR_Pipeliner/db/PipeDB/Conda/etc/profile.d/conda.sh"
# activate parkit or parkit_dev environment
conda activate parkit
# check version of parkit
parkit --version
projark --version
```

<details>
<summary><em>Expected sample output</em></summary>

```bash
v2.0.2-dev
projark is using the following parkit version:
v2.0.2-dev
```
</details>

##### projark help

```bash
projark --help
```
Expand Down Expand Up @@ -72,28 +97,6 @@ cp -r /data/CCBR/projects/CCBR-12345 /data/$USER/parkit_tmp/CCBR-12345-$USER
echo $HPC_DM_UTILS
```

##### load conda env

```bash
# source conda
. "/data/CCBR_Pipeliner/db/PipeDB/Conda/etc/profile.d/conda.sh"
# activate parkit or parkit_dev environment
conda activate parkit
# check version of parkit
parkit --version
projark --version
```

<details>
<summary><em>Expected sample output</em></summary>

```bash
v2.0.2-dev
projark is using the following parkit version:
v2.0.2-dev
```
</details>

##### run `projark`

```bash
Expand Down

0 comments on commit 21065b5

Please sign in to comment.