Skip to content

Commit

Permalink
contrib/intel/jenkins: Locallize mpi variables
Browse files Browse the repository at this point in the history
Localize mpi variables to reduce number of skipped tests from
failed execution conditions.

Signed-off-by: Zach Dworkin <[email protected]>
  • Loading branch information
zachdworkin committed Sep 28, 2023
1 parent f5005eb commit f0fded2
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions contrib/intel/jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ properties([disableConcurrentBuilds(abortPrevious: true)])
@Field def SCRIPT_LOCATION="py_scripts/contrib/intel/jenkins"
@Field def RELEASE=false
@Field def BUILD_MODES=["reg", "dbg", "dl"]
@Field def MPI_TYPES=["impi", "mpich", "ompi"]
@Field def PYTHON_VERSION="3.9"
@Field def TIMEOUT="3600"

Expand Down Expand Up @@ -362,7 +361,7 @@ pipeline {
script {
dir (RUN_LOCATION) {
def providers = [["verbs", "rxm"]]
for (mpi in MPI_TYPES) {
for (def mpi in ["impi"]) {
for (imb_grp = 1; imb_grp < 4; imb_grp++) {
run_middleware(providers, "MPI", "IMB",
"squirtle,totodile", "2", "${mpi}",
Expand All @@ -378,7 +377,7 @@ pipeline {
script {
dir (RUN_LOCATION) {
def providers = [["verbs", "rxm"]]
for (mpi in MPI_TYPES) {
for (def mpi in ["impi", "mpich"]) {
run_middleware(providers, "MPI", "osu", "squirtle,totodile",
"2", "${mpi}")
}
Expand All @@ -391,11 +390,11 @@ pipeline {
script {
dir (RUN_LOCATION) {
def providers = [["tcp", null]]
for (mpi in MPI_TYPES) {
for (imb_grp = 1; imb_grp < 4; imb_grp++) {
run_middleware(providers, "MPI", "IMB",
"bulbasaur", "2", "${mpi}", "${imb_grp}")
}
for (imb_grp = 1; imb_grp < 4; imb_grp++) {
run_middleware(providers, "MPI", "IMB",
"bulbasaur", "2", "impi", "${imb_grp}")
}
for (def mpi in ["impi", "mpich"]) {
run_middleware(providers, "MPI", "osu", "bulbasaur", "2",
"${mpi}")
}
Expand Down Expand Up @@ -501,7 +500,11 @@ pipeline {
script {
dir (RUN_LOCATION) {
def providers = [['tcp', null], ["verbs","rxm"]]
for (mpi in MPI_TYPES) {
def MPIS = ["mpich"]
if (env.WEEKLY.toBoolean()) {
MPIS = ["impi", "mpich"]
}
for (def mpi in MPIS) {
run_middleware(providers, "mpichtestsuite", "mpichtestsuite",
"squirtle,totodile", "2", "${mpi}")
}
Expand Down

0 comments on commit f0fded2

Please sign in to comment.