Skip to content

Commit

Permalink
Updated singularity execution
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreVale69 committed Jun 3, 2024
1 parent 908e4db commit d6346e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ jobs:
# sudo dpkg -i singularity-ce_4.1.3-jammy_amd64.deb

- name: Create the singularity container from the def file
run: ./matrix-multiplication.sif
run: singularity build --fakeroot matrix-multiplication.sif singularity.def

- name: Verify correct container execution
run: singularity exec matrix-multiplication.sif bash -c "mpirun -np 2 /prj/main"
run: ./matrix-multiplication.sif

# https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts#passing-data-between-jobs-in-a-workflow
- name: Upload SIF container
Expand Down

0 comments on commit d6346e8

Please sign in to comment.