From 5b20c4155c91d134ab15772765bb3d06f1a8b6a9 Mon Sep 17 00:00:00 2001 From: Tim Griesbach Date: Fri, 31 May 2024 14:34:46 +0200 Subject: [PATCH] Revert "CI: Modify open mode" This reverts commit 51fcaffb24b4a26e7c988d6d59f703fe138cc0aa. --- .github/workflows/ci_cmake.yml | 2 +- src/p4est.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cmake.yml b/.github/workflows/ci_cmake.yml index 598b5d0ed..02d5a5e2d 100644 --- a/.github/workflows/ci_cmake.yml +++ b/.github/workflows/ci_cmake.yml @@ -27,7 +27,7 @@ jobs: linux-gcc14: runs-on: ubuntu-24.04 name: Linux mpi=${{ matrix.mpi }} CC=${{ matrix.cc }} shared=${{ matrix.shared }} - timeout-minutes: 61 + timeout-minutes: 60 strategy: matrix: diff --git a/src/p4est.c b/src/p4est.c index 2d94fa38b..14e9c5b13 100644 --- a/src/p4est.c +++ b/src/p4est.c @@ -3602,7 +3602,8 @@ p4est_save_ext (const char *filename, p4est_t * p4est, SC_CHECK_MPI (mpiret); printf ("rank %d before MPI_file_open\n", p4est->mpirank); mpiret = MPI_File_open (p4est->mpicomm, (char *) filename, - MPI_MODE_WRONLY | MPI_MODE_APPEND, MPI_INFO_NULL, &mpifile); + MPI_MODE_WRONLY | MPI_MODE_APPEND | + MPI_MODE_UNIQUE_OPEN, MPI_INFO_NULL, &mpifile); SC_CHECK_MPI (mpiret); printf ("rank %d after MPI_file_open\n", p4est->mpirank); mpiret = MPI_File_get_position (mpifile, &mpipos);