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

new ci workflow #767

Merged
merged 7 commits into from
Sep 19, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
build with nlcglib
  • Loading branch information
toxa81 committed Sep 13, 2022
commit c9a883cf45269d622778f430f64b9661305a7f35
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,26 @@ jobs:
cd ${GITHUB_WORKSPACE}/build
spack --color always -e sirius-build-env build-env $SPEC -- make

build_nlcglib:
runs-on: ubuntu-latest
container: electronicstructure/sirius
env:
SPEC: sirius@develop %gcc +tests +apps +vdwxc +scalapack +fortran +cuda cuda_arch=60 +nlcglib build_type=RelWithDebInfo ^openblas ^mpich ^nlcglib +cuda +wrapper cuda_arch=60 ^kokkos +wrapper cuda_arch=60
steps:
- uses: actions/checkout@v2
- name: Show the spec
run: spack --color always -e sirius-build-env spec -I $SPEC
- name: Configure SIRIUS
run: |
cd ${GITHUB_WORKSPACE}
mkdir build
cd build
spack --color always -e sirius-build-env build-env $SPEC -- cmake .. -DUSE_NLCGLIB=1 -DUSE_SCALAPACK=1 -DUSE_CUDA=1 -DUSE_VDWXC=1 -DBUILD_TESTING=1 -DCREATE_FORTRAN_BINDINGS=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo
- name: Build SIRIUS
run: |
cd ${GITHUB_WORKSPACE}/build
spack --color always -e sirius-build-env build-env $SPEC -- make

# build_rocm:
# runs-on: ubuntu-latest
# container: stabbles/sirius-rocm
Expand Down