5656 source $workDir/envGcc13.sh
5757
5858 # kokkos
59- git clone --branch 4.7 .01 --depth 1 https://github.com/kokkos/kokkos.git ${workDir}/kokkos
59+ git clone --branch 4.6 .01 --depth 1 https://github.com/kokkos/kokkos.git ${workDir}/kokkos
6060 kkbdir=${workDir}/build-kokkos
6161 cmake -S ${workDir}/kokkos -B $kkbdir \
6262 -DCMAKE_BUILD_TYPE=Release \
7373 echo "KOKKOS_BUILD=$kkbdir" >> $GITHUB_ENV
7474
7575 # kokkos-kernels
76- git clone --branch 4.7 .01 --depth 1 https://github.com/kokkos/kokkos-kernels.git ${workDir}/kokkos-kernels
76+ git clone --branch 4.6 .01 --depth 1 https://github.com/kokkos/kokkos-kernels.git ${workDir}/kokkos-kernels
7777 kkkbdir=${workDir}/build-kokkos-kernels
7878 cmake -S ${workDir}/kokkos-kernels -B $kkkbdir \
7979 -DCMAKE_INSTALL_PREFIX=$kkkbdir/install \
8484 echo "KOKKOS_KERNELS_BUILD=$kkkbdir" >> $GITHUB_ENV
8585
8686 # adios2 with and without cuda
87- git clone https://github.com/ornladios/ADIOS2.git ${workDir}/ADIOS2
87+ git clone --branch v2.10.2 https://github.com/ornladios/ADIOS2.git ${workDir}/ADIOS2
8888 adiosbdir=${workDir}/build-ADIOS2
8989 cmake -S ${workDir}/ADIOS2 -B $adiosbdir \
9090 -DCMAKE_INSTALL_PREFIX=$adiosbdir/install \
9595
9696 # perfstubs
9797 git clone https://github.com/UO-OACISS/perfstubs.git ${workDir}/perfstubs
98+ cd ${workDir}/perfstubs
99+ git checkout a1fa3feb1d89214e28047f166500351074b5f0c2
100+ cd $workDir
98101 psbdir=${workDir}/build-perfstubs
99102 cmake -S ${workDir}/perfstubs -B $psbdir \
100103 -DCMAKE_INSTALL_PREFIX=$psbdir/install \
@@ -104,22 +107,28 @@ jobs:
104107
105108 # redev
106109 git clone https://github.com/SCOREC/redev.git ${workDir}/redev
110+ cd ${workDir}/redev
111+ git checkout 1452ec290dc6f8638019e342758325611e16ad77
112+ cd $workDir
107113 rdbdir=${workDir}/build-redev
108114 cmake -S ${workDir}/redev -B $rdbdir \
109115 -DCMAKE_INSTALL_PREFIX=$rdbdir/install \
110- -DADIOS2_DIR=$adiosbdir/install \
111- -DPERFSTUBS_DIR =$psbdir/install \
116+ -DADIOS2_DIR=$adiosbdir/install/lib64/cmake/adios2 \
117+ -Dperfstubs_DIR =$psbdir/install/lib/cmake \
112118 -DCMAKE_CXX_COMPILER=mpicxx \
113119 -DBUILD_SHARED_LIBS=OFF
114120 cmake --build $rdbdir --target install -j 4
115121 echo "REDEV_BUILD=$rdbdir" >> $GITHUB_ENV
116122
117123 # omega_h
118124 git clone https://github.com/SCOREC/omega_h.git ${workDir}/omegah_h
125+ cd omegah_h
126+ git checkout 1765836a00b9a64b8b3791f1442ac52f147e43b2
127+ cd $workDir
119128 ohbdir=${workDir}/build-omega_h
120129 cmake -S ${workDir}/omegah_h -B $ohbdir \
121130 -DCMAKE_INSTALL_PREFIX=$ohbdir/install \
122- -DKokkos_DIR=${kkbdir}/install/lib /cmake/Kokkos \
131+ -DKokkos_DIR=${kkbdir}/install/lib64 /cmake/Kokkos \
123132 -DCMAKE_BUILD_TYPE=Release \
124133 -DBUILD_SHARED_LIBS=off \
125134 -DOmega_h_USE_Kokkos=ON \
@@ -135,32 +144,35 @@ jobs:
135144
136145 # meshfields
137146 git clone https://github.com/SCOREC/meshFields.git ${workDir}/meshfields
147+ cd ${workDir}/meshfields
148+ git checkout b1482bbba288df210784b2345eae08e34faabdc4
149+ cd $workDir
138150 mfbdir=${workDir}/build-meshfields
139151 cmake -S ${workDir}/meshfields -B $mfbdir \
140152 -DCMAKE_INSTALL_PREFIX=$mfbdir/install \
141- -DOmega_h_DIR=$ohbdir/install/lib /cmake/Omega_h \
142- -DKokkos_DIR=${kkbdir}/install/lib /cmake/Kokkos \
153+ -DOmega_h_DIR=$ohbdir/install/lib64 /cmake/Omega_h \
154+ -DKokkos_DIR=${kkbdir}/install/lib64 /cmake/Kokkos \
143155 -DCMAKE_CXX_COMPILER=mpicxx \
144156 -DCMAKE_C_COMPILER=mpicc \
145157 -DMPIEXEC_EXECUTABLE=mpirun
146158 cmake --build $mfbdir --target install -j 4
147159 echo "MESHFIELDS_BUILD=$mfbdir" >> $GITHUB_ENV
148160
149161 # catch2
150- git clone https://github.com/catchorg/Catch2.git ${workDir}/Catch2
162+ git clone --branch v3.11.0 https://github.com/catchorg/Catch2.git ${workDir}/Catch2
151163 c2bdir=${workDir}/build-Catch2
152164 cmake -S ${workDir}/Catch2 -B $c2bdir \
153165 -DCMAKE_INSTALL_PREFIX=$c2bdir/install
154166 cmake --build $c2bdir --target install -j 4
155167 echo "CATCH2_BUILD=$c2bdir" >> $GITHUB_ENV
156168
157169 # petsc
158- git clone https://gitlab.com/petsc/petsc.git ${workDir}/petsc
170+ git clone --branch v3.24.2 https://gitlab.com/petsc/petsc.git ${workDir}/petsc
159171 cd ${workDir}/petsc
160172 ./configure \
161173 PETSC_ARCH=cuda-kokkos \
162- --with-kokkos-dir=$kkbdir \
163- --with-kokkos-kernels-dir=$kkkbdir \
174+ --with-kokkos-dir=$kkbdir/install/ \
175+ --with-kokkos-kernels-dir=$kkkbdir/install/ \
164176 --with-cuda=1 \
165177 --with-shared-libraries=0 \
166178 --with-openblas-dir="${OPENBLAS_RHEL9_ROOT}"
@@ -178,15 +190,18 @@ jobs:
178190 -DCMAKE_C_COMPILER=mpicc \
179191 -DCMAKE_CXX_COMPILER=mpicxx \
180192 -DPCMS_TIMEOUT=20 \
193+ -DPCMS_ENABLE_SPDLOG=OFF \
181194 -DPCMS_ENABLE_PETSC=ON \
182195 -DPETSC_DIR=${workDir}/petsc \
183196 -DPETSC_ARCH=cuda-kokkos \
184197 -Dredev_DIR=$rdbdir/install/lib64/cmake/redev/ \
185198 -DOmega_h_DIR=$ohbdir/install/lib64/cmake/Omega_h/ \
186- -Dperfstubs_DIR=$psbdir/install/lib/cmake/perfstubs/ \
199+ -Dperfstubs_DIR=$psbdir/install/lib/cmake/ \
200+ -DADIOS2_DIR=$adiosbdir/install/lib64/cmake/adios2/ \
187201 -DCatch2_DIR=$c2bdir/install/lib64/cmake/Catch2/ \
202+ -DKokkos_DIR=$kkbdir/install/lib64/cmake/Kokkos/ \
188203 -DKokkosKernels_DIR=$kkkbdir/install/lib64/cmake/KokkosKernels/ \
189- -Dmeshfields_DIR=$mfbdir/install/lib64/cmake/meshFields / \
204+ -Dmeshfields_DIR=$mfbdir/install/lib64/cmake/meshfields / \
190205 -DPCMS_TEST_DATA_DIR=${workDir}/pcms_testcases/ \
191206 -DCMAKE_CXX_EXTENSIONS=Off
192207 cmake --build $bdir
0 commit comments