-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merging in changes from main and random_test
- Loading branch information
Showing
34 changed files
with
269 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# Workflow runs weekly to prevent GH dependency cache eviction | ||
# | ||
# GitHub Actions run in UTC time | ||
# | ||
|
||
name: cachepoke | ||
on: | ||
schedule: | ||
- cron: '47 18 * * SAT' # Trigger workflow every Sat at 18:47 UTC | ||
|
||
jobs: | ||
job_one: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: spack cache | ||
id: spack-cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: spack-cache-sandlot-6 | ||
path: | | ||
./spack | ||
~/.spack | ||
# | ||
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy | ||
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
env | grep JOB_COUNT | ||
|
||
JOB_COUNT=1 | ||
|
||
cd ./KORC/build_cpu && ctest -j --output-on-failure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
env | grep JOB_COUNT | ||
|
||
JOB_COUNT=1 | ||
|
||
pushd ./KORC/build_gpu >/dev/null | ||
|
||
ctest -j --output-on-failure | ||
|
||
pushd ./bin >/dev/null | ||
|
||
for j in "mars_test" "egyro_test"; do | ||
for i in $(ls -1 ./${j}/ | sort -k1.6n); do | ||
for x in {1..20}; do echo "."; done | ||
echo "onyx_job_test_gpu >> [Info] << ${j}/${i}/output.korc" | ||
for x in {1..5}; do echo "."; done | ||
cat ./${j}/${i}/output.korc | ||
done | ||
done | ||
|
||
|
||
popd >/dev/null | ||
popd >/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# This is a Spack Environment file. | ||
# | ||
# It describes a set of packages to be installed, along with | ||
# configuration settings. | ||
spack: | ||
# add package specs to the `specs` list | ||
specs: | ||
- "hdf5%nvhpc@24.5+fortran~mpi" | ||
|
||
view: true | ||
concretizer: | ||
unify: true | ||
config: | ||
install_tree: | ||
padded_length: 128 | ||
|
||
compilers: | ||
- compiler: | ||
spec: nvhpc@=24.5 | ||
paths: | ||
cc: /opt/nvidia/hpc_sdk/Linux_x86_64/24.5/compilers/bin/nvc | ||
cxx: /opt/nvidia/hpc_sdk/Linux_x86_64/24.5/compilers/bin/nvc++ | ||
f77: /opt/nvidia/hpc_sdk/Linux_x86_64/24.5/compilers/bin/nvfortran | ||
fc: /opt/nvidia/hpc_sdk/Linux_x86_64/24.5/compilers/bin/nvfortran | ||
flags: {} | ||
operating_system: ubuntu22.04 | ||
target: x86_64 | ||
modules: | ||
- nvhpc-hpcx/24.5 | ||
environment: {} | ||
extra_rpaths: [] | ||
|
||
- compiler: | ||
spec: gcc@=11.4.0 | ||
paths: | ||
cc: /usr/bin/gcc | ||
cxx: /usr/bin/g++ | ||
f77: /usr/bin/gfortran | ||
fc: /usr/bin/gfortran | ||
flags: {} | ||
operating_system: ubuntu22.04 | ||
target: x86_64 | ||
modules: [] | ||
environment: {} | ||
extra_rpaths: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.