Commit 280c38fc authored by Doak, Peter W.'s avatar Doak, Peter W.
Browse files

rebasing on current master

parent 36590367
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line

cmake -DDCA_WITH_CUDA=off -DDCA_WITH_HIP=ON      -DFFTW_INCLUDE_DIR=${OLCF_FFTW_ROOT}/include       -DFFTW_LIBRARY=${OLCF_FFTW_ROOT}/lib/libfftw3.a       -DDCA_FIX_BROKEN_MPICH=ON       -GNinja       -DROCM_ROOT=${ROCM_PATH}       -DDCA_WITH_TESTS_FAST=ON -DTEST_RUNNER="srun"       -DGPU_TARGETS=gfx908       -DCMAKE_C_COMPILER=mpicc       -DCMAKE_CXX_COMPILER=mpic++ ..
+19 −0
Original line number Diff line number Diff line
#!/bin/bash
#
# Loads all modules that are required to build DCA++ on ORNL's Spock cluster.
# A reset is done at the beginning to restore to the default programming environment on Spock.
# This is for development only at this point.
#
# Usage: source spock_load_modules.sh

module reset
module load gcc/11.2.0
module load openblas
module load hdf5
module load rocm
module load fftw
module load cmake
module load ninja

export CC=mpicc
export CXX=mpicxx
+3 −0
Original line number Diff line number Diff line
@@ -123,6 +123,7 @@
#define cudaEventQuery                  hipEventQuery
#define cudaEventRecord                 hipEventRecord
#define cudaEventSynchronize            hipEventSynchronize
#define cudaEventBlockingSync           hipEventBlockingSync
#define cudaFilterModeLinear            hipFilterModeLinear
#define cudaFree                        hipFree
#define cudaFreeHost                    hipHostFree
@@ -173,6 +174,8 @@
#define cudaStreamDestroy               hipStreamDestroy
#define cudaStreamSynchronize           hipStreamSynchronize
#define cudaStreamWaitEvent             hipStreamWaitEvent
#define cudaStreamLegacy                hipStreamLegacy
#define hipStreamLegacy 0
#define cudaSuccess                     hipSuccess
#define cuFloatComplex                  magmaFloatComplex
#define cuDoubleComplex                 magmaDoubleComplex
+1 −1

File changed.

Contains only whitespace changes.