Loading .github/workflows/everything.yml +13 −11 Original line number Diff line number Diff line Loading @@ -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}" Loading @@ -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 Loading @@ -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 Loading @@ -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 Loading cmake/ADIOSFunctions.cmake +1 −1 Original line number Diff line number Diff line Loading @@ -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() Loading docs/user_guide/source/api_full/python.rst +5 −0 Original line number Diff line number Diff line Loading @@ -37,3 +37,8 @@ Operator class -------------- .. autoclass:: adios2.bindings.adios2_bindings::Operator :members: Query class -------------- .. autoclass:: adios2.bindings.adios2_bindings::Query :members: examples/hello/sstReader/sstReader-bindings.py +9 −1 Original line number Diff line number Diff line Loading @@ -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 Loading examples/hello/sstReader/sstReader.py +1 −0 Original line number Diff line number Diff line Loading @@ -34,4 +34,5 @@ with Stream(io, "helloSst", "r", comm) as stream: currentStep, "data =", floatArray, flush=True, ) Loading
.github/workflows/everything.yml +13 −11 Original line number Diff line number Diff line Loading @@ -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}" Loading @@ -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 Loading @@ -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 Loading @@ -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 Loading
cmake/ADIOSFunctions.cmake +1 −1 Original line number Diff line number Diff line Loading @@ -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() Loading
docs/user_guide/source/api_full/python.rst +5 −0 Original line number Diff line number Diff line Loading @@ -37,3 +37,8 @@ Operator class -------------- .. autoclass:: adios2.bindings.adios2_bindings::Operator :members: Query class -------------- .. autoclass:: adios2.bindings.adios2_bindings::Query :members:
examples/hello/sstReader/sstReader-bindings.py +9 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
examples/hello/sstReader/sstReader.py +1 −0 Original line number Diff line number Diff line Loading @@ -34,4 +34,5 @@ with Stream(io, "helloSst", "r", comm) as stream: currentStep, "data =", floatArray, flush=True, )