Skip to content
This repository was archived by the owner on Mar 29, 2022. It is now read-only.

Commit db9c654

Browse files
authored
Merge pull request #39 from SD2E/maverick_migration
Maverick migration
2 parents 6f43bbf + 0a62992 commit db9c654

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed

docs/03.migrate_from_maverick.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
layout: page
3+
title: Migrating Apps from Maverick
4+
tagline:
5+
---
6+
7+
With Maverick reaching the end of its service, we will need to migrate apps off of Maverick onto another HPC resource. Luckily, due to containerization, this process is pretty painless. You will simply need to replace the `executionSystem` in the app definition (app.json.j2) from `hpc-tacc-maverick-username` to the newly created `hpc-tacc-wranlger-username`.
8+
9+
10+
<br>
11+
#### Example of an Updated App Definition
12+
13+
This is an example of a converted Agave app definition:
14+
{% raw %}
15+
```json
16+
{
17+
"name": "{{ agave.username }}-{{ app.name }}",
18+
"version": "{{ app.version }}",
19+
"executionType": "HPC",
20+
"executionSystem": "hpc-tacc-wrangler-{{ agave.username }}",
21+
"parallelism": "SERIAL",
22+
"deploymentPath": "{{ agave.username }}/apps/{{ app.name }}-{{ app.version }}",
23+
"deploymentSystem": "data-sd2e-projects-users",
24+
"defaultProcessorsPerNode": 1,
25+
"defaultNodeCount": 1,
26+
"defaultQueue": "normal",
27+
"label": "FastQC",
28+
"modules": [ "load tacc-singularity" ],
29+
"shortDescription": "A Quality Control application for FastQ files",
30+
"templatePath": "runner-template.sh",
31+
"testPath": "tester.sh",
32+
"inputs": [
33+
{
34+
"id": "fastq",
35+
"value": {
36+
"default": "agave://data-sd2e-community/sample/sailfish/test/read1.fastq",
37+
"visible": true,
38+
"required": true
39+
},
40+
"details": {
41+
"label": "FASTQ sequence file"
42+
},
43+
"semantics": {
44+
"ontology": [ "http://edamontology.org/format_1930" ]
45+
}
46+
}
47+
],
48+
"parameters": [],
49+
"outputs": []
50+
}
51+
```
52+
{% endraw %}
53+
54+
#### Final steps
55+
After updating the app definition to point to `hpc-tacc-wrangler-username`, you can simply run `apps-deploy` to deploy the app to the new execution system. Make sure to double check the `app.ini` file to ensure it points to the correct DockerHub username, repo, app name, and app version. If the app name and version in the app.ini differ from the name/version of the app directory, you can use a -F flag with `apps-deploy` to point to the correct app definition, ex:
56+
```
57+
apps-deploy -F app_directory-0.1.1/app.json.j2
58+
```
59+
Once the application has been deployed you should run a test job to ensure it's working correctly.
60+
61+
62+
63+
64+
---
65+
Return to the [API Documentation Overview](../index.md)

index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ the SD2E platform. Documentation for getting started with the SD2E API is below.
5757

5858
&nbsp;&nbsp;&nbsp;&nbsp;3.5 [Old App Building Process](docs/old/03.old_create_app.md) (*deprecated*)
5959

60+
&nbsp;&nbsp;&nbsp;&nbsp;3.6 [Migrate Apps from Maverick](docs/03.migrate_from_maverick.html)
61+
6062

6163
&nbsp;&nbsp;**4 Abaco Reactors**
6264

0 commit comments

Comments
 (0)