-
Notifications
You must be signed in to change notification settings - Fork 126
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 #3883 from scottwittenburg/another-way-to-mpich-ch…
…3-sock-tcp ci: use mpich built with ch3:sock to speed up tests
- Loading branch information
Showing
16 changed files
with
445 additions
and
39 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,37 @@ | ||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
|
||
set(ENV{CC} icc) | ||
set(ENV{CXX} icpc) | ||
set(ENV{FC} ifort) | ||
|
||
set(dashboard_cache " | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_DataSpaces:BOOL=OFF | ||
ADIOS2_USE_Fortran:BOOL=OFF | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=ON | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_SZ:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
ADIOS2_USE_ZFP:BOOL=ON | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_C_FLAGS:STRING=-Wall -diag-disable=10441 | ||
CMAKE_C_FLAGS_DEBUG:STRING=-g -O0 | ||
CMAKE_CXX_FLAGS:STRING=-Wall -diag-disable=10441 | ||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g -O0 | ||
MPIEXEC_MAX_NUMPROCS:STRING=${N2CPUS} | ||
") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
|
||
set(ENV{CC} icx) | ||
set(ENV{CXX} icpx) | ||
set(ENV{FC} ifort) # oneapi fortran compiler currently has issues | ||
|
||
set(dashboard_cache " | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=OFF | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_DataSpaces:BOOL=OFF | ||
ADIOS2_USE_Fortran:BOOL=OFF | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=ON | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_SZ:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
ADIOS2_USE_ZFP:BOOL=ON | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_C_FLAGS:STRING=-Wall | ||
CMAKE_C_FLAGS_DEBUG:STRING=-g -O0 | ||
CMAKE_CXX_FLAGS:STRING=-Wall | ||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g -O0 | ||
CMAKE_Fortran_FLAGS:STRING=-W1 | ||
MPIEXEC_MAX_NUMPROCS:STRING=${N2CPUS} | ||
") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
|
||
set(ENV{CC} clang-10) | ||
set(ENV{CXX} clang++-10) | ||
set(ENV{FC} gfortran-11) | ||
|
||
execute_process( | ||
COMMAND "python3-config" "--prefix" | ||
OUTPUT_VARIABLE PY_ROOT | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
|
||
set(dashboard_cache " | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=ON | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_SZ:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
ADIOS2_USE_ZFP:BOOL=ON | ||
Python_ROOT_DIR:PATH=${PY_ROOT} | ||
Python_FIND_STRATEGY:STRING=LOCATION | ||
Python_FIND_FRAMEWORK:STRING=FIRST | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_C_FLAGS:STRING=-Wall | ||
CMAKE_CXX_FLAGS:STRING=-Wall | ||
CMAKE_Fortran_FLAGS:STRING=-Wall | ||
MPIEXEC_MAX_NUMPROCS:STRING=${N2CPUS} | ||
") | ||
|
||
# TODO: The Kill* and PreciousTimeStep tests fail (due to timeout) when | ||
# TODO: adios2 is built "--with-device=ch3:sock:tcp". Once this is fixed | ||
# TODO: in the mpi_dp, we can re-enable these tests. | ||
set(CTEST_TEST_ARGS EXCLUDE "KillReader|KillWriter|PreciousTimestep") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
|
||
set(ENV{CC} clang-6.0) | ||
set(ENV{CXX} clang++-6.0) | ||
set(ENV{FC} gfortran-11) | ||
|
||
execute_process( | ||
COMMAND "python3-config" "--prefix" | ||
OUTPUT_VARIABLE PY_ROOT | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
|
||
set(dashboard_cache " | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MGARD:BOOL=OFF | ||
ADIOS2_USE_MPI:BOOL=ON | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_SZ:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
ADIOS2_USE_ZFP:BOOL=ON | ||
Python_ROOT_DIR:PATH=${PY_ROOT} | ||
Python_FIND_STRATEGY:STRING=LOCATION | ||
Python_FIND_FRAMEWORK:STRING=FIRST | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_C_FLAGS:STRING=-Wall | ||
CMAKE_CXX_FLAGS:STRING=-Wall | ||
CMAKE_Fortran_FLAGS:STRING=-Wall | ||
MPIEXEC_MAX_NUMPROCS:STRING=${N2CPUS} | ||
") | ||
|
||
# We have a dedicated build for clang6 + serial, so we exclude ".Serial$" | ||
# TODO: The Kill* and PreciousTimeStep tests fail (due to timeout) when | ||
# TODO: adios2 is built "--with-device=ch3:sock:tcp". Once this is fixed | ||
# TODO: in the mpi_dp, we can re-enable these tests. | ||
set(CTEST_TEST_ARGS EXCLUDE "KillReader|KillWriter|PreciousTimestep|.Serial$") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
|
||
set(ENV{CC} gcc) | ||
set(ENV{CXX} g++) | ||
set(ENV{FC} gfortran) | ||
|
||
execute_process( | ||
COMMAND "python3-config" "--prefix" | ||
OUTPUT_VARIABLE PY_ROOT | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
|
||
set(dashboard_cache " | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=ON | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_SZ:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
ADIOS2_USE_ZFP:BOOL=ON | ||
Python_ROOT_DIR:PATH=${PY_ROOT} | ||
Python_FIND_STRATEGY:STRING=LOCATION | ||
Python_FIND_FRAMEWORK:STRING=FIRST | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_C_FLAGS:STRING=-Wall | ||
CMAKE_CXX_FLAGS:STRING=-Wall | ||
CMAKE_Fortran_FLAGS:STRING=-Wall | ||
MPIEXEC_MAX_NUMPROCS:STRING=${N2CPUS} | ||
") | ||
|
||
# TODO: The Kill* and PreciousTimeStep tests fail (due to timeout) when | ||
# TODO: adios2 is built "--with-device=ch3:sock:tcp". Once this is fixed | ||
# TODO: in the mpi_dp, we can re-enable these tests. | ||
set(CTEST_TEST_ARGS EXCLUDE "KillReader|KillWriter|PreciousTimestep") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
|
||
set(ENV{CC} gcc) | ||
set(ENV{CXX} g++) | ||
set(ENV{FC} gfortran) | ||
|
||
execute_process( | ||
COMMAND "python3-config" "--prefix" | ||
OUTPUT_VARIABLE PY_ROOT | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
|
||
set(dashboard_cache " | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=ON | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_SZ:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
ADIOS2_USE_ZFP:BOOL=ON | ||
Python_ROOT_DIR:PATH=${PY_ROOT} | ||
Python_FIND_STRATEGY:STRING=LOCATION | ||
Python_FIND_FRAMEWORK:STRING=FIRST | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_C_FLAGS:STRING=-Wall | ||
CMAKE_CXX_FLAGS:STRING=-Wall | ||
CMAKE_Fortran_FLAGS:STRING=-Wall | ||
MPIEXEC_MAX_NUMPROCS:STRING=${N2CPUS} | ||
") | ||
|
||
# We have a dedicated build for gcc8 + serial, so we exclude ".Serial$" | ||
# TODO: The Kill* and PreciousTimeStep tests fail (due to timeout) when | ||
# TODO: adios2 is built "--with-device=ch3:sock:tcp". Once this is fixed | ||
# TODO: in the mpi_dp, we can re-enable these tests. | ||
set(CTEST_TEST_ARGS EXCLUDE "KillReader|KillWriter|PreciousTimestep|.Serial$") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
include(ProcessorCount) | ||
ProcessorCount(NCPUS) | ||
math(EXPR N2CPUS "${NCPUS}*2") | ||
|
||
set(ENV{CC} gcc) | ||
set(ENV{CXX} g++) | ||
set(ENV{FC} gfortran) | ||
|
||
execute_process( | ||
COMMAND "python3-config" "--prefix" | ||
OUTPUT_VARIABLE PY_ROOT | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
|
||
set(dashboard_cache " | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=ON | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_SZ:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
ADIOS2_USE_ZFP:BOOL=ON | ||
Python_ROOT_DIR:PATH=${PY_ROOT} | ||
Python_FIND_STRATEGY:STRING=LOCATION | ||
Python_FIND_FRAMEWORK:STRING=FIRST | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_C_FLAGS:STRING=-Wall | ||
CMAKE_CXX_FLAGS:STRING=-Wall | ||
CMAKE_Fortran_FLAGS:STRING=-Wall | ||
MPIEXEC_MAX_NUMPROCS:STRING=${N2CPUS} | ||
") | ||
|
||
# TODO: The Kill* and PreciousTimeStep tests fail (due to timeout) when | ||
# TODO: adios2 is built "--with-device=ch3:sock:tcp". Once this is fixed | ||
# TODO: in the mpi_dp, we can re-enable these tests. | ||
set(CTEST_TEST_ARGS EXCLUDE "KillReader|KillWriter|PreciousTimestep") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |
Oops, something went wrong.