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

Trilinos Master Merge PR Generator: Auto PR created to promote from master_merge_20200603_000639 branch to master #7469

Merged
merged 110 commits into from
Jun 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
847a14e
Set TEST_0 PASS_REGULAR_EXPRESSION and untangle test-block and overal…
bartlettroscoe Apr 22, 2020
9434e14
Intrepid2: fix view rank in TensorBasis to avoid error in debug builds
mperego Apr 18, 2020
22dcae2
Intrepid2: added methods getName() and requiresOrientation()
mperego Apr 18, 2020
8569bf4
Intrepid2: Use the correct execution spaces rather than the default ones
mperego Apr 18, 2020
e19e43b
Intrepid2: Remove DerivedNodalBasisFamilyModified
mperego Apr 18, 2020
85d1031
Intrepid2: enabling execution of mapToReferenceSubcell on device
mperego Apr 18, 2020
46b2a5a
Intrepid2: minor fixes to avoid warnings
mperego Apr 18, 2020
1601ffa
Intrepid2: Improve parallelization of Projection functions
mperego Apr 18, 2020
0caf389
Intrepid2: Modified tests to exercise projection of Hierarchical basis
mperego Apr 18, 2020
fe2cbb8
tpetra: Include multivector length in deciding where kernels should run.
vbrunini May 5, 2020
7ed21ce
adds details support for long multivector thresholds
GeoffDanielson May 15, 2020
3b42a49
added a couple of large mv tests
GeoffDanielson May 15, 2020
52f2dcc
Epetra: zero-out nonlocal matrix in Epetra_FECrsMatrix at the end of …
bartgol May 18, 2020
2d4f94d
Epetra: overridden Print method in Epetra_FECrsMatrix
bartgol May 18, 2020
587a91e
ATDM/ats2: 2019.06.24->rolling (ATDV-351)
e10harvey May 20, 2020
8490579
ATDM/ats2: Switch back to dev modules (ATDV-351)
e10harvey May 20, 2020
95de28d
ATDM/ats2: Point to binutils (ATDV-351)
e10harvey May 20, 2020
644744e
ATDM/ats2: Point to cuda (ATDV-351)
e10harvey May 20, 2020
80932f9
ATDM/ats2: Fix typo (ATDV-351)
e10harvey May 20, 2020
485013e
ATDM/ats2: Disable hack around error message
e10harvey May 21, 2020
ba317f2
Sacado: Make the new Fad design the default.
etphipp May 21, 2020
98d6064
Return all PT and ST changed packages (#6697)
bartlettroscoe May 22, 2020
af035f1
Automatic snapshot commit from tribits at 52acd38
bartlettroscoe May 22, 2020
b202385
Merge branch 'tribits_github_snapshot' into 6697-pr-test-st-packages …
bartlettroscoe May 22, 2020
a28215b
TrilinosCouplings: Fix uninitialized variable use in many examples.
etphipp May 22, 2020
ec31123
Add support for generating CTEST_LABELS_FOR_SUBPROJECTS (#6697)
bartlettroscoe May 22, 2020
2f46801
Use generated package_subproject_list.cmake file (#3272)
bartlettroscoe May 22, 2020
242e856
Update Tpetra_Details_Behavior.hpp
GeoffDanielson May 22, 2020
346f9ab
MueLu Utilities: Add Kokkos version of ApplyOAZToMatrixRows
cgcgcg May 22, 2020
b04428a
ROL: add missing calls to update functions
mperego May 22, 2020
f37c63b
Intrepid2: Changes to Projection Tools
mperego May 21, 2020
59dbde0
ROL: Changes to Thyra Adapters
mperego May 22, 2020
d9fd96d
Piro: pass verbosity level to ROL objective and Constraint classes.
mperego May 22, 2020
5893de8
MueLu RefMaxwell: Apply BCs to A_nodal
cgcgcg May 22, 2020
0727899
Write a package_subproject_list.cmake file for Python-only builds (#6…
bartlettroscoe May 23, 2020
fadca39
Move shunit2 to be reused in TrilinosFrameworkTests (#6697)
bartlettroscoe May 23, 2020
f3868f3
Exclude some ST packages from PR testing selection (#6697)
bartlettroscoe May 24, 2020
0767257
Fix tests for addition of package_subproject_list.cmake file (#6697)
bartlettroscoe May 24, 2020
7bff3cb
Fix a space error in Python-only builds CTEST_LABELS_FOR_SUBPROJECTS …
bartlettroscoe May 24, 2020
81dbf7c
Add running of get-changed-trilinos-packages-helpers-unit-tests.sh (#…
bartlettroscoe May 24, 2020
3e9a1ac
Add test for ShyLU_NodeHTS and list all packages for CDash (#6697, #7…
bartlettroscoe May 24, 2020
02ea8c7
Update all solver managers to use the OrthoFactory.
jennloe May 25, 2020
1fe5df5
Merge remote-tracking branch 'upstream/develop' into develop
jennloe May 25, 2020
4a8dddf
This simply unlinks the 'package_subproject_list.cmake' temporary cre…
prwolfe May 26, 2020
a6e96ed
Merge pull request #3 from prwolfe/remove_testing_temporary
bartlettroscoe May 26, 2020
9533cbd
Merge pull request #7415 from cgcgcg/fixBC
cgcgcg May 26, 2020
d1f848c
Merge Pull Request #7414 from bartlettroscoe/Trilinos/6697-pr-test-st…
trilinos-autotester May 26, 2020
60181b5
Amesos2: Refactor superlu to use Kokkos views
MicheldeMessieres Mar 4, 2020
b9ae885
Amesos2: Clean up loading for Kokkos adapter
MicheldeMessieres Apr 26, 2020
70e8724
Amesos2: Fix cuSOLVER refactor
MicheldeMessieres May 1, 2020
447edf5
Amesos2: Fix warning
MicheldeMessieres May 1, 2020
2f30e6e
Amesos2: Make kokkos also perturb just 1st row
MicheldeMessieres May 2, 2020
2a70520
Amesos2: Fix warnings
MicheldeMessieres May 2, 2020
51a3e59
Amesos2: Fix warning for cuSolver
MicheldeMessieres May 5, 2020
6fd4410
Amesos2: Fix Kokkos adapter to have same random as Tpetra
MicheldeMessieres May 12, 2020
e84310f
Amesos2: Add copy loops for Kokkos::complex to SuperLU native type
MicheldeMessieres May 13, 2020
ffe4364
Amesos2: Remove temporary debug file
MicheldeMessieres May 13, 2020
116cd8e
Amesos2: Cosmetic clean up indents
MicheldeMessieres May 13, 2020
dae1a2c
Amesos2: Add Triangular Solves for SuperLU
MicheldeMessieres Apr 24, 2020
025e39f
Amesos2: Turn off float tests for SuperLU TRSV
MicheldeMessieres May 17, 2020
9efa5b1
Amesos2: Change parameter name to Enable_KokkosKernels_TriangularSolves
MicheldeMessieres May 19, 2020
a9fd6b9
Amesos2: Remove HAVE_AMESOS2_TRIANGULAR_SOLVES
MicheldeMessieres May 19, 2020
5b03770
Amesos2: Remove duplication of KokkosSparse_sptrsv_superlu.hpp file
MicheldeMessieres May 19, 2020
ca29496
Amesos2: Update Superlu_UnitTests.cpp
MicheldeMessieres May 26, 2020
9eb7010
Merge remote-tracking branch 'e10harvey/swat_trilinos_jsrun_bug' into…
bartlettroscoe May 26, 2020
10f2044
Merge remote-tracking branch 'github/develop' into atdv-351-atdm-ats2…
bartlettroscoe May 26, 2020
141da8b
ATDM: ats2: Add unit tests for custom_builds.sh (ATDV-351)
bartlettroscoe May 21, 2020
5fbec8f
ATDM: ats2: Switch to atdm_match_any_buildname_keyword (ATDV-351)
bartlettroscoe May 21, 2020
3215b43
ATDM: ats2: Make 'rolling' uppercase in ATDM_CONFIG_COMPILER (ATDM-351)
bartlettroscoe May 21, 2020
6e6bde8
ATDM: ats2: Only load on sparc-dev module, other cleanup (ATDV-351)
bartlettroscoe May 21, 2020
292e9ac
ATDM: ats2: Update to use patchec cmake 3.17.2 and CTest GPU allocati…
bartlettroscoe May 24, 2020
e7c931d
ATDM: ats2: Purge then load StdEnv (ATDV-351)
bartlettroscoe May 24, 2020
0037354
Print return value for jsrun and some reformatting (#7211)
bartlettroscoe May 25, 2020
d838520
Add ortho option to Epetra Gmres ex for testing.
jennloe May 26, 2020
a0013bf
Merge remote-tracking branch 'upstream/develop' into develop
jennloe May 26, 2020
f3c5db3
Merge pull request #7229 from bartlettroscoe/fix-shylu-hts-test-regex
bartlettroscoe May 26, 2020
84f4da0
Merge pull request #7201 from mperego/projections
mperego May 26, 2020
5f22f39
Merge Pull Request #7387 from GeoffDanielson/Trilinos/longMVthreshold
trilinos-autotester May 26, 2020
d22cdc7
MueLu: fix issue #7411
jhux2 May 21, 2020
876db88
ATDM: Add unset ATDM_CONFIG_Kokkos_ENABLE_SERIAL and cleanup some unu…
bartlettroscoe May 27, 2020
d2a32da
ATDM: ats1: Remove ATDM_CONFIG_Kokkos_ENABLE_SERIAL=OFF (#7435)
bartlettroscoe May 27, 2020
dc074ac
Merge pull request #7432 from jennloe/develop
jennloe May 27, 2020
1100c3f
Amesos2: Fix sign compare warning for SuperLU
MicheldeMessieres May 27, 2020
d10c2fb
MueLu: remove out-dated comment
jhux2 May 27, 2020
5bb7924
ATDM: ats1: Promote all to 'Specialized' (ATDV-355)
bartlettroscoe May 27, 2020
fc08597
MueLu: skip test for SC=complex
jhux2 May 27, 2020
0d55ffb
MiniTensor: Sierra/SM tolerance changes.
lxmota May 27, 2020
0defa47
Merge Pull Request #7433 from trilinos/Trilinos/muelu-reuse-bug
trilinos-autotester May 27, 2020
ffca043
Merge Pull Request #7437 from bartlettroscoe/Trilinos/7435-atdm-ats1-…
trilinos-autotester May 27, 2020
afca7ce
Merge pull request #7410 from etphipp/sacado_new_design
etphipp May 27, 2020
7700796
Merge Pull Request #7440 from trilinos/Trilinos/minitensor-sierra-tol…
trilinos-autotester May 28, 2020
350e07e
Merge pull request #7416 from mperego/piro_rol
mperego May 28, 2020
d1803f8
Merge Pull Request #7427 from bartlettroscoe/Trilinos/atdv-351-atdm-a…
trilinos-autotester May 28, 2020
fd2d5ff
Summary:
kuberry May 28, 2020
1c13227
Update KOKKOS_ARCH settings to Kokkos_ARCH_arch=ON
jjellio May 28, 2020
87da239
ATDM: Add some comments for clues on how to use (#7247)
bartlettroscoe May 28, 2020
8ea5106
ATDM: Make KOKKOS_ARCH looping work with commas (#7247)
bartlettroscoe May 28, 2020
b806ffb
ATDM: Kokkos now likes upper-case arch names (#7247)
bartlettroscoe May 28, 2020
dd950b0
Merge Pull Request #7439 from kuberry/Trilinos/compadre_divfreebasis_…
trilinos-autotester May 28, 2020
42ec188
Merge Pull Request #7448 from jjellio/Trilinos/fix_atdm_kokkos_arch
trilinos-autotester May 28, 2020
fb9c926
Tacho - remove valgrind error
May 29, 2020
a1c7f26
ATDM: ats2: Add cuda-complex build to support GEMMA (ATDV-300)
bartlettroscoe May 29, 2020
1a9cefe
Amesos2: Fix Epetra crash for SuperLU
MicheldeMessieres May 28, 2020
45ee709
ATDM: ats2: Elevate complex build to 'Specialized' for now (ATDV-300)
bartlettroscoe May 29, 2020
d27a340
Merge Pull Request #7450 from kyungjoo-kim/Trilinos/tacho-develop
trilinos-autotester May 29, 2020
77e1ed2
Merge pull request #7391 from bartgol/Fix-7349
cgcgcg May 29, 2020
b0ec091
Fixes calls to normalize zero vectors in ICGS/IMGS (#7454)
hkthorn May 29, 2020
7e42797
Merge Pull Request #7453 from bartlettroscoe/Trilinos/atdv-300-gemma-…
trilinos-autotester May 30, 2020
7ed2016
Merge pull request #7302 from Tech-XCorp/amesos2GPU-superlu-TRSV
MicheldeMessieres May 30, 2020
201bed2
Piro: bug fix required for transient forward sensitivities to work in…
ikalash Jun 2, 2020
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
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-midnight
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Experimental
export Trilinos_TRACK=Specialized
fi
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ats1/local-driver.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Experimental
export Trilinos_TRACK=Specialized
fi
export Trilinos_SKIP_CTEST_ADD_TEST=FALSE
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ats1/local-driver.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Experimental
export Trilinos_TRACK=Specialized
fi
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ats1/local-driver.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Experimental
export Trilinos_TRACK=Specialized
fi
export Trilinos_SKIP_CTEST_ADD_TEST=FALSE
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ats1/local-driver.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Experimental
export Trilinos_TRACK=Specialized
fi
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ats1/local-driver.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Experimental
export Trilinos_TRACK=Specialized
fi
export Trilinos_SKIP_CTEST_ADD_TEST=FALSE
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ats1/local-driver.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Experimental
export Trilinos_TRACK=Specialized
fi
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ats1/local-driver.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Experimental
export Trilinos_TRACK=Specialized
fi
export Trilinos_SKIP_CTEST_ADD_TEST=FALSE
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ats1/local-driver.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
if [ "${Trilinos_TRACK}" == "" ] ; then
export Trilinos_TRACK=Specialized
fi
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ats2/local-driver.sh
10 changes: 7 additions & 3 deletions cmake/std/PullRequestLinuxDriverTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,8 @@ def createPackageEnables(arguments):
'get-changed-trilinos-packages.sh'),
os.path.join('origin', arguments.targetBranch),
'HEAD',
'packageEnables.cmake'])
'packageEnables.cmake',
'package_subproject_list.cmake'])
else:
with open('packageEnables.cmake', 'w') as f_out:
f_out.write(dedent('''\
Expand All @@ -559,6 +560,10 @@ def createPackageEnables(arguments):

PR_ENABLE_BOOL(Trilinos_ENABLE_''' + enable_map[arguments.job_base_name] + ''' ON)
'''))
with open ('package_subproject_list.cmake', 'w') as f_out:
f_out.write(dedent('''\
set(CTEST_LABELS_FOR_SUBPROJECTS ''' + enable_map[arguments.job_base_name] + ''')
'''))
print('Enabled packages:')
cmake_rstring = subprocess.check_output(['cmake',
'-P',
Expand Down Expand Up @@ -686,8 +691,7 @@ def run():
'std',
config_script),
'-Dpackage_enables=../packageEnables.cmake',
'-Dsubprojects_file=../TFW_single_configure_support_scripts/'+
'package_subproject_list.cmake'])
'-Dsubprojects_file=../package_subproject_list.cmake'])

return return_value

Expand Down
13 changes: 12 additions & 1 deletion cmake/std/atdm/ATDMDevEnvSettings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,18 @@ ATDM_SET_CACHE(Kokkos_ENABLE_CXX11_DISPATCH_LAMBDA ON CACHE BOOL)
ATDM_SET_CACHE(Kokkos_ENABLE_CUDA_LAMBDA "${ATDM_USE_CUDA}" CACHE BOOL)
ATDM_SET_CACHE(Kokkos_ENABLE_DEBUG_BOUNDS_CHECK "${Trilinos_ENABLE_DEBUG}" CACHE BOOL)
ATDM_SET_CACHE(Kokkos_ENABLE_DEBUG "${Trilinos_ENABLE_DEBUG}" CACHE BOOL)
ATDM_SET_CACHE(KOKKOS_ARCH "$ENV{ATDM_CONFIG_KOKKOS_ARCH}" CACHE STRING)

# Update Kokkos arch, expected ATDM_CONFIG_KOKKOS_ARCH=arch1,arch2,arch3. Set
# the modern Kokkos arch, e.g., KOKKOS_ARCH=arch1 => Kokkos_ARCH_arch1=ON
set(kokkos_arch_list "$ENV{ATDM_CONFIG_KOKKOS_ARCH}")
string(REPLACE "," ";" kokkos_arch_list "$ENV{ATDM_CONFIG_KOKKOS_ARCH}")
foreach(kokkos_arch_loop_var ${kokkos_arch_list} )
string(TOUPPER "${kokkos_arch_loop_var}" kokkos_arch_loop_var)
ATDM_SET_ENABLE(Kokkos_ARCH_${kokkos_arch_loop_var} ON)
endforeach(kokkos_arch_loop_var)
unset(kokkos_arch_list)
unset(kokkos_arch_loop_var)

ATDM_SET_CACHE(EpetraExt_ENABLE_HDF5 OFF CACHE BOOL)
ATDM_SET_CACHE(Panzer_FADTYPE "Sacado::Fad::DFad<RealType>" CACHE STRING)
ATDM_SET_CACHE(Phalanx_KOKKOS_DEVICE_TYPE "${ATDM_NODE_TYPE}" CACHE STRING)
Expand Down
1 change: 1 addition & 0 deletions cmake/std/atdm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ TRIBITS_ADD_TEST_DIRECTORIES(test)
TRIBITS_ADD_TEST_DIRECTORIES(cee-rhel6)
TRIBITS_ADD_TEST_DIRECTORIES(van1-tx2)
TRIBITS_ADD_TEST_DIRECTORIES(ats1)
TRIBITS_ADD_TEST_DIRECTORIES(ats2)
TRIBITS_PACKAGE_POSTPROCESS()
10 changes: 5 additions & 5 deletions cmake/std/atdm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1075,11 +1075,11 @@ $ bsub -x -Is -n 20 \

### ATS-2

Once logged on a supported ATS-2 system like 'vortex' (SRN), one can either
build and configure on a login node or a compute node. But one must always
run the tests from the launch node (allocated using 'bsub'). Make sure to
setup SSH keys as described in `/opt/VORTEX_INTRO` before trying to do
anything.
Once logged on a supported ATS-2 system (called system 'ats2') like 'vortex'
(SRN), one can either build and configure on a login node or a compute node.
But one must always run the tests from the launch node (allocated using
'bsub'). Make sure to setup SSH keys as described in `/opt/VORTEX_INTRO`
before trying to do anything.

For example, to configure, build and run the tests for the default
`cuda-debug` build for `Tpetra` (after cloning Trilinos on the 'develop'
Expand Down
3 changes: 2 additions & 1 deletion cmake/std/atdm/ats1/custom_builds_unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,5 @@ testAll() {
# Run the unit tests
#

. ${ATDM_CONFIG_SCRIPT_DIR}/test/shunit2/shunit2
SHUNIT2_DIR=`readlink -f ${ATDM_CONFIG_SCRIPT_DIR}/../../../commonTools/test/shunit2`
. ${SHUNIT2_DIR}/shunit2
4 changes: 0 additions & 4 deletions cmake/std/atdm/ats1/environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ export F90=${MPIF90}
# Anasazi settings
export ATDM_CONFIG_Anasazi_ENABLE_RBGen=OFF

# Kokkos settings
# ENABLE_SERIAL used by ATDMDevEnvSettings
export ATDM_CONFIG_Kokkos_ENABLE_SERIAL=OFF

# Lapack (intel) settings
export ATDM_CONFIG_LAPACK_LIBS="-L${CBLAS_ROOT}/mkl/lib/intel64;-L${CBLAS_ROOT}/compiler/lib/intel64;-mkl;-lmkl_intel_lp64;-lmkl_intel_thread;-lmkl_core;-liomp5"

Expand Down
11 changes: 11 additions & 0 deletions cmake/std/atdm/ats2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
TRIBITS_ADD_ADVANCED_TEST( ats2_custom_builds_unit_tests
OVERALL_WORKING_DIRECTORY TEST_NAME
OVERALL_NUM_MPI_PROCS 1
TEST_0 CMND env
ARGS SHUNIT_COLOR=none ${CMAKE_CURRENT_SOURCE_DIR}/custom_builds_unit_tests.sh
PASS_REGULAR_EXPRESSION_ALL
"ERROR: A supported compiler was not selected for 'ats2' env - anything-cudas-after"
"Ran 1 test"
"[^]OK[$]"
ALWAYS_FAIL_ON_NONZERO_RETURN
)
13 changes: 7 additions & 6 deletions cmake/std/atdm/ats2/all_supported_builds.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@

export ATDM_CONFIG_CTEST_S_BUILD_NAME_PREFIX=Trilinos-atdm-

# ats2-xl-2019.08.20-spmpi-2019.06.24_openmp_static_opt
# ats2-xl-2019.08.20-spmpi-2019.06.24_openmp_static_dbg
# ats2-xl-2019.08.20-spmpi-rolling_openmp_static_opt
# ats2-xl-2019.08.20-spmpi-rolling_openmp_static_dbg
export ATDM_CONFIG_ALL_SUPPORTED_BUILDS=(
ats2-gnu-7.3.1-spmpi-2019.06.24_serial_static_opt
ats2-gnu-7.3.1-spmpi-2019.06.24_serial_static_dbg
ats2-cuda-10.1.243-gnu-7.3.1-spmpi-2019.06.24_static_opt
ats2-cuda-10.1.243-gnu-7.3.1-spmpi-2019.06.24_static_dbg
ats2-gnu-7.3.1-spmpi-rolling_serial_static_opt
ats2-gnu-7.3.1-spmpi-rolling_serial_static_dbg
ats2-cuda-10.1.243-gnu-7.3.1-spmpi-rolling_static_opt
ats2-cuda-10.1.243-gnu-7.3.1-spmpi-rolling_static_dbg
ats2-cuda-10.1.243-gnu-7.3.1-spmpi-rolling_complex_static_opt
)
84 changes: 48 additions & 36 deletions cmake/std/atdm/ats2/custom_builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,46 +7,58 @@

# Custom compiler selection logic

if [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243-xl-2019.08.20-spmpi-2019.06.24"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243_xl-2019.08.20_spmpi-2019.06.24"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243-xl-2019.08.20"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243_xl-2019.08.20"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243-xl-2019"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243_xl-2019"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-xl"* ]] \
if atdm_match_any_buildname_keyword \
cuda-10.1.243-xl-2019.08.20-spmpi-rolling \
cuda-10.1.243_xl-2019.08.20_spmpi-rolling \
cuda-10.1.243-xl-2019.08.20 \
cuda-10.1.243_xl-2019.08.20 \
cuda-10.1.243-xl-2019 \
cuda-10.1.243_xl-2019 \
cuda-xl\
; then
export ATDM_CONFIG_COMPILER=CUDA-10.1.243_XL-2019.08.20_SPMPI-2019.06.24
echo
echo "ERROR: Currently not supporting cuda-10.1.243-xl-2019.08.20-spmpi-rolling"
echo
return
#export ATDM_CONFIG_COMPILER=CUDA-10.1.243_XL-2019.08.20_SPMPI-ROLLING

elif [[ $ATDM_CONFIG_BUILD_NAME == *"xl-2019.08.20-spmpi-2019.06.24"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"xl-2019.08.20_spmpi-2019.06.24"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"xl-2019.08.20"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"xl-2019"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"xl"* ]] \
elif atdm_match_any_buildname_keyword \
xl-2019.08.20-spmpi-rolling \
xl-2019.08.20_spmpi-rolling \
xl-2019.08.20 \
xl-2019 \
xl \
; then
export ATDM_CONFIG_COMPILER=XL-2019.08.20_SPMPI-2019.06.24
echo
echo "ERROR: Currently not supporting xl-2019.08.20-spmpi-rolling"
echo
return
#export ATDM_CONFIG_COMPILER=XL-2019.08.20_SPMPI-ROLLING

elif [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243-gnu-7.3.1-spmpi-2019.06.24"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243_gnu-7.3.1_spmpi-2019.06.24"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243-gnu-7.3.1"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243_gnu-7.3.1"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243-gnu-7"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243_gnu-7"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10.1.243"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-10"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda-gnu"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"cuda"* ]] \
elif atdm_match_any_buildname_keyword \
cuda-10.1.243-gnu-7.3.1-spmpi-rolling \
cuda-10.1.243_gnu-7.3.1_spmpi-rolling \
cuda-10.1.243-gnu-7.3.1 \
cuda-10.1.243_gnu-7.3.1 \
cuda-10.1.243-gnu-7 \
cuda-10.1.243_gnu-7 \
cuda-10.1.243 \
cuda-10 \
cuda-gnu \
cuda \
; then
export ATDM_CONFIG_COMPILER=CUDA-10.1.243_GNU-7.3.1_SPMPI-2019.06.24
export ATDM_CONFIG_COMPILER=CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING
# NOTE: Default 'cuda' must be last cuda listed!

elif [[ $ATDM_CONFIG_BUILD_NAME == *"gnu-7.3.1-spmpi-2019.06.24"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"gnu-7.3.1_spmpi-2019.06.24"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"gnu-7.3.1"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"gnu-7"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"gnu"* ]] \
|| [[ $ATDM_CONFIG_BUILD_NAME == *"default" ]] \
elif atdm_match_any_buildname_keyword \
gnu-7.3.1-spmpi-rolling \
gnu-7.3.1_spmpi-rolling \
gnu-7.3.1 \
gnu-7 \
gnu \
default \
; then
export ATDM_CONFIG_COMPILER=GNU-7.3.1_SPMPI-2019.06.24
export ATDM_CONFIG_COMPILER=GNU-7.3.1_SPMPI-ROLLING
# NOTE: Defaut 'gnu' must be last 'gnu' listed!

else
Expand All @@ -56,10 +68,10 @@ else
echo "***"
echo "*** Supported compilers include:"
echo "***"
echo "**** gnu-7.3.1_spmpi-2019.06.24 (default, default gnu)"
echo "**** cuda-10.1.243_gnu-7.3.1_spmpi-2019.06.24 (default cuda)"
echo "**** xl-2019.08.20_spmpi-2019.06.24 (disabled)"
echo "**** cuda-10.1.243-gnu-7.3.1-spmpi-2019.06.24 (disabled)"
echo "**** gnu-7.3.1_spmpi-rolling (default, default gnu)"
echo "**** cuda-10.1.243_gnu-7.3.1_spmpi-rolling (default cuda)"
echo "**** xl-2019.08.20_spmpi-rolling (disabled)"
echo "**** cuda-10.1.243-gnu-7.3.1-spmpi-rolling (disabled)"
echo "***"
return

Expand Down
86 changes: 86 additions & 0 deletions cmake/std/atdm/ats2/custom_builds_unit_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#!/bin/bash

CURRENT_SCRIPTS_DIR=`echo $BASH_SOURCE | sed "s/\(.*\)\/.*\.sh/\1/g"`
ATDM_CONFIG_SCRIPT_DIR=`readlink -f ${CURRENT_SCRIPTS_DIR}/..`
ATDM_CONFIG_SYSTEM_DIR=${ATDM_CONFIG_SCRIPT_DIR}/ats2

#
# Test compiler parsing
#

testAll() {

ATDM_CONFIG_BUILD_NAME=default
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_cuda-10.1.243-gnu-7.3.1-spmpi-rolling_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_cuda-10.1.243_gnu-7.3.1_spmpi-rolling_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_cuda-10.1.243-gnu-7.3.1_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_cuda-10.1.243_gnu-7.3.1_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_cuda-10.1.243-gnu-7_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_cuda-10.1.243_gnu-7_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_cuda-10.1.243_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_cuda-10_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_cuda_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_gnu-7.3.1-spmpi-rolling_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_gnu-7.3.1_spmpi-rolling_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_gnu-7.3.1_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_gnu-7_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_gnu_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} GNU-7.3.1_SPMPI-ROLLING ${ATDM_CONFIG_COMPILER}

# This should not match anything and should be an error!
ATDM_CONFIG_BUILD_NAME=anything-cudas-after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} DEFAULT ${ATDM_CONFIG_COMPILER}

}


#
# Run the unit tests
#

SHUNIT2_DIR=`readlink -f ${ATDM_CONFIG_SCRIPT_DIR}/../../../commonTools/test/shunit2`
. ${SHUNIT2_DIR}/shunit2
Loading