Skip to content

Commit

Permalink
Add quartz/pgi gitlab config
Browse files Browse the repository at this point in the history
  • Loading branch information
daboehme committed May 21, 2019
1 parent ece7930 commit 7518569
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ build-quartz-intel:
- make
- make test

build-quartz-pgi:
stage: build
tags:
- quartz
- shell
script:
- echo "==== Build quartz/pgi ===="
- mkdir build-quartz-pgi && cd build-quartz-pgi
- cmake -C ../cmake/hostconfig/gitlab-quartz-pgi.cmake ..
- make
- make test

build-butte-xlc:
stage: build
tags:
Expand Down
3 changes: 2 additions & 1 deletion cmake/hostconfig/gitlab-butte-xlc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ set(WITH_GOTCHA On CACHE BOOL "")
set(WITH_VTUNE Off CACHE BOOL "")

set(WITH_DOCS Off CACHE BOOL "")
set(BUILD_TESTING On CACHE BOOL "")
set(BUILD_TESTING Off CACHE BOOL "") # Can't download gtest in butte runner currently

30 changes: 30 additions & 0 deletions cmake/hostconfig/gitlab-quartz-pgi.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
set(CMAKE_C_COMPILER "/usr/tce/packages/pgi/pgi-19.1/bin/pgcc" CACHE PATH "")
set(CMAKE_CXX_COMPILER "/usr/tce/packages/pgi/pgi-19.1/bin/pgc++" CACHE PATH "")

set(CMAKE_CXX_FLAGS "-std=c++11" CACHE STRING "")

set(MPI_C_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3-pgi-19.1/bin/mpicc" CACHE PATH "")
set(MPI_CXX_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3-pgi-19.1/bin/mpicxx" CACHE PATH "")

set(PAPI_PREFIX "/usr/tce/packages/papi/papi-5.5.1" CACHE PATH "")
set(ITT_PREFIX "/usr/tce/packages/vtune/default" CACHE PATH "")

# DBO 2019-02-28: dyninst-10/boost installation on toss3 is broken, leading to
# undefined references or non-existing include files. Turn it off for now.
# Build with spack if dyninst is needed.
#set(CMAKE_PREFIX_PATH "/usr/tce/packages/dyninst/dyninst-10.0.0/lib/cmake" CACHE PATH "")

set(WITH_CALLPATH On CACHE BOOL "")
set(WITH_NVPROF Off CACHE BOOL "")
set(WITH_CUPTI Off CACHE BOOL "")
set(WITH_PAPI On CACHE BOOL "")
set(WITH_LIBPFM On CACHE BOOL "")
set(WITH_DYNINST Off CACHE BOOL "") # turn off for now
set(WITH_SAMPLER On CACHE BOOL "")
set(WITH_MPI On CACHE BOOL "")
set(WITH_MPIT Off CACHE BOOL "") # default toss3 mvapich2-2.2 doesn't have any MPI-T stuff
set(WITH_GOTCHA Off CACHE BOOL "")
set(WITH_VTUNE On CACHE BOOL "")

set(WITH_DOCS Off CACHE BOOL "")
set(BUILD_TESTING On CACHE BOOL "")

0 comments on commit 7518569

Please sign in to comment.