Skip to content

Commit

Permalink
ATDM: ats2: Update to use patchec cmake 3.17.2 and CTest GPU allocati…
Browse files Browse the repository at this point in the history
…on (ATDV-333)
  • Loading branch information
bartlettroscoe committed May 24, 2020
1 parent 6c9da38 commit 692e990
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/std/atdm/ats2/environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ fi
# Prepend path to ninja after all of the modules are loaded
export PATH=/projects/atdm_devops/vortex/ninja-fortran-1.8.2:$PATH

# Prepend path to updated CMake 3.16.5
# Prepend path to updated and patched CMake 3.17.2
module unload cmake
export PATH=/projects/atdm_devops/vortex/cmake-3.16.5/bin:$PATH
export PATH=/projects/atdm_devops/vortex/cmake-3.17.2/bin:$PATH

# Set a standard git so everyone has the same git
module load git/2.20.0
Expand Down
8 changes: 8 additions & 0 deletions cmake/std/atdm/ats2/tweaks/Tweaks.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#
# Set up to limit running on GPUs
#

ATDM_SET_CACHE(Trilinos_AUTOGENERATE_TEST_RESOURCE_FILE ON CACHE BOOL)
ATDM_SET_CACHE(Trilinos_CUDA_NUM_GPUS 4 CACHE STRING)
ATDM_SET_CACHE(Trilinos_CUDA_SLOTS_PER_GPU 2 CACHE STRING)

#
# Disables across multiple builds on 'ats2'
#
Expand Down

0 comments on commit 692e990

Please sign in to comment.