From 38bb51b5021258af738dd55fce0aecbf65d804d6 Mon Sep 17 00:00:00 2001 From: edoapra Date: Thu, 3 Aug 2023 17:41:23 -0700 Subject: [PATCH] fix patch --- src/tools/mpipr-too-many_patch.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/tools/mpipr-too-many_patch.sh b/src/tools/mpipr-too-many_patch.sh index 5896270a65..0771b810d9 100755 --- a/src/tools/mpipr-too-many_patch.sh +++ b/src/tools/mpipr-too-many_patch.sh @@ -35,9 +35,9 @@ cat > mpipr-too-many.patch < mpipr-too-many.patch < (maxfiles/100)*80) { -+ printf(" %d: running out of files; files = %ld maxfiles = %ld mmin %ld \n", g_state.rank, nfiles, maxfiles, MIN(1,g_state.node_size)); ++ printf(" %d: running out of files; files = %ld maxfiles = %ld \n", g_state.rank, nfiles, maxfiles); +#if PAUSE_ON_ERROR + fprintf(stderr,"%d(%d): too many open files\n", + g_state.rank, getpid()); @@ -58,3 +58,5 @@ cat > mpipr-too-many.patch <