Skip to content
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

test globus #466

Merged
merged 4 commits into from
Nov 11, 2024
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
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
19 changes: 19 additions & 0 deletions .github/workflows/globus-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Globus-Systems
on:
schedule:
# Monday 7:35 UTC or 03:35 EDT
- cron: '35 7 * * 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.

2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ endif()
# This is the top level CMake file for the SCOREC build
cmake_minimum_required(VERSION 3.8)

project(SCOREC VERSION 2.2.9 LANGUAGES CXX C)
project(SCOREC VERSION 2.2.10 LANGUAGES CXX C)

include(cmake/bob.cmake)
include(cmake/xsdk.cmake)
Expand Down