Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build_ascent caliper support #1344

Merged
merged 12 commits into from
Aug 8, 2024
1 change: 1 addition & 0 deletions .github/workflows/build_ascent_gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
enable_fortran=ON \
enable_tests=OFF \
enable_verbose=OFF \
build_caliper=true \
build_ascent=false \
build_jobs=2 \
./scripts/build_ascent/build_ascent.sh
Expand Down
19 changes: 17 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,11 @@ stages:
ENABLE_DRAY: ON
ENABLE_MFEM: ON
BLT_CXX_STD: c++14
# static linking unit tests eats up alot of disk space,
# static linking unit tests + examples eats up alot of disk space,
# so skip building tests in CI to keep us away from clif
ENABLE_TESTS: OFF
ENABLE_EXAMPLES: OFF
ENABLE_UTILS: OFF

ubuntu_20.04_static_cuda_11.4.3:
containerImage: ${{ variables.ubuntu_20_04_cuda_11_4_3_tag }}
Expand All @@ -461,9 +463,12 @@ stages:
ENABLE_DRAY: ON
ENABLE_MFEM: ON
BLT_CXX_STD: c++14
# static linking unit tests eats up alot of disk space,
# static linking unit tests + examples eats up alot of disk space,
# so skip building tests in CI to keep us away from clif
ENABLE_TESTS: OFF
ENABLE_EXAMPLES: OFF
ENABLE_UTILS: OFF

ubuntu_20.04_static_cuda_11.4.3_no_mfem:
containerImage: ${{ variables.ubuntu_20_04_cuda_11_4_3_tag }}
BUILD_SHARED_LIBS: OFF
Expand All @@ -474,6 +479,8 @@ stages:
# static linking unit tests eats up alot of disk space,
# so skip building tests in CI to keep us away from clif
ENABLE_TESTS: OFF
ENABLE_EXAMPLES: OFF
ENABLE_UTILS: OFF
## on hold until we get new CI container with shared libs
# cuda-11.4.0-shared_dray:
# containerImage: ${{ variables.ubuntu_18_cuda_11_4_0_tag }}
Expand Down Expand Up @@ -531,6 +538,8 @@ stages:
if [ $ENABLE_MFEM = 'OFF' ]; then export CMAKE_OPTS="${CMAKE_OPTS} -DMFEM_DIR=IGNORE"; fi
export CMAKE_OPTS="${CMAKE_OPTS} -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}"
export CMAKE_OPTS="${CMAKE_OPTS} -DENABLE_TESTS=$ENABLE_TESTS"
export CMAKE_OPTS="${CMAKE_OPTS} -DENABLE_EXAMPLES=$ENABLE_EXAMPLES"
export CMAKE_OPTS="${CMAKE_OPTS} -DENABLE_UTILS=$ENABLE_UTILS"
export CMAKE_OPTS="${CMAKE_OPTS} -DCMAKE_INSTALL_PREFIX=../install"
# configure
cmake ${CMAKE_OPTS} -C ${HOST_CONFIG} ../src
Expand Down Expand Up @@ -567,6 +576,9 @@ stages:
export PATH=${CMAKE_BIN_DIR}:$PATH
echo $PATH
which cmake
# copy example we want to test
mkdir -p install/examples/ascent/
cp -r src/examples/using-with-cmake install/examples/ascent/
export LD_LIBRARY_PATH="/usr/local/cuda/compat/"
cd install/examples/ascent/using-with-cmake
mkdir _test_build
Expand All @@ -582,6 +594,9 @@ stages:
cat install/share/ascent/ascent_config.mk
pwd
ls -l
# copy example we want to test
mkdir -p install/examples/ascent/
cp -r src/examples/using-with-make install/examples/ascent/
export LD_LIBRARY_PATH="/usr/local/cuda/compat/"
cd install/examples/ascent/using-with-make
make
Expand Down
Loading