Skip to content

Commit

Permalink
Restore heFFTe dependency in Azure pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Aug 30, 2024
1 parent 7f4dcc3 commit 0a3cd9a
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ jobs:
FFTW_HOME: '/usr'
LAPACKPP_HOME: '/usr/local'
WARPX_CI_CCACHE: 'TRUE'
#WARPX_CI_OPENPMD: 'TRUE'
#WARPX_OPENPMD: 'TRUE'

strategy:
# FIXME uncomment all variants
matrix:
# Cartesian 1D
cartesian_1d:
Expand All @@ -32,6 +31,7 @@ jobs:
# Cartesian 3D
cartesian_3d:
WARPX_CMAKE_FLAGS: -DWarpX_DIMS=3 -DWarpX_FFT=ON -DWarpX_PYTHON=ON
WARPX_HEFFTE: 'TRUE'
# Cylindrical RZ
cylindrical_rz:
WARPX_CMAKE_FLAGS: -DWarpX_DIMS=RZ -DWarpX_FFT=ON -DWarpX_PYTHON=ON
Expand All @@ -40,6 +40,7 @@ jobs:
embedded_boundaries:
WARPX_CMAKE_FLAGS: -DWarpX_DIMS='1;2;3;RZ' -DWarpX_FFT=ON -DWarpX_PYTHON=ON -DWarpX_EB=ON
WARPX_RZ_FFT: 'TRUE'
# single precision
#single_precision:
# WARPX_CMAKE_FLAGS: -DWarpX_DIMS='1;2;3;RZ' -DWarpX_FFT=ON -DWarpX_PYTHON=ON -DWarpX_PRECISION=SINGLE
# WARPX_RZ_FFT: 'TRUE'
Expand Down Expand Up @@ -95,7 +96,7 @@ jobs:
export PATH="$HOME/.local/bin:$PATH"
sudo curl -L -o /usr/local/bin/cmake-easyinstall https://raw.githubusercontent.com/ax3l/cmake-easyinstall/main/cmake-easyinstall
sudo chmod a+x /usr/local/bin/cmake-easyinstall
#if [ "${WARPX_CI_OPENPMD:-FALSE}" == "TRUE" ]; then
#if [ "${WARPX_OPENPMD:-FALSE}" == "TRUE" ]; then
# cmake-easyinstall --prefix=/usr/local \
# git+https://github.com/openPMD/[email protected] \
# -DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache) \
Expand All @@ -117,24 +118,24 @@ jobs:
-DCMAKE_CXX_STANDARD=17 \
-Duse_cmake_find_lapack=ON -Dbuild_tests=OFF -DCMAKE_VERBOSE_MAKEFILE=ON
fi
#if [[ "${WARPX_CI_REGULAR_CARTESIAN_3D:-FALSE}" == "TRUE" ]]; then
# cmake-easyinstall --prefix=/usr/local git+https://github.com/icl-utk-edu/[email protected] \
# -DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache) \
# -DCMAKE_CXX_STANDARD=17 -DHeffte_ENABLE_DOXYGEN=OFF \
# -DHeffte_ENABLE_FFTW=ON -DHeffte_ENABLE_TESTING=OFF \
# -DHeffte_ENABLE_CUDA=OFF -DHeffte_ENABLE_ROCM=OFF \
# -DHeffte_ENABLE_ONEAPI=OFF -DHeffte_ENABLE_MKL=OFF \
# -DHeffte_ENABLE_PYTHON=OFF -DHeffte_ENABLE_FORTRAN=OFF \
# -DHeffte_ENABLE_MAGMA=OFF \
# -DCMAKE_VERBOSE_MAKEFILE=ON
#fi
if [ "${WARPX_HEFFTE:-FALSE}" == "TRUE" ]; then
cmake-easyinstall --prefix=/usr/local git+https://github.com/icl-utk-edu/[email protected] \
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache) \
-DCMAKE_CXX_STANDARD=17 -DHeffte_ENABLE_DOXYGEN=OFF \
-DHeffte_ENABLE_FFTW=ON -DHeffte_ENABLE_TESTING=OFF \
-DHeffte_ENABLE_CUDA=OFF -DHeffte_ENABLE_ROCM=OFF \
-DHeffte_ENABLE_ONEAPI=OFF -DHeffte_ENABLE_MKL=OFF \
-DHeffte_ENABLE_PYTHON=OFF -DHeffte_ENABLE_FORTRAN=OFF \
-DHeffte_ENABLE_MAGMA=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON
fi
# Python modules required for test analysis
python3 -m pip install --upgrade -r Regression/requirements.txt
python3 -m pip cache purge
# external repositories required for test analysis
cd ..
git clone --depth 1 https://github.com/ECP-WarpX/warpx-data.git
# FIXME do we want to select only specific datasets?
# TODO select only specific datasets?
git clone --depth 1 https://github.com/openPMD/openPMD-example-datasets.git
cd -
rm -rf ${CEI_TMP}
Expand Down

0 comments on commit 0a3cd9a

Please sign in to comment.