Skip to content

Commit

Permalink
#5 run it back
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmeier25 authored Jul 7, 2024
1 parent 06cd7cf commit 1b9210c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
sudo apt install -y libopenmpi-dev openmpi-bin
echo "OPENMPI_DIR=/usr/lib/x86_64-linux-gnu" >> $GITHUB_ENV
echo "PATH=$PATH:/usr/lib/x86_64-linux-gnu/bin" >> $GITHUB_ENV
echo "PATH=$PATH:/usr/bin" >> $GITHUB_ENV
- name: Install NVIDIA HPC SDK (PGI Compiler)
run: |
Expand All @@ -50,9 +49,7 @@ jobs:
ompi_info --version
pgcc --version
which mpicc
mpicc --version
which mpicxx
mpicxx --version
test -d "${OPENMPI_DIR}"
- name: Configure CMake
Expand All @@ -61,14 +58,11 @@ jobs:
run: |
export CC=pgcc
export CXX=pgc++
# Set MPI compilers explicitly
export MPI_C_COMPILER=/usr/lib/x86_64-linux-gnu/bin
export MPI_CXX_COMPILER=/usr/lib/x86_64-linux-gnu/bin
cmake -B ${{github.workspace}}/build \
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-DOPENMPI_DIR=${{env.OPENMPI_DIR}} \
-DMPI_C_COMPILER=${MPI_C_COMPILER} \
-DMPI_CXX_COMPILER=${MPI_CXX_COMPILER}
-DMPI_C_COMPILER=mpicc \
-DMPI_CXX_COMPILER=mpicxx \
-DCMAKE_C_FLAGS="-acc -ta=tesla:ccall" \
-DCMAKE_CXX_FLAGS="-acc -ta=tesla:ccall"
Expand Down

0 comments on commit 1b9210c

Please sign in to comment.