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

Set default window type to non-shared static #639

Open
wants to merge 3 commits into
base: development
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ option(ENABLE_ASSERTIONS
option(ENABLE_UNIFIED_MEMORY_MODEL
"Specify whether to assume unified memory model" on)
option(ENABLE_SHARED_WINDOWS
"Specify whether shared memory features are enabled" on)
"Specify whether shared memory features are enabled" off)
option(ENABLE_DYNAMIC_WINDOWS
"Specify whether to use dynamic MPI windows for collective allocation" on)
"Specify whether to use dynamic MPI windows for collective allocation" off)
option(ENABLE_DEFAULT_INDEX_TYPE_LONG
"Specify whether to use int64_t as default index type" on)
option(ENABLE_LIBNUMA
Expand Down
13 changes: 11 additions & 2 deletions build.analyze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ fi
# -DGTEST_INCLUDE_PATH=${HOME}/gtest/include \
#

# The MPI backend offers support for employing shared memory windows in combination
# with dynamic windows, which may improve on-node communication performance.
# This feature can be enabled by setting
# -DENABLE_SHARED_WINDOWS=ON \
# -DENABLE_DYNAMIC_WINDOWS=ON \
# below. However, we have experienced issues with some MPI implementations if used
# in combination with -DENABLE_THREADSUPPORT=ON. It might also have a negative effect
# on inter-node communication performance on some architectures.

# To build with MKL support, set environment variables MKLROOT and INTELROOT.
#

Expand Down Expand Up @@ -103,8 +112,8 @@ mkdir -p $BUILD_DIR/$REPORT_DIR
-DENABLE_LT_OPTIMIZATION=OFF \
-DENABLE_ASSERTIONS=ON \
\
-DENABLE_SHARED_WINDOWS=ON \
-DENABLE_UNIFIED_MEMORY_MODEL=ON \
-DENABLE_SHARED_WINDOWS=OFF \
-DENABLE_UNIFIED_MEMORY_MODEL=OFF \
-DENABLE_DYNAMIC_WINDOWS=ON \
-DENABLE_DEFAULT_INDEX_TYPE_LONG=ON \
\
Expand Down
13 changes: 11 additions & 2 deletions build.cov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ fi
# -DGTEST_INCLUDE_PATH=${HOME}/gtest/include \
#

# The MPI backend offers support for employing shared memory windows in combination
# with dynamic windows, which may improve on-node communication performance.
# This feature can be enabled by setting
# -DENABLE_SHARED_WINDOWS=ON \
# -DENABLE_DYNAMIC_WINDOWS=ON \
# below. However, we have experienced issues with some MPI implementations if used
# in combination with -DENABLE_THREADSUPPORT=ON. It might also have a negative effect
# on inter-node communication performance on some architectures.

# To build with MKL support, set environment variables MKLROOT and INTELROOT.
#

Expand All @@ -64,8 +73,8 @@ rm -Rf $BUILD_DIR/*
-DENABLE_LT_OPTIMIZATION=OFF \
-DENABLE_ASSERTIONS=ON \
\
-DENABLE_SHARED_WINDOWS=ON \
-DENABLE_DYNAMIC_WINDOWS=ON \
-DENABLE_SHARED_WINDOWS=OFF \
-DENABLE_DYNAMIC_WINDOWS=OFF \
-DENABLE_UNIFIED_MEMORY_MODEL=ON \
-DENABLE_DEFAULT_INDEX_TYPE_LONG=ON \
\
Expand Down
13 changes: 11 additions & 2 deletions build.debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ fi
# -DGTEST_INCLUDE_PATH=${HOME}/gtest/include \
#

# The MPI backend offers support for employing shared memory windows in combination
# with dynamic windows, which may improve on-node communication performance.
# This feature can be enabled by setting
# -DENABLE_SHARED_WINDOWS=ON \
# -DENABLE_DYNAMIC_WINDOWS=ON \
# below. However, we have experienced issues with some MPI implementations if used
# in combination with -DENABLE_THREADSUPPORT=ON. It might also have a negative effect
# on inter-node communication performance on some architectures.

# To build with MKL support, set environment variables MKLROOT and INTELROOT.
#

Expand All @@ -66,8 +75,8 @@ rm -Rf $BUILD_DIR/*
-DENABLE_LT_OPTIMIZATION=OFF \
-DENABLE_ASSERTIONS=ON \
\
-DENABLE_SHARED_WINDOWS=ON \
-DENABLE_DYNAMIC_WINDOWS=ON \
-DENABLE_SHARED_WINDOWS=OFF \
-DENABLE_DYNAMIC_WINDOWS=OFF \
-DENABLE_UNIFIED_MEMORY_MODEL=ON \
-DENABLE_DEFAULT_INDEX_TYPE_LONG=ON \
\
Expand Down
13 changes: 11 additions & 2 deletions build.dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ fi
# To build with MKL support, set environment variables MKLROOT and INTELROOT.
#

# The MPI backend offers support for employing shared memory windows in combination
# with dynamic windows, which may improve on-node communication performance.
# This feature can be enabled by setting
# -DENABLE_SHARED_WINDOWS=ON \
# -DENABLE_DYNAMIC_WINDOWS=ON \
# below. However, we have experienced issues with some MPI implementations if used
# in combination with -DENABLE_THREADSUPPORT=ON. It might also have a negative effect
# on inter-node communication performance on some architectures.

# To enable IPM runtime support, use:
#
# -DIPM_PREFIX=<IPM install path> \
Expand All @@ -66,8 +75,8 @@ rm -Rf $BUILD_DIR/*
-DENABLE_LT_OPTIMIZATION=OFF \
-DENABLE_ASSERTIONS=ON \
\
-DENABLE_SHARED_WINDOWS=ON \
-DENABLE_DYNAMIC_WINDOWS=ON \
-DENABLE_SHARED_WINDOWS=OFF \
-DENABLE_DYNAMIC_WINDOWS=OFF \
-DENABLE_UNIFIED_MEMORY_MODEL=ON \
-DENABLE_DEFAULT_INDEX_TYPE_LONG=ON \
\
Expand Down
4 changes: 2 additions & 2 deletions build.mic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ rm -Rf $BUILD_DIR/*
-DENABLE_EXT_COMPILER_WARNINGS=OFF \
-DENABLE_ASSERTIONS=OFF \
\
-DENABLE_SHARED_WINDOWS=ON \
-DENABLE_DYNAMIC_WINDOWS=ON \
-DENABLE_SHARED_WINDOWS=OFF \
-DENABLE_DYNAMIC_WINDOWS=OFF \
-DENABLE_UNIFIED_MEMORY_MODEL=ON \
-DENABLE_DEFAULT_INDEX_TYPE_LONG=ON \
\
Expand Down
10 changes: 10 additions & 0 deletions build.minimal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ fi
# -DGTEST_LIBRARY_PATH=${HOME}/gtest \
# -DGTEST_INCLUDE_PATH=${HOME}/gtest/include \
#
# The MPI backend offers support for employing shared memory windows in combination
# with dynamic windows, which may improve on-node communication performance.
# This feature can be enabled by setting
# -DENABLE_SHARED_WINDOWS=ON \
# -DENABLE_DYNAMIC_WINDOWS=ON \
# below. However, we have experienced issues with some MPI implementations if used
# in combination with -DENABLE_THREADSUPPORT=ON. It might also have a negative effect
# on inter-node communication performance on some architectures.
#
#
# To build with MKL support, set environment variables MKLROOT and INTELROOT.
#
# To enable IPM runtime support, use:
Expand Down
9 changes: 9 additions & 0 deletions build.nasty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ fi
# -DGTEST_INCLUDE_PATH=${HOME}/gtest/include \
#

# The MPI backend offers support for employing shared memory windows in combination
# with dynamic windows, which may improve on-node communication performance.
# This feature can be enabled by setting
# -DENABLE_SHARED_WINDOWS=ON \
# -DENABLE_DYNAMIC_WINDOWS=ON \
# below. However, we have experienced issues with some MPI implementations if used
# in combination with -DENABLE_THREADSUPPORT=ON. It might also have a negative effect
# on inter-node communication performance on some architectures.

# To build with MKL support, set environment variables MKLROOT and INTELROOT.
#

Expand Down
13 changes: 11 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ fi
# -DGTEST_INCLUDE_PATH=${HOME}/gtest/include \
#

# The MPI backend offers support for employing shared memory windows in combination
# with dynamic windows, which may improve on-node communication performance.
# This feature can be enabled by setting
# -DENABLE_SHARED_WINDOWS=ON \
# -DENABLE_DYNAMIC_WINDOWS=ON \
# below. However, we have experienced issues with some MPI implementations if used
# in combination with -DENABLE_THREADSUPPORT=ON. It might also have a negative effect
# on inter-node communication performance on some architectures.

# To build with MKL support, set environment variables MKLROOT and INTELROOT.
#

Expand All @@ -66,8 +75,8 @@ rm -Rf $BUILD_DIR/*
-DENABLE_LT_OPTIMIZATION=OFF \
-DENABLE_ASSERTIONS=ON \
\
-DENABLE_SHARED_WINDOWS=ON \
-DENABLE_DYNAMIC_WINDOWS=ON \
-DENABLE_SHARED_WINDOWS=OFF \
-DENABLE_DYNAMIC_WINDOWS=OFF \
-DENABLE_UNIFIED_MEMORY_MODEL=ON \
-DENABLE_DEFAULT_INDEX_TYPE_LONG=ON \
\
Expand Down