Skip to content

Commit

Permalink
disable another test for netCDF 4.9.0 because it runs excessive long …
Browse files Browse the repository at this point in the history
…on some types of filesystems
  • Loading branch information
boegel committed Dec 21, 2022
1 parent efdb237 commit d721297
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 8 deletions.
15 changes: 7 additions & 8 deletions easybuild/easyconfigs/n/netCDF/netCDF-4.9.0-gompi-2022.10.eb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ sources = ['v%(version)s.tar.gz']
patches = [
'netCDF-%(version)s_fix-lib-name.patch',
'netCDF-%(version)s_fix-linking-errors.patch',
'netCDF-%(version)s_skip-nasa-test.patch',
'netCDF-%(version)s_skip-timeout-tests.patch',
]
checksums = [
'9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6', # v4.9.0.tar.gz
'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a', # netCDF-4.9.0_fix-lib-name.patch
'2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15', # netCDF-4.9.0_fix-linking-errors.patch
'19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a', # netCDF-4.9.0_skip-nasa-test.patch
{'v4.9.0.tar.gz': '9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6'},
{'netCDF-4.9.0_fix-lib-name.patch': 'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a'},
{'netCDF-4.9.0_fix-linking-errors.patch': '2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15'},
{'netCDF-4.9.0_skip-timeout-tests.patch': '06c29480c6a3c351c7d79c3bb972e3fdc017af6a5c93690b4d21aba23311d2d5'},
]

builddependencies = [
Expand All @@ -45,9 +45,8 @@ configopts = [
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON",
]

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

runtest = 'test'

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
skip tests that take an excessive amount of time on some types of filesystems,
triggering a timeout for nc_test4_run_par_test
author: Kenneth Hoste (HPC-UGent)
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
--- netcdf-c-4.9.0.orig/nc_test4/run_par_test.sh.in 2022-06-10 23:04:15.000000000 +0200
+++ netcdf-c-4.9.0/nc_test4/run_par_test.sh.in 2022-12-21 09:21:33.329871966 +0100
@@ -33,13 +33,14 @@
#@MPIEXEC@ -n 16 ./tst_parallel4
#@MPIEXEC@ -n 32 ./tst_parallel4
#@MPIEXEC@ -n 64 ./tst_parallel4
-echo
-echo "Testing collective writes with some 0 element writes..."
-@MPIEXEC@ -n 4 ./tst_parallel5

-echo
-echo "Parallel Performance Test for NASA"
-@MPIEXEC@ -n 4 ./tst_nc4perf
+# disable tests that take a very long time on some types of filesystems
+#echo
+#echo "Testing collective writes with some 0 element writes..."
+#@MPIEXEC@ -n 4 ./tst_parallel5
+#echo
+#echo "Parallel Performance Test for NASA"
+#@MPIEXEC@ -n 4 ./tst_nc4perf

echo
echo "Parallel I/O test for Collective I/O, contributed by HDF Group."

0 comments on commit d721297

Please sign in to comment.