-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Caliper annotations and adds flux-optparse support for server ar…
…gument parsing
- Loading branch information
Showing
26 changed files
with
792 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,17 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
flux: [ 0.52.0, 0.49.0] | ||
mode: ["FLUX_RPC", "UCX"] | ||
dtl_mode: ["FLUX_RPC", "UCX"] | ||
profiler_mode: ["CALIPER", "NONE"] | ||
test_mode: ["c", "cpp"] #, "python"] | ||
runs-on: ubuntu-20.04 # Docker-based jobs must run on Ubuntu | ||
env: | ||
FLUX_VERSION: ${{ matrix.flux }} | ||
SPACK_DIR: "/home/runner/work/spack" | ||
DYAD_INSTALL_PREFIX: "/home/runner/work/dyad/install" | ||
DYAD_KVS_NAMESPACE: "test" | ||
DYAD_DTL_MODE: ${{ matrix.mode }} | ||
DYAD_DTL_MODE: ${{ matrix.dtl_mode }} | ||
DYAD_PROFILER_MODE: ${{ matrix.profiler_mode }} | ||
DYAD_PATH: "/home/runner/work/dyad/temp" | ||
DYAD_TEST_MODE: ${{ matrix.test_mode }} | ||
steps: | ||
|
@@ -191,11 +193,17 @@ jobs: | |
if [[ $DYAD_DTL_MODE == 'UCX' ]]; then | ||
spack install -j4 [email protected] | ||
fi | ||
if [[ $DYAD_PROFILER_MODE == 'CALIPER' ]]; then | ||
spack install -j4 caliper | ||
fi | ||
mkdir -p ${DYAD_INSTALL_PREFIX} | ||
spack view --verbose symlink ${DYAD_INSTALL_PREFIX} flux-core@${FLUX_VERSION} | ||
if [[ $DYAD_DTL_MODE == 'UCX' ]]; then | ||
spack view --verbose symlink ${DYAD_INSTALL_PREFIX} [email protected] | ||
fi | ||
if [[ $DYAD_PROFILER_MODE == 'CALIPER' ]]; then | ||
spack view --verbose symlink ${DYAD_INSTALL_PREFIX} caliper | ||
fi | ||
- name: Compile DYAD | ||
run: | | ||
echo "Activating spack" | ||
|
@@ -207,9 +215,14 @@ jobs: | |
mkdir build | ||
cd build | ||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${DYAD_INSTALL_PREFIX}/lib/pkgconfig | ||
CONFIGURE_FLAGS="-DDYAD_CONTROL_PLANE=FLUX_RPC -DDYAD_DATA_PLANE=FLUX_RPC -DDYAD_PROFILER=NONE" | ||
CONFIGURE_FLAGS="-DDYAD_CONTROL_PLANE=FLUX_RPC -DDYAD_DATA_PLANE=FLUX_RPC" | ||
if [[ $DYAD_DTL_MODE == 'UCX' ]]; then | ||
CONFIGURE_FLAGS="-DDYAD_CONTROL_PLANE=FLUX_RPC -DDYAD_DATA_PLANE=UCX -DDYAD_PROFILER=NONE" | ||
CONFIGURE_FLAGS="-DDYAD_CONTROL_PLANE=FLUX_RPC -DDYAD_DATA_PLANE=UCX" | ||
fi | ||
if [[ $DYAD_PROFILER_MODE == 'CALIPER' ]]; then | ||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} -DDYAD_PROFILER=CALIPER" | ||
else | ||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} -DDYAD_PROFILER=NONE" | ||
fi | ||
cmake -DCMAKE_INSTALL_PREFIX=${DYAD_INSTALL_PREFIX} ${CONFIGURE_FLAGS} -DENABLE_DYAD_DEBUG=ON .. | ||
make install -j | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
SUBDIRS = utils dtl modules core wrapper stream | ||
SUBDIRS = utils perf dtl modules core wrapper stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.