Skip to content

Commit

Permalink
Add BML OpenMP flags
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbock committed Apr 23, 2017
1 parent d795dc9 commit 98ec336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ list(APPEND LINK_LIBRARIES ${BML_LDFLAGS})
set(BLAS_VENDOR ""
CACHE STRING "If set, the preferred BLAS/LAPACK vendor. Possible choices: {Intel,MKL,ACML}")

set(BML_OPENMP TRUE CACHE BOOL "Whether the bml was built with OpenMP")
if(BLAS_VENDOR STREQUAL "Intel" OR BLAS_VENDOR STREQUAL "MKL")
message(STATUS "Attempting to use Intel's BLAS/LAPACK (MKL)")
if(CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
Expand Down
1 change: 1 addition & 0 deletions build_scaling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ else
export CXX=${CXX:=g++}
fi

export BML_OPENMP=${BML_OPENMP:=yes}
export PROGRESS_OPENMP=${PROGRESS_OPENMP:=yes}
export PROGRESS_GRAPHLIB=${PROGRESS_GRAPHLIB:=yes}
export PROGRESS_TESTING=${PROGRESS_TESTING:=yes}
Expand Down

0 comments on commit 98ec336

Please sign in to comment.