Skip to content

Commit c15c360

Browse files
committed
subfile_read test: fewer processes cases
1 parent 817fd11 commit c15c360

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/basic/parallel_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ for p in ${check_PROGRAMS} ; do
1818
fi
1919
done
2020

21-
for nproc in {1..12} ; do
21+
for nproc in 4 8 3 5 ; do
2222
RUN_CMD=`echo ${TESTMPIRUN} | ${SED} -e "s/NP/$nproc/g"`
2323
test_func ./subfile_dread
2424
done

tests/basic/subfile_dread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ int create_subfile (const char *file_name, int rank, int np, vol_env *env_ptr) {
292292

293293
for (i = 0; i < np; i++) { buf[i] = expected_buf_val (rank, np, i, 1, 0); }
294294

295-
// create a hyperslab of 1 x N
295+
// create a hyperslab of 1 x np
296296
start[0] = rank;
297297
start[1] = 0;
298298
count[0] = 1;

0 commit comments

Comments
 (0)