Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On rzansel, do not use the --pack lrun/jsrun option. #835

Merged
merged 1 commit into from
May 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions config/setupMPI.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -377,15 +377,19 @@ macro( setupSpectrumMPI )
# total
# - jsrun -a4 -c16 -g2 => 4 tasks, 16 cores, 2 gpus

set( MPIEXEC_PREFLAGS "--pack --threads=1 --bind=off -v")
set( MPIEXEC_PREFLAGS "--threads=1 --bind=off -v")
# --pack ==> -c 1 -g 0. This is actually bad for us. Disable
# lrun -n 2 -c 10 --threads=10 --bind=off ==>
# jsrun --np 1 --nrs 1 -c ALL_CPUS -g ALL_GPUS -d plane:1 -b rs -X 1
# consider: jsrun --np 2 --nrs 1 -c 10 -g 0 -bind none

#
# Setup for OMP plus MPI
#

if( DEFINED ENV{OMP_NUM_THREADS} )
# set( MPIEXEC_OMP_PREFLAGS "-c $ENV{OMP_NUM_THREADS}" )
set( MPIEXEC_OMP_PREFLAGS "--pack -c $ENV{OMP_NUM_THREADS} --threads=$ENV{OMP_NUM_THREADS} --bind=off -v" )
set( MPIEXEC_OMP_PREFLAGS "-c $ENV{OMP_NUM_THREADS} --threads=$ENV{OMP_NUM_THREADS} --bind=off -v" )
endif()

set( MPIEXEC_OMP_PREFLAGS ${MPIEXEC_OMP_PREFLAGS}
Expand Down
1 change: 1 addition & 0 deletions environment/bashrc/.bashrc_ats2
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ulimit -s unlimited
# Where is the vendor directory
export PATH=${VENDOR_DIR:=/usr/gapps/jayenne/vendors}/bin:$PATH
export VENDOR_DIR
export JSM_JSRUN_NO_WARN_OVERSUBSCRIBE=1

#
# MODULES
Expand Down