Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62503030
shepard_jenkins_run_script_pthread_intel
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 13, 16:02
Size
1 KB
Mime Type
text/x-shellscript
Expires
Wed, May 15, 16:02 (2 d)
Engine
blob
Format
Raw Data
Handle
17655459
Attached To
rLAMMPS lammps
shepard_jenkins_run_script_pthread_intel
View Options
#!/bin/bash -el
ulimit
-c 0
module load devpack/openmpi/1.10.0/intel/16.1.056/cuda/none
KOKKOS_BRANCH
=
$1
TRILINOS_UPDATE_BRANCH
=
$2
TRILINOS_PRISTINE_BRANCH
=
$3
if
[
-z
$KOKKOS_BRANCH
]
then
KOKKOS_BRANCH
=
develop
fi
if
[
-z
$TRILINOS_UPDATE_BRANCH
]
then
TRILINOS_UPDATE_BRANCH
=
develop
fi
if
[
-z
$TRILINOS_PRISTINE_BRANCH
]
then
TRILINOS_PRISTINE_BRANCH
=
develop
fi
export
OMP_NUM_THREADS
=
8
export
JENKINS_DO_CUDA
=
OFF
export
JENKINS_DO_OPENMP
=
OFF
export
JENKINS_DO_PTHREAD
=
ON
export
JENKINS_DO_SERIAL
=
OFF
export
JENKINS_DO_COMPLEX
=
OFF
export
JENKINS_ARCH_CXX_FLAG
=
"-xCORE-AVX2 -mkl"
export
JENKINS_ARCH_C_FLAG
=
"-xCORE-AVX2 -mkl"
export
BLAS_LIBRARIES
=
"-mkl;${MKLROOT}/lib/intel64/libmkl_intel_lp64.a;${MKLROOT}/lib/intel64/libmkl_intel_thread.a;${MKLROOT}/lib/intel64/libmkl_core.a"
export
LAPACK_LIBRARIES
=
${
BLAS_LIBRARIES
}
export
JENKINS_DO_TESTS
=
ON
export
JENKINS_DO_EXAMPLES
=
ON
export
JENKINS_DO_SHARED
=
ON
export
QUEUE
=
haswell
module load python
export
KOKKOS_PATH
=
${
PWD
}
/kokkos
#Already done:
if
[
! -d
"${KOKKOS_PATH}"
]
;
then
git clone https://github.com/kokkos/kokkos
${
KOKKOS_PATH
}
fi
cd
${
KOKKOS_PATH
}
git checkout
$KOKKOS_BRANCH
git pull
cd
..
source
${
KOKKOS_PATH
}
/config/trilinos-integration/prepare_trilinos_repos.sh
$TRILINOS_UPDATE_BRANCH
$TRILINOS_PRISTINE_BRANCH
${
TRILINOS_UPDATED_PATH
}
/sampleScripts/Sandia-SEMS/run_repo_comparison_slurm
${
TRILINOS_UPDATED_PATH
}
${
TRILINOS_PRISTINE_PATH
}
${
TRILINOS_UPDATED_PATH
}
/sampleScripts/Sandia-SEMS/configure-testbeds-jenkins-all TestCompare
${
QUEUE
}
Event Timeline
Log In to Comment