forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
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 trilinos#7151 from bartlettroscoe/Trilinos/cdofa-1…
…05-atdm-van1-tx2 Automatically Merged using Trilinos Pull Request AutoTester PR Title: ATDM: Add new 'van-tx2' env to support ASTRA systems PR Author: bartlettroscoe
- Loading branch information
Showing
15 changed files
with
410 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
set +x | ||
|
||
# | ||
# A) Load the env | ||
# | ||
|
9 changes: 9 additions & 0 deletions
9
.../atdm/van1-tx2/drivers/Trilinos-atdm-van1-tx2_arm-20.0_openmpi-4.0.2_openmp_static_dbg.sh
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,9 @@ | ||
#!/bin/bash | ||
|
||
#export SALLOC_CTEST_TIME_LIMIT_MINUTES=1:00:00 | ||
|
||
if [ "${Trilinos_TRACK}" == "" ] ; then | ||
export Trilinos_TRACK=Experimental | ||
fi | ||
|
||
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/van1-tx2/local-driver.sh |
9 changes: 9 additions & 0 deletions
9
.../atdm/van1-tx2/drivers/Trilinos-atdm-van1-tx2_arm-20.0_openmpi-4.0.2_openmp_static_opt.sh
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,9 @@ | ||
#!/bin/bash | ||
|
||
#export SALLOC_CTEST_TIME_LIMIT_MINUTES=1:00:00 | ||
|
||
if [ "${Trilinos_TRACK}" == "" ] ; then | ||
export Trilinos_TRACK=Specialized | ||
fi | ||
|
||
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/van1-tx2/local-driver.sh |
51 changes: 51 additions & 0 deletions
51
cmake/ctest/drivers/atdm/van1-tx2/local-driver-on-allocation.sh
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 @@ | ||
#!/bin/bash | ||
# | ||
# This script is designed to run inside of an allocation which then runs the | ||
# build and tests on the same allocated compute node. (See | ||
# van1-tx2/local-drivers.sh and atdm/READM.md for details.) | ||
# | ||
|
||
set +x | ||
|
||
echo | ||
echo "======================================================================" | ||
echo "" | ||
echo " Running ${JOB_NAME}" | ||
echo " in salloc allocation from node '$(hostname)'" | ||
echo "" | ||
echo "======================================================================" | ||
echo | ||
|
||
# Must use same site name for build and test results so they match up on | ||
# CDash! | ||
export CTEST_SITE=${ATDM_CONFIG_CDASH_HOSTNAME} | ||
|
||
echo | ||
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" | ||
echo "***" | ||
echo "*** Running start, update, configure and build on a compute node" | ||
echo "***" | ||
echo | ||
|
||
set -x | ||
env \ | ||
CTEST_DO_TEST=FALSE \ | ||
srun -N 1 \ | ||
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ctest-s-driver.sh | ||
set +x | ||
|
||
echo | ||
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" | ||
echo "***" | ||
echo "*** Running tests on compute node launched from the login node" | ||
echo "***" | ||
echo | ||
|
||
set -x | ||
env \ | ||
CTEST_DO_NEW_START=FALSE \ | ||
CTEST_DO_UPDATES=FALSE \ | ||
CTEST_DO_CONFIGURE=FALSE \ | ||
CTEST_DO_BUILD=FALSE \ | ||
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/ctest-s-driver.sh | ||
set +x |
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,32 @@ | ||
#!/bin/bash -l | ||
|
||
set +x | ||
|
||
if [[ "${SALLOC_CTEST_LIMIT_MINUTES}" == "" ]] ; then | ||
SALLOC_CTEST_LIMIT_MINUTES=4:00:00 | ||
# From prior builds on 'stria', it looks like 4 hours should be plenty of | ||
# time to do the build and tests as it has taken only about 2 1/2 hours to | ||
# do everything. | ||
fi | ||
|
||
source $WORKSPACE/Trilinos/cmake/std/atdm/load-env.sh $JOB_NAME | ||
echo | ||
|
||
if [[ "${ATDM_CONFIG_WCID_ACCOUNT}" == "" ]] ; then | ||
export ATDM_CONFIG_WCID_ACCOUNT=${ATDM_CONFIG_WCID_ACCOUNT_DEFAULT} | ||
fi | ||
|
||
set -x | ||
|
||
salloc -N 1 --time=${SALLOC_CTEST_LIMIT_MINUTES} -p short,batch \ | ||
--account=${ATDM_CONFIG_WCID_ACCOUNT} \ | ||
$WORKSPACE/Trilinos/cmake/ctest/drivers/atdm/van1-tx2/local-driver-on-allocation.sh | ||
|
||
set -x | ||
|
||
# NOTE: Above, we get a single compute-node allocation using 'salloc' and then | ||
# run the build and tests from inside of that. | ||
|
||
# NOTE: We might need to switch from salloc to the more complex sbatch | ||
# appraoch in the function atdm_run_script_on_compute_node. If we see random | ||
# ODTE errors then that is what we will need to do. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This script is sourced to return all of the supported builds | ||
|
||
export ATDM_CONFIG_CTEST_S_BUILD_NAME_PREFIX=Trilinos-atdm- | ||
|
||
export ATDM_CONFIG_ALL_SUPPORTED_BUILDS=( | ||
van1-tx2_arm-20.0_openmpi-4.0.2_openmp_static_opt | ||
van1-tx2_arm-20.0_openmpi-4.0.2_openmp_static_dbg | ||
) |
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,24 @@ | ||
# | ||
# Custom builds for van1-tx2 env | ||
# | ||
|
||
if [[ $ATDM_CONFIG_BUILD_NAME == *"arm-20.0-openmpi-4.0.2"* ]] \ | ||
|| [[ $ATDM_CONFIG_BUILD_NAME == *"arm-20.0_openmpi-4.0.2"* ]] \ | ||
|| [[ $ATDM_CONFIG_BUILD_NAME == *"arm-20.0"* ]] \ | ||
|| [[ $ATDM_CONFIG_BUILD_NAME == *"arm-20"* ]] \ | ||
|| [[ $ATDM_CONFIG_BUILD_NAME == *"default" ]] \ | ||
; then | ||
export ATDM_CONFIG_COMPILER=ARM-20.0_OPENMPI-4.0.2 | ||
|
||
else | ||
echo | ||
echo "***" | ||
echo "*** ERROR: A supported compiler was not selected for 'van1-tx2' (stria) env" | ||
echo "***" | ||
echo "*** Supported compilers include:" | ||
echo "***" | ||
echo "**** arm-20.0-openmpi-4.0.2 (arm-20.0, default)" | ||
echo "***" | ||
return | ||
|
||
fi |
Oops, something went wrong.