Skip to content

Commit d721297

Browse files
committed
disable another test for netCDF 4.9.0 because it runs excessive long on some types of filesystems
1 parent efdb237 commit d721297

File tree

2 files changed

+34
-8
lines changed

2 files changed

+34
-8
lines changed

easybuild/easyconfigs/n/netCDF/netCDF-4.9.0-gompi-2022.10.eb

+7-8
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ sources = ['v%(version)s.tar.gz']
1414
patches = [
1515
'netCDF-%(version)s_fix-lib-name.patch',
1616
'netCDF-%(version)s_fix-linking-errors.patch',
17-
'netCDF-%(version)s_skip-nasa-test.patch',
17+
'netCDF-%(version)s_skip-timeout-tests.patch',
1818
]
1919
checksums = [
20-
'9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6', # v4.9.0.tar.gz
21-
'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a', # netCDF-4.9.0_fix-lib-name.patch
22-
'2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15', # netCDF-4.9.0_fix-linking-errors.patch
23-
'19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a', # netCDF-4.9.0_skip-nasa-test.patch
20+
{'v4.9.0.tar.gz': '9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6'},
21+
{'netCDF-4.9.0_fix-lib-name.patch': 'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a'},
22+
{'netCDF-4.9.0_fix-linking-errors.patch': '2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15'},
23+
{'netCDF-4.9.0_skip-timeout-tests.patch': '06c29480c6a3c351c7d79c3bb972e3fdc017af6a5c93690b4d21aba23311d2d5'},
2424
]
2525

2626
builddependencies = [
@@ -45,9 +45,8 @@ configopts = [
4545
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON",
4646
]
4747

48-
# some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests;
49-
# increase test timeout, since some tests take an awful long time on some type of filesystems
50-
pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 ARGS='--timeout 100000' "
48+
# some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests
49+
pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 "
5150

5251
runtest = 'test'
5352

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
skip tests that take an excessive amount of time on some types of filesystems,
2+
triggering a timeout for nc_test4_run_par_test
3+
author: Kenneth Hoste (HPC-UGent)
4+
diff -ru netcdf-c-4.9.0.orig/nc_test4/run_par_test.sh.in netcdf-c-4.9.0/nc_test4/run_par_test.sh.in
5+
--- netcdf-c-4.9.0.orig/nc_test4/run_par_test.sh.in 2022-06-10 23:04:15.000000000 +0200
6+
+++ netcdf-c-4.9.0/nc_test4/run_par_test.sh.in 2022-12-21 09:21:33.329871966 +0100
7+
@@ -33,13 +33,14 @@
8+
#@MPIEXEC@ -n 16 ./tst_parallel4
9+
#@MPIEXEC@ -n 32 ./tst_parallel4
10+
#@MPIEXEC@ -n 64 ./tst_parallel4
11+
-echo
12+
-echo "Testing collective writes with some 0 element writes..."
13+
-@MPIEXEC@ -n 4 ./tst_parallel5
14+
15+
-echo
16+
-echo "Parallel Performance Test for NASA"
17+
-@MPIEXEC@ -n 4 ./tst_nc4perf
18+
+# disable tests that take a very long time on some types of filesystems
19+
+#echo
20+
+#echo "Testing collective writes with some 0 element writes..."
21+
+#@MPIEXEC@ -n 4 ./tst_parallel5
22+
+#echo
23+
+#echo "Parallel Performance Test for NASA"
24+
+#@MPIEXEC@ -n 4 ./tst_nc4perf
25+
26+
echo
27+
echo "Parallel I/O test for Collective I/O, contributed by HDF Group."

0 commit comments

Comments
 (0)