Skip to content

Commit

Permalink
add a Jobfile
Browse files Browse the repository at this point in the history
  • Loading branch information
akashdhruv committed Sep 29, 2023
1 parent 7c0640c commit 03ed68e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/amrex-bittree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ jobs:
- name: Configure Site
run: |
ln -s $(realpath tests/AMReX-Bittree-Performance/sites/test) AMReX-Bittree-Performance/sites/test
ln -sf $(realpath tests/AMReX-Bittree-Performance/Jobfile) AMReX-Bittree-Performance/Jobfile
cd AMReX-Bittree-Performance
./configure -s test
- name: Setup Bittree
run: |
cd AMReX-Bittree-Performance
jobrunner setup software/bittree
cat Jobfile
28 changes: 28 additions & 0 deletions tests/AMReX-Bittree-Performance/Jobfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# YAML configuration file for jobrunner
#
# This file provides an organizational structure
# for bash files spread all over the repository
#
# jobrunner should be called from the root of
# a project directory to execute commands in a desired working directory.
#
# All Jobfiles present in a directory tree
# are combined to a single dictionary when executing
# jobrunner commands
#
# Defined scripts that need to be included
# when either setting up or submitting a job
#

# schedular configuration
schedular:
command: bash

# job configuration
job:
setup:
- config.sh
- environment.sh
submit:
- config.sh
- environment.sh

0 comments on commit 03ed68e

Please sign in to comment.