|
| 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) |
0 commit comments