Skip to content

Commit

Permalink
test globus
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Nov 8, 2024
1 parent 2234096 commit 433a553
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 101 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/frontier/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash -e

module load PrgEnv-amd

branch=$1
cd /lustre/orion/phy122/scratch/castia5/globus-compute/core-test

# Core
rm build-core -rf
rm core -rf
git clone https://github.com/SCOREC/core.git
cd core && git checkout $branch && git clone https://github.com/SCOREC/pumi-meshes.git && cd -
cmake -S core -B build-core \
-DCMAKE_C_COMPILER=cc \
-DCMAKE_CXX_COMPILER=CC \
-DENABLE_ZOLTAN=OFF \
-DMPIRUN=/usr/bin/srun \
-DMPIRUN_PROCFLAG="--ntasks" \
-DIS_TESTING=True
cmake --build build-core -j 24
11 changes: 11 additions & 0 deletions .github/workflows/frontier/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

name=core

cd /lustre/orion/phy122/scratch/castia5/globus-compute/$name-test

module load PrgEnv-amd

cd build-$name
salloc --account=PHY122 --time=00:20:00 -q debug --nodes=1 --ntasks=1 --cpus-per-task=1 --gpus-per-task=1 --gpus=1 ctest
cat $PWD/Testing/Temporary/LastTest.log
20 changes: 20 additions & 0 deletions .github/workflows/globus-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Globus-Systems
on:
push:
schedule:
# Monday 4:30 UTC or 00:30 EDT
- cron: '30 4 * * 1'

jobs:

perlmutter-test:
uses: SCOREC/github-actions/.github/workflows/globus-test.yml@main
secrets: inherit
with:
machine: "perlmutter"

frontier-test:
uses: SCOREC/github-actions/.github/workflows/globus-test.yml@main
secrets: inherit
with:
machine: "frontier"
19 changes: 19 additions & 0 deletions .github/workflows/perlmutter/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash -e

branch=$1

cd $SCRATCH/globus-compute/core-test

# core
rm build-core -rf
rm core -rf
git clone https://github.com/SCOREC/core.git
cd core && git checkout $branch && git clone https://github.com/SCOREC/pumi-meshes.git && cd -
cmake -S core -B build-core \
-DCMAKE_C_COMPILER=cc \
-DCMAKE_CXX_COMPILER=CC \
-DENABLE_ZOLTAN=OFF \
-DMPIRUN=/usr/bin/srun \
-DMPIRUN_PROCFLAG="--ntasks" \
-DIS_TESTING=True
cmake --build build-core -j 24
9 changes: 9 additions & 0 deletions .github/workflows/perlmutter/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

name=core

cd $SCRATCH/globus-compute/$name-test

cd build-$name
salloc --time 00:20:00 --constrain=gpu --qos=interactive --nodes=1 --ntasks-per-node=40 --cpus-per-task=1 --gpus=1 --account=m4564 ctest
cat $PWD/Testing/Temporary/LastTest.log
63 changes: 0 additions & 63 deletions .github/workflows/systems.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/test_on_system.py

This file was deleted.

0 comments on commit 433a553

Please sign in to comment.