Skip to content

Commit

Permalink
CI: Check byte offset
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-griesbach committed May 31, 2024
1 parent 898fe97 commit f1524b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions src/p4est.c
Original file line number Diff line number Diff line change
Expand Up @@ -3607,6 +3607,10 @@ p4est_save_ext (const char *filename, p4est_t * p4est,
mpiret = MPI_File_get_position (mpifile, &mpipos);
printf ("[%d]: after append pos = %llu\n", p4est->mpirank, (long long unsigned) mpipos);
SC_CHECK_MPI (mpiret);
MPI_Offset disp;
mpiret = MPI_File_get_byte_offset (mpifile, mpipos, &disp);
printf ("[%d]: after append disp = %llu\n", p4est->mpirank, (long long unsigned) disp);
SC_CHECK_MPI (mpiret);
#endif

if (rank > 0) {
Expand Down

0 comments on commit f1524b5

Please sign in to comment.