Unverified Commit 79149495 authored by Bolea Sanchez, Vicente Adolfo's avatar Bolea Sanchez, Vicente Adolfo Committed by GitHub
Browse files

Merge pull request #4042 from vicentebolea/backport-master

Backport master PR into release210
parents 3bfcb936 532d514a
Loading
Loading
Loading
Loading
+13 −11
Original line number Diff line number Diff line
@@ -270,9 +270,9 @@ jobs:

    runs-on: ${{ matrix.image }}
    env:
      GH_YML_JOBNAME: ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}
      GH_YML_JOBNAME: ${{ matrix.image }}-${{ matrix.compiler }}-${{ matrix.shared }}-${{ matrix.parallel }}
      GH_YML_BASE_OS: macOS
      GH_YML_MATRIX_OS: ${{ matrix.os }}
      GH_YML_MATRIX_OS: ${{ matrix.image }}
      GH_YML_MATRIX_COMPILER: ${{ matrix.compiler }}
      GH_YML_MATRIX_PARALLEL: ${{ matrix.parallel }}
      CCACHE_BASEDIR: "${GITHUB_WORKSPACE}"
@@ -283,15 +283,17 @@ jobs:
    strategy:
      fail-fast: false
      matrix:
        os: [macos11, macos12]
        parallel: [serial]
        image: [macos-11, macos-12]
        shared: [static, shared]
        include:
          - os: macos11
            image: macos-11
          - parallel: serial
          - image: macos-11
            compiler: xcode13_0
          - os: macos12
            image: macos-12
          - image: macos-12
            compiler: xcode13_4_1
        exclude:
          - image: macos-11
            shared: static

    steps:
      - uses: actions/checkout@v4
@@ -308,9 +310,9 @@ jobs:
        id: restore-cache
        with:
          path: .ccache
          key: ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}-${{ github.sha }}
          key: ccache-${{ matrix.image}}-${{ matrix.compiler }}-${{ matrix.parallel }}-${{ github.sha }}
          restore-keys: |
            ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}
            ccache-${{ matrix.image }}-${{ matrix.compiler }}-${{ matrix.parallel }}
      - name: Configure cache
        run: ccache -z
      - name: Update
@@ -327,7 +329,7 @@ jobs:
        id: save-cache
        with:
          path: .ccache
          key: ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}-${{ github.sha }}
          key: ccache-${{ matrix.image }}-${{ matrix.compiler }}-${{ matrix.parallel }}-${{ github.sha }}
      - name: Test
        run: gha/scripts/ci/gh-actions/run.sh test

+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ function(python_add_test)
    set_property(TEST ${ARGS_NAME} PROPERTY
      ENVIRONMENT
        "PYTHONPATH=${ADIOS2_BINARY_DIR}/${CMAKE_INSTALL_PYTHONDIR};$ENV{PYTHONPATH}"
        "PATH=$<TARGET_FILE_DIR:adios2>;$ENV{PATH}"
        "PATH=$<TARGET_FILE_DIR:adios2_py>;$ENV{PATH}"
    )
  endif()
endfunction()
+5 −0
Original line number Diff line number Diff line
@@ -37,3 +37,8 @@ Operator class
--------------
.. autoclass:: adios2.bindings.adios2_bindings::Operator
    :members:

Query class
--------------
.. autoclass:: adios2.bindings.adios2_bindings::Query
    :members:
+9 −1
Original line number Diff line number Diff line
@@ -36,7 +36,15 @@ while True:
    sstReader.EndStep()

    print(
        "Rank=", rank, "loop index =", loopStep, "stream step =", currentStep, "data =", floatArray
        "Rank=",
        rank,
        "loop index =",
        loopStep,
        "stream step =",
        currentStep,
        "data =",
        floatArray,
        flush=True,
    )
    loopStep = loopStep + 1

+1 −0
Original line number Diff line number Diff line
@@ -34,4 +34,5 @@ with Stream(io, "helloSst", "r", comm) as stream:
            currentStep,
            "data =",
            floatArray,
            flush=True,
        )
Loading