Skip to content

Commit 6ff1e91

Browse files
committed
wip
1 parent 25d356b commit 6ff1e91

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build_cuda.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,17 @@ jobs:
8686
# TODO update configure file
8787
./configure --with-make-np=8 --with-c2html=0 --with-debugging=0 --with-fortran-bindings=0 --with-shared-libraries=1 --with-strict-petscerrorcode PETSC_ARCH=arch-firedrake-default --COPTFLAGS=-O3 -march=native -mtune=native --CXXOPTFLAGS=-O3 -march=native -mtune=native --FOPTFLAGS=-O3 -march=native -mtune=native --download-bison --download-fftw --download-hdf5 --download-hwloc --download-metis --download-mumps --download-netcdf --download-pnetcdf --download-ptscotch --download-scalapack --download-suitesparse --download-superlu_dist --download-zlib --download-hypre --with-cuda --with-cuda-dir=/usr/local/cuda CUDAPPFLAGS=-Wno-deprecated-gpu-targets --download-openmpi --download-slepc
8888
make PETSC_DIR=/__w/firedrake/firedrake/petsc PETSC_ARCH=arch-firedrake-default all
89+
export PETSC_DIR=/__w/firedrake/firedrake/petsc
90+
export PETSC_ARCH=arch-firedrake-default
91+
export MPI_HOME=$PETSC_DIR/$PETSC_ARCH
92+
export CC=$PETSC_DIR/$PETSC_ARCH/bin/mpicc
93+
export CXX=$PETSC_DIR/$PETSC_ARCH/bin/mpicxx
94+
export MPICC=$CC
95+
export PATH=$PETSC_DIR/$PETSC_ARCH/bin:$PATH
96+
export SLEPC_DIR=$PETSC_DIR/$PETSC_ARCH
97+
export HDF5_DIR=$PETSC_DIR/$PETSC_ARCH
98+
export HYPRE_DIR=$PETSC_DIR/$PETSC_ARCH
99+
export HDF5_MPI=ON
89100
make PETSC_DIR=/__w/firedrake/firedrake/petsc PETSC_ARCH=arch-firedrake-default check MPIEXEC="mpiexec --allow-run-as-root"
90101
91102
- name: Install Firedrake

0 commit comments

Comments
 (0)