Skip to content

Commit

Permalink
ATDM: ride: Spread out work over GPUs (trilinos#2422)
Browse files Browse the repository at this point in the history
This also switches to patched CMake 3.17.2 which is needed to support this
feature.
  • Loading branch information
bartlettroscoe committed May 20, 2020
1 parent 25d209a commit 88cd592
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/std/atdm/ride/environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export ATDM_CONFIG_NETCDF_LIBS="-L${NETCDF_ROOT}/lib;-L${HDF5_ROOT}/lib;${NETCDF

# Use manually installed cmake and ninja to try to avoid module loading
# problems (see TRIL-208)
export PATH=/ascldap/users/rabartl/install/white-ride/cmake-3.11.2/bin:/ascldap/users/rabartl/install/white-ride/ninja-1.8.2/bin:$PATH
export PATH=/home/atdm-devops-admin/tools/ride/cmake-3.17.2/bin:/home/rabartl/install/white-ride/ninja-1.8.2/bin:$PATH

# Set MPI wrappers
export MPICC=`which mpicc`
Expand Down
8 changes: 8 additions & 0 deletions cmake/std/atdm/ride/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 2 CACHE STRING)
ATDM_SET_CACHE(Trilinos_CUDA_SLOTS_PER_GPU 2 CACHE STRING)

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

0 comments on commit 88cd592

Please sign in to comment.