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

Convert Align Swift to ZIP Runtime #16

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Conversation

chandra-tacc
Copy link
Contributor

@chandra-tacc chandra-tacc commented Jan 19, 2024

Overview

Convert Align Swift app from singularity runtime to zip runtime.

Align Swift container could not be built to use on TACC HPC systems with DCV. There are conflicts with libraries needed by DCV and ones needed by Align Swift. To overcome this, the cmdPrefix workaround was used previously with a no-op like container.

With ZIP runtime available now, Align Swift can stop using cmdPrefix workaround and move to ZIP runtime.

Details

  1. Adjust app.json
    • runtime attribute is now ZIP.
    • runtimeOptions is not needed.
    • containerImage is tapis url path to the zip file.
    • fileInput is not needed since containerImage attribute picks up the file directly.
  2. ZIP file
    • create alignem_swift_app.zip file in /corral/tacc/aci/CEP/applications/v3/alignem_swift_ng_dev
  3. Provisioning script changes:
    • This feature is still in develop branch, so use resource_set='dev' to pick up dev OpenApi Spec.

Testing

  1. Provisioning
> python3 initialize_tenant.py -d --tenants=PORTALS --systems=ls6 --apps=align-swift
provisioning tenant: https://portals.develop.tapis.io
profile already exists: tacc-apptainer
system already exists: ls6
system updated: ls6
profile already exists: AlignEM_SwiftNG_Dev_0.0.8u1
app updated: alignem_swiftng_dev
  1. Portal Testing
    Check the job is submitted, interactive session can be connected.
    Screenshot 2024-01-22 at 9 30 34 AM

  2. HPC system tapisjob.sh file

#SBATCH --account TACC-ACI
#SBATCH --job-name alignem_swift_app.zip
#SBATCH --nodes 1
#SBATCH --ntasks 1
#SBATCH --output /scratch/09478/cyemparala/tapis/2d1451c2-6b81-4e79-b5d2-2973a76ba71c-007/output/tapisjob.out
#SBATCH --partition development
#SBATCH --time 10

module load impi/19.0.9
module load intel/19.1.1
module load swr/21.2.5
module load fftw3/3.3.10
module load tacc-apptainer

# Issue launch command for application executable.
# Format: nohup ./tapisjob_app.sh > tapisjob.out 2>&1 &

# Export Tapis and user defined environment variables.
export $(cat ./tapisjob.env | xargs)

# Launch app executable.
./tapisjob_app.sh > /scratch/09478/cyemparala/tapis/2d1451c2-6b81-4e79-b5d2-2973a76ba71c-007/output/tapisjob.out 2>&1

@rstijerina rstijerina self-requested a review January 22, 2024 23:49
@chandra-tacc chandra-tacc merged commit 8aeb2a8 into main Feb 9, 2024
@chandra-tacc chandra-tacc deleted the task/WA-143-zip-runtime branch February 9, 2024 03:21
sophia-massie pushed a commit that referenced this pull request Jul 10, 2024
Co-authored-by: Sal Tijerina <r.sal.tijerina@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants