-
Notifications
You must be signed in to change notification settings - Fork 2
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
Incline CPU Testing + CI #25
Merged
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
175e0d4
Update spack submodule after accidental deletion...
cameronrutherford 79cb63b
Add Incline CPU build.
cameronrutherford 7fccae4
add incline CI
jaelynlitz a5ff220
allow rebuild pipeline
jaelynlitz b76d25e
cleanup
jaelynlitz ddd32b5
remove module rebuild
jaelynlitz 94c60cb
allow build script to detect cluster from hostname
jaelynlitz 1fa8ee4
exit if my cluster not set
jaelynlitz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,39 @@ | ||
Incline Build: | ||
extends: | ||
- .cluster_build | ||
- .incline | ||
variables: | ||
SCRIPT_ARGS: " --build-only " #--job=clang-hip " | ||
|
||
Incline Test: | ||
extends: | ||
- .cluster_test | ||
- .incline | ||
variables: | ||
SCRIPT_ARGS: " --test-only " #--job=clang-hip " | ||
CTESTARGS: " --timeout 240 --output-on-failure -LE incline-skip " | ||
needs: ['Incline Build'] | ||
|
||
pending: | ||
variables: | ||
MY_CLUSTER: "Incline" | ||
extends: | ||
- .report-pending | ||
stage: .pre | ||
|
||
success: | ||
variables: | ||
MY_CLUSTER: "Incline" | ||
extends: | ||
- .report-status | ||
stage: .post | ||
|
||
failure: | ||
stage: .post | ||
variables: | ||
MY_CLUSTER: "Incline" | ||
extends: | ||
- .report-status | ||
rules: | ||
- when: 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
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,5 @@ | ||
source /etc/profile.d/modules.sh | ||
module purge | ||
module load gcc/8.4.0 | ||
module load rocm/5.3.0 | ||
source ./buildsystem/spack/incline/modules/dependencies.sh |
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,21 @@ | ||
#!/bin/bash | ||
|
||
source /etc/profile.d/modules.sh | ||
module purge | ||
|
||
# Load system python | ||
module load python/miniconda4.12 | ||
source /share/apps/python/miniconda4.12/etc/profile.d/conda.sh | ||
|
||
# Define environment variables for where spack stores key files | ||
# For now, SPACK_INSTALL is the path where everything spack related is installed | ||
# If you want to modify the module install path, edit the spack.yaml manually | ||
BASE=/qfs/projects/exasgd/resolve/spack-ci | ||
export SPACK_INSTALL=$BASE/install | ||
export SPACK_CACHE=$BASE/../$(whoami)/spack-cache | ||
export SPACK_DISABLE_LOCAL_CONFIG=1 | ||
export SPACK_PYTHON=$(which python) | ||
|
||
export tempdir=$SPACK_CACHE | ||
export TMP=$SPACK_CACHE | ||
export TMPDIR=$SPACK_CACHE |
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,16 @@ | ||
#!/bin/bash | ||
#SBATCH -A exasgd | ||
#SBATCH -p incline | ||
#SBATCH -N 1 | ||
#SBATCH -n 3 | ||
#SBATCH --gres=gpu:1 | ||
#SBATCH -J resolve_spack | ||
#SBATCH -o spack_install.%J.output | ||
#SBATCH -e spack_install.%J.output | ||
#SBTACH -t 240 | ||
|
||
export MY_CLUSTER=incline | ||
. buildsystem/load-spack.sh && | ||
spack develop --no-clone --path=$(pwd) resolve@develop && | ||
./buildsystem/configure-modules.sh 64 | ||
|
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,65 @@ | ||
module use -a /qfs/projects/exasgd/resolve/spack-ci/install/modules/linux-centos7-zen | ||
# pkgconf@=1.9.5%gcc@=8.4.0 build_system=autotools arch=linux-centos7-zen | ||
module load pkgconf/1.9.5-gcc-8.4.0-kl4sdjo | ||
# nghttp2@=1.52.0%gcc@=8.4.0 build_system=autotools arch=linux-centos7-zen | ||
module load nghttp2/1.52.0-gcc-8.4.0-pqmjl5g | ||
# ca-certificates-mozilla@=2023-05-30%gcc@=8.4.0 build_system=generic arch=linux-centos7-zen | ||
module load ca-certificates-mozilla/2023-05-30-gcc-8.4.0-txgcsig | ||
# perl@=5.26.0%gcc@=8.4.0+cpanm+opcode+open+shared+threads build_system=generic patches=0eac10e,8cf4302 arch=linux-centos7-zen | ||
module load perl/5.26.0-gcc-8.4.0-h324qox | ||
# zlib-ng@=2.1.3%gcc@=8.4.0+compat+opt build_system=autotools patches=299b958,ae9077a,b692621 arch=linux-centos7-zen | ||
module load zlib-ng/2.1.3-gcc-8.4.0-44tydhr | ||
# openssl@=3.1.3%gcc@=8.4.0~docs+shared build_system=generic certs=mozilla arch=linux-centos7-zen | ||
module load openssl/3.1.3-gcc-8.4.0-46yttzm | ||
# curl@=8.4.0%gcc@=8.4.0~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs=shared,static tls=openssl arch=linux-centos7-zen | ||
module load curl/8.4.0-gcc-8.4.0-g2rrs23 | ||
# ncurses@=6.4%gcc@=8.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-centos7-zen | ||
module load ncurses/6.4-gcc-8.4.0-jt7rpqq | ||
# cmake@=3.27.7%gcc@=8.4.0~doc+ncurses+ownlibs build_system=generic build_type=Release arch=linux-centos7-zen | ||
module load cmake/3.27.7-gcc-8.4.0-tu2rruq | ||
# gmake@=4.4.1%gcc@=8.4.0~guile build_system=autotools arch=linux-centos7-zen | ||
module load gmake/4.4.1-gcc-8.4.0-f23wik2 | ||
# libiconv@=1.17%gcc@=8.4.0 build_system=autotools libs=shared,static arch=linux-centos7-zen | ||
module load libiconv/1.17-gcc-8.4.0-wfdnlg6 | ||
# diffutils@=3.9%gcc@=8.4.0 build_system=autotools arch=linux-centos7-zen | ||
module load diffutils/3.9-gcc-8.4.0-qh566r6 | ||
# libsigsegv@=2.14%gcc@=8.4.0 build_system=autotools arch=linux-centos7-zen | ||
module load libsigsegv/2.14-gcc-8.4.0-iutj4de | ||
# m4@=1.4.19%gcc@=8.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-centos7-zen | ||
module load m4/1.4.19-gcc-8.4.0-x7ktvaf | ||
# autoconf@=2.69%gcc@=8.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-centos7-zen | ||
module load autoconf/2.69-gcc-8.4.0-npluk5j | ||
# automake@=1.16.5%gcc@=8.4.0 build_system=autotools arch=linux-centos7-zen | ||
module load automake/1.16.5-gcc-8.4.0-tgloywk | ||
# libtool@=2.4.7%gcc@=8.4.0 build_system=autotools arch=linux-centos7-zen | ||
module load libtool/2.4.7-gcc-8.4.0-gs6gyy3 | ||
# gmp@=6.2.1%gcc@=8.4.0+cxx build_system=autotools libs=shared,static patches=69ad2e2 arch=linux-centos7-zen | ||
module load gmp/6.2.1-gcc-8.4.0-ythx4o2 | ||
# metis@=5.1.0%gcc@=8.4.0~gdb~int64~ipo~real64+shared build_system=cmake build_type=Release generator=make patches=4991da9,93a7903,b1225da arch=linux-centos7-zen | ||
module load metis/5.1.0-gcc-8.4.0-gsllf6a | ||
# autoconf-archive@=2023.02.20%gcc@=8.4.0 build_system=autotools arch=linux-centos7-zen | ||
module load autoconf-archive/2023.02.20-gcc-8.4.0-ox4hxoe | ||
# bzip2@=1.0.8%gcc@=8.4.0~debug~pic+shared build_system=generic arch=linux-centos7-zen | ||
module load bzip2/1.0.8-gcc-8.4.0-3uzyl47 | ||
# xz@=5.4.1%gcc@=8.4.0~pic build_system=autotools libs=shared,static arch=linux-centos7-zen | ||
module load xz/5.4.1-gcc-8.4.0-dwmuagy | ||
# libxml2@=2.10.3%gcc@=8.4.0+pic~python+shared build_system=autotools arch=linux-centos7-zen | ||
module load libxml2/2.10.3-gcc-8.4.0-2hu4ayt | ||
# pigz@=2.7%gcc@=8.4.0 build_system=makefile arch=linux-centos7-zen | ||
module load pigz/2.7-gcc-8.4.0-lu7bjb6 | ||
# zstd@=1.5.5%gcc@=8.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-centos7-zen | ||
module load zstd/1.5.5-gcc-8.4.0-z7jmyvw | ||
# tar@=1.34%gcc@=8.4.0 build_system=autotools zip=pigz arch=linux-centos7-zen | ||
module load tar/1.34-gcc-8.4.0-wcgempy | ||
# gettext@=0.22.3%gcc@=8.4.0+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-centos7-zen | ||
module load gettext/0.22.3-gcc-8.4.0-f7dl6un | ||
# texinfo@=7.0.3%gcc@=8.4.0 build_system=autotools arch=linux-centos7-zen | ||
module load texinfo/7.0.3-gcc-8.4.0-jma4obj | ||
# mpfr@=4.2.0%gcc@=8.4.0 build_system=autotools libs=shared,static arch=linux-centos7-zen | ||
module load mpfr/4.2.0-gcc-8.4.0-cjhi2el | ||
# openblas@=0.3.24%gcc@=8.4.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-centos7-zen | ||
module load openblas/0.3.24-gcc-8.4.0-4ei4hpg | ||
# suite-sparse@=5.13.0%gcc@=8.4.0~cuda~graphblas~openmp+pic build_system=generic arch=linux-centos7-zen | ||
module load suite-sparse/5.13.0-gcc-8.4.0-ivey23b | ||
# resolve@=develop%gcc@=8.4.0~cuda~ipo+klu build_system=cmake build_type=Release dev_path=/people/ruth521/projects/resolve generator=make arch=linux-centos7-zen | ||
## module load resolve/develop-gcc-8.4.0-ugoj3p3 |
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,42 @@ | ||
spack: | ||
specs: | ||
- resolve~cuda%gcc@8.4.0 | ||
view: false | ||
concretizer: | ||
unify: when_possible | ||
reuse: true | ||
config: | ||
concretizer: clingo | ||
install_tree: | ||
root: $SPACK_INSTALL | ||
source_cache: $SPACK_CACHE/source | ||
misc_cache: $SPACK_CACHE/misc | ||
build_stage: $SPACK_CACHE/build | ||
url_fetch_method: curl | ||
modules: | ||
default: | ||
roots: | ||
tcl: $SPACK_INSTALL/modules | ||
packages: | ||
all: | ||
permissions: | ||
write: group | ||
read: world | ||
group: exasgd | ||
perl: | ||
externals: | ||
- spec: perl@5.26.0 | ||
modules: | ||
- perl/5.26.0 | ||
buildable: false | ||
compilers: | ||
- compiler: | ||
spec: gcc@8.4.0 | ||
paths: | ||
cc: /share/apps/gcc/8.4.0/bin/gcc | ||
cxx: /share/apps/gcc/8.4.0/bin/g++ | ||
f77: /share/apps/gcc/8.4.0/bin/gfortran | ||
fc: /share/apps/gcc/8.4.0/bin/gfortran | ||
operating_system: centos7 | ||
target: x86_64 | ||
modules: [gcc/8.4.0] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note we will probably have to have
incline-cpu
vsincline-gpu
, and as @nkoukpaizan might want to use other compilers, we can also haveascent-llvm
vsascent-gcc
and go from there? I think keeping this name tied to a spack config is key, and making the names simple and easy to use would be nice as well.