-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from LLNL/bugfix/develop/debug-mpi-off-builds
Fixing Debug & MPI-Off builds
- Loading branch information
Showing
65 changed files
with
490 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
SCRIPT_PATH=${0%/*} | ||
. "$SCRIPT_PATH/utils/parse-args.sh" | ||
|
||
# Inherit build directory name from script name | ||
BUILD_SUFFIX="lc_$(TMP=${BASH_SOURCE##*/}; echo ${TMP%.*})" | ||
|
||
rm -rf ${BUILD_SUFFIX} 2>/dev/null | ||
mkdir -p ${BUILD_SUFFIX}/install | ||
mkdir -p ${BUILD_SUFFIX}/build && cd ${BUILD_SUFFIX}/build | ||
|
||
module load cmake/3.14.5 | ||
module load gcc/8.3.1 | ||
|
||
cmake \ | ||
../.. \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_CXX_COMPILER=/usr/tce/packages/gcc/gcc-8.3.1/bin/g++ \ | ||
-C ${HOST_CONFIGS_DIR}/lc-builds/blueos/gcc8.3.1_tpl.cmake \ | ||
-DBLT_CXX_STD=c++14 \ | ||
-DENABLE_OPENMP=On \ | ||
-DENABLE_MPI=On \ | ||
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \ | ||
"$@" \ | ||
#-DSPHERAL_TPL_DIR=/usr/workspace/wsrzd/davis291/SPHERAL/blueos_Spheral_gcc8_noMPI/install/tpl \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
SCRIPT_PATH=${0%/*} | ||
. "$SCRIPT_PATH/utils/parse-args.sh" | ||
|
||
# Inherit build directory name from script name | ||
BUILD_SUFFIX="lc_$(TMP=${BASH_SOURCE##*/}; echo ${TMP%.*})" | ||
|
||
rm -rf ${BUILD_SUFFIX} 2>/dev/null | ||
mkdir -p ${BUILD_SUFFIX}/install | ||
mkdir -p ${BUILD_SUFFIX}/build && cd ${BUILD_SUFFIX}/build | ||
|
||
module load cmake/3.14.5 | ||
module load gcc/8.3.1 | ||
|
||
cmake \ | ||
../.. \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_CXX_COMPILER=/usr/tce/packages/gcc/gcc-8.3.1/bin/g++ \ | ||
-C ${HOST_CONFIGS_DIR}/lc-builds/blueos/gcc8.3.1_tpl.cmake \ | ||
-DBLT_CXX_STD=c++14 \ | ||
-DENABLE_OPENMP=On \ | ||
-DENABLE_MPI=Off \ | ||
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \ | ||
"$@" \ | ||
#-DSPHERAL_TPL_DIR=/usr/workspace/wsrzd/davis291/SPHERAL/blueos_Spheral_gcc8_noMPI/install/tpl \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env bash | ||
|
||
SCRIPT_PATH=${0%/*} | ||
. "$SCRIPT_PATH/utils/parse-args.sh" | ||
|
||
# Inherit build directory name from script name | ||
BUILD_SUFFIX="lc_$(TMP=${BASH_SOURCE##*/}; echo ${TMP%.*})" | ||
|
||
rm -rf ${BUILD_SUFFIX} 2>/dev/null | ||
mkdir -p ${BUILD_SUFFIX}/install | ||
mkdir -p ${BUILD_SUFFIX}/build && cd ${BUILD_SUFFIX}/build | ||
|
||
module load cmake/3.14.5 | ||
module load gcc/8.3.1 | ||
|
||
cmake \ | ||
../.. \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_CXX_COMPILER=/usr/tce/packages/gcc/gcc-8.3.1/bin/g++ \ | ||
-C ${HOST_CONFIGS_DIR}/lc-builds/blueos/gcc8.3.1_tpl.cmake \ | ||
-DBLT_CXX_STD=c++14 \ | ||
-DENABLE_OPENMP=On \ | ||
-DENABLE_MPI=On \ | ||
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \ | ||
-DENABLE_STATIC_CXXONLY=On \ | ||
"$@" \ | ||
#-DSPHERAL_TPL_DIR=/usr/workspace/wsrzd/davis291/SPHERAL/blueos_Spheral_gcc8_noMPI/install/tpl \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
SCRIPT_PATH=${0%/*} | ||
. "$SCRIPT_PATH/utils/parse-args.sh" | ||
|
||
# Inherit build directory name from script name | ||
BUILD_SUFFIX="lc_$(TMP=${BASH_SOURCE##*/}; echo ${TMP%.*})" | ||
|
||
rm -rf ${BUILD_SUFFIX} 2>/dev/null | ||
mkdir -p ${BUILD_SUFFIX}/install | ||
mkdir -p ${BUILD_SUFFIX}/build && cd ${BUILD_SUFFIX}/build | ||
|
||
module load cmake/3.14.5 | ||
module load gcc/8.3.1 | ||
|
||
cmake \ | ||
../.. \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_CXX_COMPILER=/usr/tce/packages/gcc/gcc-8.3.1/bin/g++ \ | ||
-C ${HOST_CONFIGS_DIR}/lc-builds/blueos/gcc8.3.1_tpl.cmake \ | ||
-DBLT_CXX_STD=c++14 \ | ||
-DENABLE_OPENMP=On \ | ||
-DENABLE_MPI=On \ | ||
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \ | ||
"$@" \ | ||
#-DSPHERAL_TPL_DIR=/usr/workspace/wsrzd/davis291/SPHERAL/blueos_Spheral_gcc8_noMPI/install/tpl \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
SCRIPT_PATH=${0%/*} | ||
. "$SCRIPT_PATH/utils/parse-args.sh" | ||
|
||
# Inherit build directory name from script name | ||
BUILD_SUFFIX="lc_$(TMP=${BASH_SOURCE##*/}; echo ${TMP%.*})" | ||
|
||
rm -rf ${BUILD_SUFFIX} 2>/dev/null | ||
mkdir -p ${BUILD_SUFFIX}/install | ||
mkdir -p ${BUILD_SUFFIX}/build && cd ${BUILD_SUFFIX}/build | ||
|
||
module load cmake/3.14.5 | ||
module load gcc/8.3.1 | ||
|
||
cmake \ | ||
../.. \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_CXX_COMPILER=/usr/tce/packages/gcc/gcc-8.3.1/bin/g++ \ | ||
-C ${HOST_CONFIGS_DIR}/lc-builds/blueos/gcc8.3.1_tpl.cmake \ | ||
-DENABLE_OPENMP=On \ | ||
-DENABLE_MPI=Off \ | ||
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \ | ||
-DENABLE_STATIC_CXXONLY=On \ | ||
"$@" \ | ||
#-DSPHERAL_TPL_DIR=/usr/workspace/wsrzd/davis291/SPHERAL/blueos_Spheral_gcc8_noMPI/install/tpl \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
SCRIPT_PATH=${0%/*} | ||
. "$SCRIPT_PATH/utils/parse-args.sh" | ||
|
||
# Inherit build directory name from script name | ||
BUILD_SUFFIX="lc_$(TMP=${BASH_SOURCE##*/}; echo ${TMP%.*})" | ||
|
||
rm -rf ${BUILD_SUFFIX} 2>/dev/null | ||
mkdir -p ${BUILD_SUFFIX}/install | ||
mkdir -p ${BUILD_SUFFIX}/build && cd ${BUILD_SUFFIX}/build | ||
|
||
module load cmake/3.14.5 | ||
module load gcc/8.3.1 | ||
|
||
cmake \ | ||
../.. \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_CXX_COMPILER=/usr/tce/packages/gcc/gcc-8.3.1/bin/g++ \ | ||
-C ${HOST_CONFIGS_DIR}/lc-builds/blueos/gcc8.3.1_tpl.cmake \ | ||
-DBLT_CXX_STD=c++14 \ | ||
-DENABLE_OPENMP=On \ | ||
-DENABLE_MPI=Off \ | ||
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \ | ||
"$@" \ | ||
#-DSPHERAL_TPL_DIR=/usr/workspace/wsrzd/davis291/SPHERAL/blueos_Spheral_gcc8_noMPI/install/tpl \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env bash | ||
|
||
SCRIPT_PATH=${0%/*} | ||
. "$SCRIPT_PATH/utils/parse-args.sh" | ||
|
||
# Inherit build directory name from script name | ||
BUILD_SUFFIX="lc_$(TMP=${BASH_SOURCE##*/}; echo ${TMP%.*})" | ||
|
||
rm -rf ${BUILD_SUFFIX} 2>/dev/null | ||
mkdir -p ${BUILD_SUFFIX}/install | ||
mkdir -p ${BUILD_SUFFIX}/build && cd ${BUILD_SUFFIX}/build | ||
|
||
module load cmake/3.14.5 | ||
module load xl/2021.03.11 | ||
|
||
cmake \ | ||
${SRC_DIR} \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_CXX_COMPILER=/usr/tce/packages/xl/xl-2021.03.11/bin/xlc++ \ | ||
-DCMAKE_Fortran_COMPILER=/usr/tce/packages/xl/xl-2021.03.11/bin/xlf \ | ||
-DENABLE_OPENMP=Off \ | ||
-DENABLE_MPI=Off \ | ||
-DENABLE_ANEOS=Off \ | ||
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \ | ||
-DENABLE_STATIC_CXXONLY=On \ | ||
$CMAKE_ARGS \ | ||
#-C ${HOST_CONFIGS_DIR}/lc-builds/toss3/gcc8.3.1_tpl.cmake \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/Distributed/BoundingVolumeDistributedBoundaryInline.hh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace Spheral { | ||
|
||
//------------------------------------------------------------------------------ | ||
// Singleton instance method. | ||
//------------------------------------------------------------------------------ | ||
template<typename Dimension> | ||
inline | ||
BoundingVolumeDistributedBoundary<Dimension>& | ||
BoundingVolumeDistributedBoundary<Dimension>:: | ||
instance() { | ||
static BoundingVolumeDistributedBoundary<Dimension> theInstance; | ||
return theInstance; | ||
} | ||
|
||
} |
Oops, something went wrong.