Skip to content

Commit

Permalink
Debug mpi.h build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gartavanis committed Dec 14, 2024
1 parent 2a4948b commit 8bcebcb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,7 @@ jobs:
if [[ "${{ matrix.config.amps_layer }}" == "oas3" ]]; then HAVE_CLM="OFF"; else HAVE_CLM="ON"; fi
CFLAGS="-Wall -Werror -Wno-unused-result -Wno-unused-function -Wno-stringop-overread"
if [[ "${{ matrix.config.cc }}" == "gcc" ]]; then CFLAGS="${CFLAGS} -Wno-stringop-overread"; fi
export CC=mpicc CXX=mpicxx F77=mpif77 FC=mpif90
export NVCC_PREPEND_FLAGS="-ccbin=$(which mpicc)"
echo ">>>>>>>>>>>>>>>>>>>>>>>>"
echo $NVCC_PREPEND_FLAGS
export CC=mpicc CXX=mpicxx F77=mpif77 FC=mpif90 CUDAHOSTCXX=mpicxx
cmake -Bbuild \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS=$CFLAGS \
Expand Down

0 comments on commit 8bcebcb

Please sign in to comment.