MPI gotcha updates (#20)

* MPI gotcha updates

* Release script updates

- build for ubuntu focal and bionic
- use OpenMPI for OMNITRACE_USE_MPI_HEADERS

* build-release.sh updates
This commit is contained in:
Jonathan R. Madsen
2022-01-26 15:02:53 -06:00
committed by GitHub
parent 778af2a760
commit a546949ff4
9 changed files with 87 additions and 55 deletions
+11 -2
View File
@@ -1,8 +1,17 @@
#!/usr/bin/env bash
: ${ROCM_VERSIONS:="4.5 4.3 4.3.1"}
: ${DISTRO:=ubuntu}
: ${VERSIONS:=20.04 18.04}
for i in ${ROCM_VERSIONS}
set -e
if [ ! -f Dockerfile ]; then cd docker; fi
for VERSION in ${VERSIONS}
do
docker build . --tag jrmadsen/omnitrace-base-rocm-${i} --build-arg ROCM_REPO_VERSION=${i}
for i in ${ROCM_VERSIONS}
do
docker build . --tag jrmadsen/omnitrace-${DISTRO}-${VERSION}-rocm-${i} --build-arg DISTRO=${DISTRO} --build-arg VERSION=${VERSION} --build-arg ROCM_REPO_VERSION=${i}
done
done