Skip to content

Commit cc60f89

Browse files
committed
patching sprs_perf to prevente github actions failures
1 parent 96a5f33 commit cc60f89

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/github_actions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ jobs:
195195
echo patching g2test to prevent icx failures
196196
patch -p0 < ./travis/g2t.patch
197197
fi
198+
echo patching sprs_perf.c
199+
patch -p0 < ./travis/sprs_perf.patch
198200
- name: before_install
199201
if: steps.ga-cache-install.outputs.cache-hit != 'true'
200202
run: |

travis/sprs_perf.patch

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
diff --git a/global/testing/sprs_perf.c b/global/testing/sprs_perf.c
2+
index 311222a6..97dc9808 100644
3+
--- a/global/testing/sprs_perf.c
4+
+++ b/global/testing/sprs_perf.c
5+
@@ -9,8 +9,10 @@
6+
7+
#define WRITE_VTK
8+
#define CG_SOLVE 1
9+
-#define NDIM_SPRS 1048576
10+
-#define NDIM_DNS 16384
11+
+#define NDIM_SPRS_ 1048576
12+
+#define NDIM_DNS_ 16384
13+
+#define NDIM_SPRS 262144
14+
+#define NDIM_DNS 8192
15+
16+
/**
17+
* Solve Laplace's equation on a cubic domain using the sparse matrix

0 commit comments

Comments
 (0)