Skip to content

22 integrate the kratos computation into the same snakefile for example linear elastic plate with hole #23

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

Merged
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
32 changes: 12 additions & 20 deletions .github/workflows/run-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,17 @@ jobs:
activate-environment: model-validation
use-mamba: true

- name: Set strict channel priority
run: conda config --set channel_priority strict

- name: Update environment
run: mamba env update -n model-validation -f environment_benchmarks.yml

- name: run-fenics-benchmarks
- name: run-linear-elastic-plate-with-hole-benchmarks
shell: bash -l {0}
run: |
cd $GITHUB_WORKSPACE/benchmarks/linear-elastic-plate-with-hole/FEniCS/
cd $GITHUB_WORKSPACE/benchmarks/linear-elastic-plate-with-hole/
python generate_config.py
snakemake --use-conda --force --cores 'all'
snakemake --use-conda --force --cores 'all' --reporter metadata4ing

Expand All @@ -48,32 +52,20 @@ jobs:
cd $GITHUB_WORKSPACE/benchmarks/linear-elastic-plate-with-hole/FEniCS_nextflow/
nextflow run main.nf -plugins nf-prov@1.4.0

- name: run-Kratos-benchmarks
shell: bash -l {0}
run: |
cd $GITHUB_WORKSPACE/benchmarks/linear-elastic-plate-with-hole/Kratos/
snakemake --use-conda --force --cores 'all'

- name: Archive fenics data
- name: Archive Linear Elastic plate with a hole benchmark data from snakemake
uses: actions/upload-artifact@v4
with:
name: fenics-output
name: linear-elastic-plate-with-hole_snakemake
path: |
benchmarks/linear-elastic-plate-with-hole/fenics/snakemake_results/
benchmarks/linear-elastic-plate-with-hole/snakemake_results/

- name: Archive fenics snakemake provenance
- name: Archive Linear Elastic plate with a hole benchmark data from snakemake provenance
uses: actions/upload-artifact@v4
with:
name: fenics-snakemake-provenance
name: linear-elastic-plate-with-hole_snakemake_provenance
path: |
benchmarks/linear-elastic-plate-with-hole/FEniCS/*.zip
benchmarks/linear-elastic-plate-with-hole/*.zip

- name: Archive kratos data
uses: actions/upload-artifact@v4
with:
name: kratos-output
path: |
benchmarks/linear-elastic-plate-with-hole/Kratos/data

- name: Archive fenics nextflow data
uses: actions/upload-artifact@v4
Expand Down
9 changes: 0 additions & 9 deletions benchmarks/linear-elastic-plate-with-hole/FEniCS/README.md

This file was deleted.

111 changes: 0 additions & 111 deletions benchmarks/linear-elastic-plate-with-hole/FEniCS/Snakefile

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions benchmarks/linear-elastic-plate-with-hole/Kratos/README.md

This file was deleted.

60 changes: 0 additions & 60 deletions benchmarks/linear-elastic-plate-with-hole/Kratos/Snakefile

This file was deleted.

Loading
Loading