File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -11,23 +11,29 @@ jobs:
11
11
container : spack/ubuntu-focal:latest
12
12
strategy :
13
13
matrix :
14
+ # Minimal Build(s)
15
+ # Need S3 mirror to have these builds speedup
14
16
spack_spec :
15
- # Minimal Build(s)
16
17
# See #39 - ~python~mpi causes issues
17
18
# - exago@develop~mpi~ipopt~hiop~python~raja
19
+ # See #44 - +mpi~python should fail if no python in system,
20
+ # but the runner happens to have one...
18
21
- exago@develop+mpi~ipopt+hiop~python~raja ^openmpi
19
22
# See #18 - +hiop~mpi causes issues
20
23
# - exago@develop~mpi~ipopt+hiop~python+raja
21
24
# See #16 - +python~mpi causes issues
22
25
# - exago@develop~mpi~ipopt+hiop+python~raja
23
26
- exago@develop+mpi~ipopt+hiop+python~raja ^openmpi
27
+ # See #40 - +hiop+raja~ipopt ^hiop~sparse is useful for edge cases
28
+ - exago@develop+mpi~ipopt+hiop~python+raja ^openmpi ^hiop+raja~sparse
24
29
25
30
name : Build ExaGO with Spack
26
31
steps :
27
32
- name : Checkout
28
33
uses : actions/checkout@v2
29
34
with :
30
- # Once we move submodule deps into spack, we can do some more builds...
35
+ # Once we move submodule deps into spack, we can do some more builds
36
+ # Also need to change build script to use spack from base image
31
37
submodules : true
32
38
33
39
- name : Build Environment
Original file line number Diff line number Diff line change @@ -76,8 +76,10 @@ extern PetscErrorCode OPFLOWModelCreate_PBPOLHIOP(OPFLOW);
76
76
77
77
#if defined(EXAGO_ENABLE_RAJA)
78
78
extern PetscErrorCode OPFLOWModelCreate_PBPOLRAJAHIOP (OPFLOW);
79
+ #if defined(EXAGO_ENABLE_HIOP_SPARSE)
79
80
extern PetscErrorCode OPFLOWModelCreate_PBPOLRAJAHIOPSPARSE (OPFLOW);
80
81
#endif
82
+ #endif
81
83
82
84
/*
83
85
OPFLOWModelRegisterAll - Registers all built OPFLOW models
@@ -115,9 +117,11 @@ PetscErrorCode OPFLOWModelRegisterAll(OPFLOW opflow) {
115
117
ierr = OPFLOWModelRegister (opflow, OPFLOWMODEL_PBPOLRAJAHIOP,
116
118
OPFLOWModelCreate_PBPOLRAJAHIOP);
117
119
CHKERRQ (ierr);
120
+ #if defined(EXAGO_ENABLE_HIOP_SPARSE)
118
121
ierr = OPFLOWModelRegister (opflow, OPFLOWMODEL_PBPOLRAJAHIOPSPARSE,
119
122
OPFLOWModelCreate_PBPOLRAJAHIOPSPARSE);
120
123
CHKERRQ (ierr);
124
+ #endif
121
125
#endif
122
126
123
127
opflow->OPFLOWModelRegisterAllCalled = PETSC_TRUE;
You can’t perform that action at this time.
0 commit comments