Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Juee14Desai committed Mar 21, 2024
1 parent 993076f commit a6956d6
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
20 changes: 10 additions & 10 deletions contrib/intel/jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import groovy.transform.Field
properties([disableConcurrentBuilds(abortPrevious: true)])
@Field def DO_RUN=true
@Field def TARGET="main"
@Field def SCRIPT_LOCATION="upstream/libfabric/contrib/intel/jenkins"
@Field def SCRIPT_LOCATION="source/libfabric/contrib/intel/jenkins"
@Field def RELEASE=false
@Field def BUILD_MODES=["reg", "dbg", "dl"]
@Field def PYTHON_VERSION="3.9"
Expand Down Expand Up @@ -395,7 +395,7 @@ pipeline {
stage ('parallel-builds') {
when { equals expected: true, actual: DO_RUN }
parallel {
stage ('build-water') {
/*stage ('build-water') {
steps {
script {
slurm_build(BUILD_MODES, "water", "water", "water")
Expand Down Expand Up @@ -479,7 +479,7 @@ pipeline {
}
}
}
}
}*/
stage ('build-gpu') {
agent {
node {
Expand All @@ -506,7 +506,7 @@ pipeline {
stage('parallel-tests') {
when { equals expected: true, actual: DO_RUN }
parallel {
stage('MPI_verbs-rxm_IMB') {
/*stage('MPI_verbs-rxm_IMB') {
steps {
script {
dir (RUN_LOCATION) {
Expand Down Expand Up @@ -709,30 +709,30 @@ pipeline {
}
}
}
}
}*/
stage ('oneCCL-GPU-v3') {
agent { node { label 'ze' } }
options { skipDefaultCheckout() }
steps {
script {
dir (RUN_LOCATION) {
run_middleware([["tcp", null]], "oneCCL-GPU-v3", "onecclgpu",
/*run_middleware([["tcp", null]], "oneCCL-GPU-v3", "onecclgpu",
"gpu", "fabrics-ci", "2", null, null,
"FI_HMEM_DISABLE_P2P=1")
run_middleware([["psm3", null]], "oneCCL-GPU-v3", "onecclgpu",
"gpu", "fabrics-ci", "2", null, null,
"FI_HMEM_DISABLE_P2P=1")
run_middleware([["verbs", null]], "oneCCL-GPU-v3", "onecclgpu",
"gpu", "fabrics-ci", "2", null, null,
"FI_HMEM_DISABLE_P2P=1")
"FI_HMEM_DISABLE_P2P=1")*/
run_middleware([["shm", null]], "oneCCL-GPU-v3", "onecclgpu",
"gpu", "fabrics-ci", "1", null, null,
"FI_HMEM_DISABLE_P2P=1")
}
}
}
}
stage('daos_tcp') {
/*stage('daos_tcp') {
agent { node { label 'daos_tcp' } }
options { skipDefaultCheckout() }
steps {
Expand Down Expand Up @@ -832,7 +832,7 @@ pipeline {
}
}
}
}
}*/
}
}
stage ('Summary') {
Expand All @@ -844,7 +844,7 @@ pipeline {
gather_logs("${env.ZE_ADDR}", "${env.ZE_KEY}", "${env.LOG_DIR}",
"${env.LOG_DIR}")

summarize("all", verbose=false, release=RELEASE,
summarize("all", verbose=true, release=RELEASE,
send_mail=env.WEEKLY.toBoolean())
if (RELEASE) {
save_summary()
Expand Down
4 changes: 2 additions & 2 deletions contrib/intel/jenkins/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ def copy_build_dir(install_path):
f'{middlewares_path}/impi')
os.symlink(f'{cloudbees_config.build_dir}/ompi',
f'{middlewares_path}/ompi')
os.symlink(f'{cloudbees_config.build_dir}/oneccl_gpu',
f'{middlewares_path}/oneccl_gpu')
os.symlink(f'{cloudbees_config.build_dir}/oneccl_gpu_test',
f'{middlewares_path}/oneccl_gpu_test')

def copy_file(file_name):
if (os.path.exists(f'{workspace}/{file_name}')):
Expand Down
25 changes: 14 additions & 11 deletions contrib/intel/jenkins/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -909,13 +909,13 @@ def __init__(self, jobname, buildno, testname, hw, core_prov, fabric,
super().__init__(jobname, buildno, testname, hw, core_prov, fabric,
hosts, ofi_build_mode, user_env, log_file, None, util_prov)

#self.n = 2
if self.core_prov == 'shm':
self.n = 1
else:
self.n = 2
self.n = 2
#if self.core_prov == 'shm':
# self.n = 1
#else:
# self.n = 2
self.ppn = 1
self.oneccl_path = f'{self.middlewares_path}/oneccl_gpu/build'
self.oneccl_path = f'{self.middlewares_path}/oneccl_gpu_test/build'
if self.util_prov:
self.prov = f"{self.core_prov}\;{self.util_prov}"
else:
Expand Down Expand Up @@ -970,6 +970,9 @@ def export_env(self):
environ = f"source {cloudbees_config.impi_root}/env/vars.sh "\
"-i_mpi_internal=0; "
environ += f"source {cloudbees_config.intel_compiler_root}/env/vars.sh; "
#environ += f"source {cloudbees_config.oneapi_root}/setvars.sh; "
environ += f"source /home/cstbuild/intel/oneapi/2024.0.1/setvars.sh; "
environ += f"source {self.oneccl_path}/_install/env/setvars.sh; "
for key, val in self.onecclgpu_environ.items():
environ += f"export {key}={val}; "

Expand All @@ -981,16 +984,16 @@ def export_env(self):
return environ

def cmd(self):
return f"{self.oneccl_path}/_install/bin/mpiexec "
return f"{self.oneccl_path}/_install/opt/mpi/bin/mpiexec "

def options(self):
opts = "-l "
opts += f"-n {self.n} "
opts += f"-ppn {self.ppn} "
if self.core_prov == 'shm':
opts += f"-hosts {self.server} "
else:
opts += f"-hosts {self.server},{self.client} "
#if self.core_prov == 'shm':
# opts += f"-hosts {self.server} "
#else:
opts += f"-hosts {self.server},{self.client} "
return opts

@property
Expand Down

0 comments on commit a6956d6

Please sign in to comment.