Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/wa 177 dynamic exec system #39

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 122 additions & 0 deletions applications/compress-dynamic/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"id": "compress-dynamicexecsystem",
"version": "0.0.3",
"description": "Compress a file or folder for download.",
"owner": "${apiUserId}",
"enabled": true,
"runtime": "SINGULARITY",
"runtimeVersion": null,
"runtimeOptions": [
"SINGULARITY_RUN"
],
"containerImage": "docker://taccaci/compress:0.0.3",
"jobType": "BATCH",
"maxJobs": -1,
"maxJobsPerUser": -1,
"strictFileInputs": false,
"jobAttributes": {
"description": "Compress a file or folder for download.",
"execSystemConstraints": null,
"execSystemExecDir": "${JobWorkingDir}",
"execSystemInputDir": "${JobWorkingDir}/input",
"execSystemOutputDir": "${JobWorkingDir}/output",
"execSystemLogicalQueue": "development",
"archiveSystemId": "cloud.data",
"archiveSystemDir": "HOST_EVAL($HOME)/tapis-jobs-archive/${JobCreateDate}/${JobName}-${JobUUID}",
"archiveOnAppError": false,
"isMpi": false,
"mpiCmd": null,
"cmdPrefix": null,
"parameterSet": {
"appArgs": [
{
"name": "Compression Type",
"description": "Select the type of compressed file, either a Gzipped TAR file (.tar.gz) or a Zip file (.zip).",
"inputMode": "REQUIRED",
"arg": "tgz",
"notes": {
"enum_values": [
{
"tgz": "tar.gz"
},
{
"zip": "zip"
}
]
}
},
{
"name": "Archive File Name",
"description": "Output archive file name. The selected Compression Type will be appended to this filename. Keep the file name inside single quotes. Any special characters in the file name will be replaced with an underscore.",
"inputMode": "REQUIRED",
"arg": "Archive",
"notes": {
"validator": {
"regex": "^[a-zA-Z0-9!@#%^*-_.,'? ]+$",
"message": "Must contain valid characters (a-z, A-Z, 0-9, !@#%^*-_.,?) and spaces."
}
}
}
],
"containerArgs": [],
"schedulerOptions": [
{
"name": "TACC Scheduler Profile",
"description": "Scheduler profile for HPC clusters at TACC",
"inputMode": "FIXED",
"arg": "--tapis-profile tacc-apptainer",
"notes": {
"isHidden": true
}
},
{
"name": "Slurm job name",
"description": "Set the slurm job name to be identical to the Tapis job name.",
"inputMode": "FIXED",
"arg": "--job-name ${JobName}",
"notes": {
"isHidden": true
}
}
],
"envVariables": [],
"archiveFilter": {
"includes": [],
"excludes": [
"tapisjob.out"
],
"includeLaunchFiles": false
}
},
"fileInputs": [
{
"name": "Target path to be compressed",
"description": "The directory or file to be compressed.",
"inputMode": "OPTIONAL",
"autoMountLocal": true,
"sourceUrl": null,
"targetPath": "*"
}
],
"fileInputArrays": [],
"nodeCount": 1,
"coresPerNode": 1,
"memoryMB": 100,
"maxMinutes": 10,
"subscriptions": [],
"tags": []
},
"tags": [
"portalName: ALL"
],
"notes": {
"label": "Compress (Frontera/Lonestar6)",
"hideNodeCountAndCoresPerNode": true,
"icon": "compress",
"category": "Utilities",
"dynamicExecSystems":[
"frontera",
"ls6"
]
}
}
File renamed without changes.
File renamed without changes.
94 changes: 94 additions & 0 deletions applications/extract-dynamic/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"id": "extract-dynamicexecsystem",
"version": "0.0.1",
"description": "Extract a tar, tar.gz, tgz, gz, or zip file.",
"owner": "${apiUserId}",
"enabled": true,
"runtime": "SINGULARITY",
"runtimeVersion": null,
"runtimeOptions": [
"SINGULARITY_RUN"
],
"containerImage": "docker://taccaci/extract:latest",
"jobType": "BATCH",
"maxJobs": -1,
"maxJobsPerUser": -1,
"strictFileInputs": true,
"jobAttributes": {
"description": "Extract a tar, tar.gz, tgz, gz, or zip file.",
"execSystemConstraints": null,
"execSystemExecDir": "${JobWorkingDir}",
"execSystemInputDir": "${JobWorkingDir}/input",
"execSystemOutputDir": "${JobWorkingDir}/output",
"execSystemLogicalQueue": "development",
"archiveSystemId": "cloud.data",
"archiveSystemDir": "HOST_EVAL($HOME)/tapis-jobs-archive/${JobCreateDate}/${JobName}-${JobUUID}",
"archiveOnAppError": false,
"isMpi": false,
"mpiCmd": null,
"cmdPrefix": null,
"parameterSet": {
"appArgs": [],
"containerArgs": [],
"schedulerOptions": [
{
"name": "TACC Scheduler Profile",
"description": "Scheduler profile for HPC clusters at TACC",
"inputMode": "FIXED",
"arg": "--tapis-profile tacc-apptainer",
"notes": {
"isHidden": true
}
},
{
"name": "Slurm job name",
"description": "Set the slurm job name to be identical to the Tapis job name.",
"inputMode": "FIXED",
"arg": "--job-name ${JobName}",
"notes": {
"isHidden": true
}
}
],
"envVariables": [],
"archiveFilter": {
"includes": [],
"excludes": [
"tapisjob.out"
],
"includeLaunchFiles": false
}
},
"fileInputs": [
{
"name": "Input File",
"description": "The archive file to be extracted.",
"inputMode": "REQUIRED",
"autoMountLocal": true,
"sourceUrl": null,
"targetPath": "*"
}
],
"fileInputArrays": [],
"nodeCount": 1,
"coresPerNode": 1,
"memoryMB": 100,
"maxMinutes": 10,
"subscriptions": [],
"tags": []
},
"tags": [
"portalName: ALL"
],
"notes": {
"label": "Extract Compressed File (Frontera/Lonestar6)",
"hideNodeCountAndCoresPerNode": true,
"icon": "extract",
"category": "Utilities",
"showTargetPath": true,
"dynamicExecSystems":[
"frontera",
"ls6"
]
}
}
File renamed without changes.
File renamed without changes.
102 changes: 102 additions & 0 deletions applications/jupyter-hpc-mpi-dynamic/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"id": "jupyter-hpc-mpi-dynamicexecsystem",
"version": "1.0.1",
"description": "Run an interactive Jupyter Notebook session with ability to launch mpi jobs.",
"owner": "${apiUserId}",
"enabled": true,
"runtime": "SINGULARITY",
"runtimeVersion": null,
"runtimeOptions": [
"SINGULARITY_RUN"
],
"containerImage": "docker://debian:bullseye-slim",
"jobType": "BATCH",
"maxJobs": -1,
"maxJobsPerUser": -1,
"strictFileInputs": true,
"jobAttributes": {
"description": null,
"execSystemConstraints": null,
"execSystemExecDir": "${JobWorkingDir}",
"execSystemInputDir": "${JobWorkingDir}",
"execSystemOutputDir": "${JobWorkingDir}/output",
"execSystemLogicalQueue": "development",
"archiveSystemId": "cloud.data",
"archiveSystemDir": "HOST_EVAL($HOME)/tapis-jobs-archive/${JobCreateDate}/${JobName}-${JobUUID}",
"archiveOnAppError": true,
"isMpi": false,
"mpiCmd": null,
"cmdPrefix": "source tapisjob.env;source jupyter-notebook-native/run.sh;",
"parameterSet": {
"appArgs": [
{
"name": "launchParameters",
"arg": "echo 'Job is done.'",
"inputMode": "FIXED",
"notes": {
"isHidden": true
}
}
],
"containerArgs": [],
"schedulerOptions": [
{
"name": "TACC Scheduler Profile",
"description": "Scheduler profile for HPC clusters at TACC",
"inputMode": "FIXED",
"arg": "--tapis-profile tacc-apptainer",
"notes": {
"isHidden": true
}
},
{
"name": "TAP Session Substring",
"description": "TAP Functions require the substring 'tap_' and in the slurm job name in order to function.",
"inputMode": "FIXED",
"arg": "--job-name ${JobName}-tap_",
"notes": {
"isHidden": true
}
}
],
"envVariables": [],
"archiveFilter": {
"includes": [],
"excludes": [],
"includeLaunchFiles": true
}
},
"fileInputs": [
{
"name": "Jupyter input files",
"inputMode": "REQUIRED",
"sourceUrl": "tapis://cloud.data/corral/tacc/aci/CEP/applications/v3/jupyter-notebook-native",
"targetPath": "*",
"notes": {
"isHidden": true
}
}
],
"fileInputArrays": [],
"nodeCount": 1,
"maxMinutes": 120,
"subscriptions": [],
"tags": []
},
"tags": [
"portalName: CEP",
"portalName: MISE"
],
"notes": {
"label": "Jupyter Notebook HPC MPI (Frontera/LoneStar6)",
"helpUrl": "https://jupyter-notebook.readthedocs.io/en/stable/",
"hideNodeCountAndCoresPerNode": false,
"isInteractive": true,
"icon": "jupyter",
"category": "Data Processing",
"dynamicExecSystems":[
"frontera",
"ls6"
]
}
}
Loading