Skip to content

Commit

Permalink
Merge 9e210b6 into f3f60cf
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie authored Feb 5, 2021
2 parents f3f60cf + 9e210b6 commit 054f4c6
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 20 deletions.
3 changes: 1 addition & 2 deletions .ci/daint.cscs.ch/cray.build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/bin/bash -l

#SBATCH --export=ALL
#SBATCH --exclusive
#SBATCH --constraint="mc"
#SBATCH --partition="cscsci"
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=3
#SBATCH --ntasks-per-core=1 # 1=no HT, 2=HT
#SBATCH --hint=nomultithread

set -o errexit
set -o nounset
Expand Down
3 changes: 1 addition & 2 deletions .ci/daint.cscs.ch/cray.test.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/bin/bash -l

#SBATCH --export=ALL
#SBATCH --exclusive
#SBATCH --constraint="gpu"
#SBATCH --partition="cscsci"
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=3
#SBATCH --ntasks-per-core=1 # 1=no HT, 2=HT
#SBATCH --hint=nomultithread

set -o errexit
set -o nounset
Expand Down
3 changes: 1 addition & 2 deletions .ci/daint.cscs.ch/gnu.build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/bin/bash -l

#SBATCH --export=ALL
#SBATCH --exclusive
#SBATCH --constraint="mc"
#SBATCH --partition="cscsci"
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=3
#SBATCH --ntasks-per-core=1 # 1=no HT, 2=HT
#SBATCH --hint=nomultithread

set -o errexit
set -o nounset
Expand Down
3 changes: 1 addition & 2 deletions .ci/daint.cscs.ch/gnu.test.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/bin/bash -l

#SBATCH --export=ALL
#SBATCH --exclusive
#SBATCH --constraint="gpu"
#SBATCH --partition="cscsci"
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=3
#SBATCH --ntasks-per-core=1 # 1=no HT, 2=HT
#SBATCH --hint=nomultithread

set -o errexit
set -o nounset
Expand Down
3 changes: 1 addition & 2 deletions .ci/daint.cscs.ch/intel.build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/bin/bash -l

#SBATCH --export=ALL
#SBATCH --exclusive
#SBATCH --constraint="mc"
#SBATCH --partition="cscsci"
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=3
#SBATCH --ntasks-per-core=1 # 1=no HT, 2=HT
#SBATCH --hint=nomultithread

set -o errexit
set -o nounset
Expand Down
3 changes: 1 addition & 2 deletions .ci/daint.cscs.ch/intel.test.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/bin/bash -l

#SBATCH --export=ALL
#SBATCH --exclusive
#SBATCH --constraint="gpu"
#SBATCH --partition="cscsci"
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=3
#SBATCH --ntasks-per-core=1 # 1=no HT, 2=HT
#SBATCH --hint=nomultithread

set -o errexit
set -o nounset
Expand Down
3 changes: 1 addition & 2 deletions .ci/daint.cscs.ch/ocl.build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/bin/bash -l

#SBATCH --export=ALL
#SBATCH --exclusive
#SBATCH --constraint="mc"
#SBATCH --partition="cscsci"
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=3
#SBATCH --ntasks-per-core=1 # 1=no HT, 2=HT
#SBATCH --hint=nomultithread

set -o errexit
set -o nounset
Expand Down
6 changes: 2 additions & 4 deletions .ci/daint.cscs.ch/ocl.test.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/bin/bash -l

#SBATCH --export=ALL
#SBATCH --exclusive
#SBATCH --constraint="gpu"
#SBATCH --partition="cscsci"
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=3
#SBATCH --ntasks-per-core=1 # 1=no HT, 2=HT
#SBATCH --hint=nomultithread

set -o errexit
set -o nounset
Expand All @@ -22,8 +21,7 @@ set -o xtrace # do not set earlier to avoid noise from module

umask 0002 # make sure group members can access the data

mkdir -p "${SCRATCH}/${BUILD_TAG}.ocl"
chmod 0775 "${SCRATCH}/${BUILD_TAG}.ocl"
mkdir --mode=0775 -p "${SCRATCH}/${BUILD_TAG}.ocl"
cd "${SCRATCH}/${BUILD_TAG}.ocl"

export CRAY_CUDA_MPS=1 # enable the CUDA proxy for MPI+CUDA
Expand Down
2 changes: 1 addition & 1 deletion cmake/CompilerConfiguration.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Please open an issue at https://github.com/cp2k/dbcsr/issues with the reported c
endif ()

if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -g -funroll-loops -Wall")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -g -funroll-loops -Wall -Werror")
set(CMAKE_CXX_FLAGS_COVERAGE "-O0 -g --coverage -Wall -Werror")
set(CMAKE_CXX_FLAGS_DEBUG "-O2 -ggdb -Wall -Werror -fsanitize=undefined -fsanitize=address -fsanitize-recover=all")
if ((NOT (USE_MPI)) OR (NOT ("${MPI_Fortran_LIBRARY_VERSION_STRING}" MATCHES "Open MPI")))
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ if (USE_ACCEL)
dbcsr
PRIVATE $<$<STREQUAL:${USE_ACCEL},cuda>:CUDA::cudart>
$<$<STREQUAL:${USE_ACCEL},cuda>:CUDA::cublas>
$<$<STREQUAL:${USE_ACCEL},cuda>:CUDA::nvToolsExt>
$<$<STREQUAL:${USE_ACCEL},cuda>:CUDA::nvrtc>
$<$<BOOL:${WITH_CUDA_PROFILING}>:CUDA::nvToolsExt>
$<$<STREQUAL:${USE_ACCEL},hip>:roc::hipblas>
$<$<STREQUAL:${USE_ACCEL},hip>:hip::host>
$<$<STREQUAL:${USE_ACCEL},opencl>:OpenCL::OpenCL>)
Expand Down

0 comments on commit 054f4c6

Please sign in to comment.