Skip to content

Commit

Permalink
Updated docs for 11.8-0 release.
Browse files Browse the repository at this point in the history
Updated aomp_common_vars with tags and sha keys.
Updated known fail lists.
Updated changelog.
  • Loading branch information
estewart08 committed Aug 20, 2020
1 parent c7e730f commit db32132
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 40 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AOMP - V 11.7-1
AOMP - V 11.8-0
==============

This is README.md for https://github.com/ROCM-Developer-Tools/aomp.
Expand All @@ -8,8 +8,8 @@ This is the base repository for AOMP. Use this github repository for
documentation, and
[examples](https://github.com/ROCm-Developer-Tools/aomp/tree/master/examples).

The last [release is AOMP 11.7-1](https://github.com/ROCm-Developer-Tools/aomp/releases).
Currently AOMP 11.8-0 is under development.
The last [release is AOMP 11.8-0](https://github.com/ROCm-Developer-Tools/aomp/releases).
Currently AOMP 11.9-0 is under development.


Attention Users! Please use this repository for [issues](https://github.com/ROCm-Developer-Tools/aomp/issues).
Expand Down
14 changes: 7 additions & 7 deletions bin/aomp_common_vars
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
AOMP_COMPILER_NAME=${AOMP_COMPILER_NAME:-AOMP}

# ROCM_VERSION may be set by Jenkins, if not guess a good number
ROCM_VERSION=${ROCM_VERSION:-3.7.0}
ROCM_VERSION=${ROCM_VERSION:-3.8.0}

# Set the AOMP VERSION STRING and AOMP_PROJECT_REPO_BRANCH.
AOMP_VERSION=${AOMP_VERSION:-"11.8"}
Expand Down Expand Up @@ -142,7 +142,7 @@ if [ "$AOMP_VERSION" == "12.0" ] ; then
else
GITPROJECT=$GITROCDEV
AOMP_PROJECT_REPO_NAME=${AOMP_PROJECT_REPO_NAME:-amd-llvm-project}
AOMP_PROJECT_REPO_BRANCH=${AOMP_PROJECT_REPO_BRANCH:-amd-stg-openmp}
AOMP_PROJECT_REPO_BRANCH=${AOMP_PROJECT_REPO_BRANCH:-aomp-11.8-0}
fi
# FIXME: In the near future, we will remove the _BRANCH variables and use a
# manifest file to determine which branch to build each component.
Expand All @@ -160,11 +160,11 @@ fi

# These aomp development repositories
AOMP_REPO_NAME=${AOMP_REPO_NAME:-aomp}
AOMP_REPO_BRANCH=${AOMP_REPO_BRANCH:-amd-stg-openmp}
AOMP_REPO_BRANCH=${AOMP_REPO_BRANCH:-rel_11.8-0}
AOMP_EXTRAS_REPO_NAME=${AOMP_EXTRAS_REPO_NAME:-aomp-extras}
AOMP_EXTRAS_REPO_BRANCH=${AOMP_EXTRAS_REPO_BRANCH:-amd-stg-openmp}
AOMP_EXTRAS_REPO_BRANCH=${AOMP_EXTRAS_REPO_BRANCH:-aomp-11.8-0}
AOMP_FLANG_REPO_NAME=${AOMP_FLANG_REPO_NAME:-flang}
AOMP_FLANG_REPO_BRANCH=${AOMP_FLANG_REPO_BRANCH:-amd-stg-openmp}
AOMP_FLANG_REPO_BRANCH=${AOMP_FLANG_REPO_BRANCH:-aomp-11.8-0}

# These extra repositories are needed but we cannot update them
AOMP_ROCT_REPO_NAME=${AOMP_ROCT_REPO_NAME:-roct-thunk-interface}
Expand All @@ -177,13 +177,13 @@ AOMP_LIBDEVICE_REPO_NAME=${AOMP_LIBDEVICE_REPO_NAME:-rocm-device-libs}
AOMP_LIBDEVICE_COMPONENT_NAME=${AOMP_LIBDEVICE_COMPONENT_NAME:-rocdl}
AOMP_LIBDEVICE_REPO_BRANCH=${AOMP_LIBDEVICE_REPO_BRANCH:-amd-stg-open}
DEVICELIBS_ROOT=${DEVICELIBS_ROOT:-$AOMP_REPOS/$AOMP_LIBDEVICE_REPO_NAME}
#AOMP_LIBDEVICE_REPO_SHA=${AOMP_LIBDEVICE_REPO_SHA:-1a66b15}
AOMP_LIBDEVICE_REPO_SHA=${AOMP_LIBDEVICE_REPO_SHA:-41b390c}
AOMP_COMGR_REPO_NAME=${AOMP_COMGR_REPO_NAME:-rocm-compilersupport}
AOMP_COMGR_REPO_BRANCH=${AOMP_COMGR_REPO_BRANCH:-amd-stg-open}
AOMP_COMGR_REPO_SHA=${AOMP_COMGR_REPO_SHA:-821b509}
AOMP_RINFO_REPO_NAME=${AOMP_RINFO_REPO_NAME:-rocminfo}
AOMP_RINFO_REPO_BRANCH=${AOMP_RINFO_REPO_BRANCH:-master}
#AOMP_RINFO_REPO_SHA=${AOMP_RINFO_REPO_SHA:-5d6be5b}
AOMP_RINFO_REPO_SHA=${AOMP_RINFO_REPO_SHA:-5d6be5b}

# These are repos we will use when we switch to HIP VDI
AOMP_VDI_REPO_NAME=${AOMP_VDI_REPO_NAME:-vdi}
Expand Down
19 changes: 16 additions & 3 deletions bin/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aomp (11.7-1) UNRELEASED; urgency=medium
aomp (11.8-0) UNRELEASED; urgency=medium

* Initial release of aomp is 0.3-2
* Please see example in /usr/lib/aomp/examples/vmuldemo
Expand Down Expand Up @@ -385,5 +385,18 @@ aomp (11.7-1) UNRELEASED; urgency=medium
* Known Issues:
* -Hip example device_lib fails to compile
*

-- Greg Rodgers <[email protected]> Wed, 29 Jul 2020 00:11:34 -0500
*
* 11.8-0
* Switch to the LLVM 11.x stable code base.
* OMPD updates for flang.
* To support debugging OpenMP, selected OpenMP runtime sources are included in
* lib-debug/src/openmp. The ROCgdb debugger will find these automatically.
* Threadsafe hsa plugin for libomptarget.
* Updates to support device libraries.
* Openmpi configure issue with real16 resolved.
* DeviceRTL memory use is now independent of number of openmp binaries.
* Startup latency on first kernel launch reduced by order of magnitude.
*
* These are the known issues with this release:
* Further reductions in memory use by DeviceRTL required
-- Greg Rodgers <[email protected]> Wed, 19 Aug 2020 22:29:37 -0500
16 changes: 8 additions & 8 deletions docs/NOROOTINSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Once installed go to [TESTINSTALL](TESTINSTALL.md) for instructions on getting s
To install the debian package without root access into your home directory, you can run these commands.<br>
On Ubuntu 18.04 LTS (bionic beaver):
```
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.7-1/aomp_Ubuntu1804_11.7-1_amd64.deb
dpkg -x aomp_Ubuntu1804_11.7-1_amd64.deb /tmp/temproot
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.8-0/aomp_Ubuntu1804_11.8-0_amd64.deb
dpkg -x aomp_Ubuntu1804_11.8-0_amd64.deb /tmp/temproot
```
On Ubuntu 16.04:
```
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.7-1/aomp_Ubuntu1604_11.7-1_amd64.deb
dpkg -x aomp_Ubuntu1604_11.7-1_amd64.deb /tmp/temproot
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.8-0/aomp_Ubuntu1604_11.8-0_amd64.deb
dpkg -x aomp_Ubuntu1604_11.8-0_amd64.deb /tmp/temproot
```
Move to $HOME and set variables:
```
Expand All @@ -30,13 +30,13 @@ To install the rpm package without root access into your home directory, you can
```
For Red Hat:
```
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.7-1/aomp_REDHAT_7-11.7-1.x86_64.rpm
rpm2cpio aomp_REDHAT_7-11.7-1.x86_64.rpm | cpio -idmv
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.8-0/aomp_REDHAT_7-11.8-0.x86_64.rpm
rpm2cpio aomp_REDHAT_7-11.8-0.x86_64.rpm | cpio -idmv
```
For SLES15-SP1:
```
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.7-1/aomp_SLES15_SP1-11.7-1.x86_64.rpm
rpm2cpio aomp_SLES15_SP1-11.7-1.x86_64.rpm | cpio -idmv
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.8-0/aomp_SLES15_SP1-11.8-0.x86_64.rpm
rpm2cpio aomp_SLES15_SP1-11.8-0.x86_64.rpm | cpio -idmv
```
Move to $HOME and set variables:
```
Expand Down
10 changes: 5 additions & 5 deletions docs/RELEASESOURCEINSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ Remember,the aomp spack configuration file is currently missing dependencies, so
To build and install aomp from the release source tarball run these commands:

```
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.7-1/aomp-11.7-1.tar.gz
tar -xzf aomp-11.7-1.tar.gz
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.8-0/aomp-11.8-0.tar.gz
tar -xzf aomp-11.8-0.tar.gz
cd aomp
nohup make &
```
Expand All @@ -135,9 +135,9 @@ If you set the environment variable AOMP, the Makefile will install to that dire
Otherwise, the Makefile will install into /usr/local.
So you must have authorization to write into /usr/local if you do not set the environment variable AOMP.
Let's assume you set the environment variable AOMP to "$HOME/rocm/aomp" in .bash_profile.
The build_aomp.sh script will install into $HOME/rocm/aomp_11.7-1 and create a symbolic link from $HOME/rocm/aomp to $HOME/rocm/aomp_11.7-1.
The build_aomp.sh script will install into $HOME/rocm/aomp_11.8-0 and create a symbolic link from $HOME/rocm/aomp to $HOME/rocm/aomp_11.8-0.
This feature allows multiple versions of AOMP to be installed concurrently.
To enable a backlevel version of AOMP, simply set AOMP to $HOME/rocm/aomp_11.7-0.
To enable a backlevel version of AOMP, simply set AOMP to $HOME/rocm/aomp_11.7-1.

## Build AOMP with spack

Expand All @@ -146,7 +146,7 @@ Currently the aomp configuration is not yet in the spack git hub so you must cre

```
wget https://github.com/ROCm-Developer-Tools/aomp/blob/master/bin/package.py
spack create -n aomp -t makefile --force https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.7-1/aomp-11.7-1.tar.gz
spack create -n aomp -t makefile --force https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.8-0/aomp-11.8-0.tar.gz
spack edit aomp
spack install aomp
```
Expand Down
6 changes: 3 additions & 3 deletions docs/RHELINSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ sudo yum install perl-Digest-MD5
```
### Download and Install
```
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.7-1/aomp_REDHAT_7-11.7-1.x86_64.rpm
sudo rpm -i aomp_REDHAT_7-11.7-1.x86_64.rpm
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.8-0/aomp_REDHAT_7-11.8-0.x86_64.rpm
sudo rpm -i aomp_REDHAT_7-11.8-0.x86_64.rpm
```
If CUDA is not installed the installation may cancel, to bypass this:
```
sudo rpm -i --nodeps aomp_REDHAT_7-11.7-1.x86_64.rpm
sudo rpm -i --nodeps aomp_REDHAT_7-11.8-0.x86_64.rpm
```
Confirm AOMP environment variable is set:
```
Expand Down
4 changes: 2 additions & 2 deletions docs/SLES15INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# AOMP SUSE SLES-15-SP1 Install
AOMP will install to /usr/lib/aomp. The AOMP environment variable will automatically be set to the install location. This may require a new terminal to be launched to see the change.
```
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.7-1/aomp_SLES15_SP1-11.7-1.x86_64.rpm
sudo rpm -i aomp_SLES15_SP1-11.7-1.x86_64.rpm
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.8-0/aomp_SLES15_SP1-11.8-0.x86_64.rpm
sudo rpm -i aomp_SLES15_SP1-11.8-0.x86_64.rpm
```
Confirm AOMP environment variable is set:
```
Expand Down
6 changes: 3 additions & 3 deletions docs/SOURCEINSTALL.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source Install V 11.8-0 (DEV)
# Source Install V 11.9-0 (DEV)

Build and install from sources is possible. However, the source build for AOMP is complex for several reasons.
- Many repos are required. The clone_aomp.sh script ensures you have all repos and the correct branch.
Expand Down Expand Up @@ -114,7 +114,7 @@ Create a /etc/yum.repos.d/rocm.repo file with the following contents:
```

<b>Choose a Build Version (Development or Release)</b>
The development version is the next version to be released. It is possible that the development version is broken due to regressions that often occur during development. If instead, you want to build from the sources of a previous release such as 11.7-1 that is possible as well.
The development version is the next version to be released. It is possible that the development version is broken due to regressions that often occur during development. If instead, you want to build from the sources of a previous release such as 11.8-0 that is possible as well.

<b>For the Development Branch:</b>
```
Expand All @@ -124,7 +124,7 @@ The development version is the next version to be released. It is possible that

<b>For the Release Branch:</b>
```
git checkout rel_11.7-1
git checkout rel_11.8-0
git pull
export AOMP_CHECK_GIT_BRANCH=0 //Tags will be used to checkout various repos. This will ignore the detached head state to avoid build errors.
```
Expand Down
8 changes: 4 additions & 4 deletions docs/UBUNTUINSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ AOMP will install to /usr/lib/aomp. The AOMP environment variable will automatic

On Ubuntu 18.04 LTS (bionic beaver), run these commands:
```
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.7-1/aomp_Ubuntu1804_11.7-1_amd64.deb
sudo dpkg -i aomp_Ubuntu1804_11.7-1_amd64.deb
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.8-0/aomp_Ubuntu1804_11.8-0_amd64.deb
sudo dpkg -i aomp_Ubuntu1804_11.8-0_amd64.deb
```

On Ubuntu 16.04, run these commands:
```
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.7-1/aomp_Ubuntu1604_11.7-1_amd64.deb
sudo dpkg -i aomp_Ubuntu1604_11.7-1_amd64.deb
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.8-0/aomp_Ubuntu1604_11.8-0_amd64.deb
sudo dpkg -i aomp_Ubuntu1604_11.8-0_amd64.deb
```

The AOMP bin directory (which includes the standard clang and llvm binaries) is not intended to be in your PATH for typical operation.
Expand Down
2 changes: 1 addition & 1 deletion test/omp5/check_omp5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ echo " A non-zero exit code means a failure occured." >> check
echo "Tests that need to be visually inspected: devices, pfspecify, pfspecify_str, stream" >> check-omp5.txt
echo "***********************************************************************************" >> check-omp5.txt

known_fails="red_bug_51 declare_variant shape_noncontig concur_update"
known_fails="red_bug_51 declare_variant shape_noncontig concur_update mapper_prob"

if [ "$SKIP_FAILURES" == 1 ] ; then
skip_tests=$known_fails
Expand Down
2 changes: 1 addition & 1 deletion test/smoke/check_smoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ echo " A non-zero exit code means a failure occured." >> check
echo "Tests that need to be visually inspected: devices, pfspecify, pfspecify_str, stream" >> check-smoke.txt
echo "***********************************************************************************" >> check-smoke.txt

known_fails="reduction_array_section targ_static target_teams_reduction tasks data_share2 global_allocate complex2 flang_omp_map omp_get_initial slices flang_real16_prob"
known_fails="reduction_array_section targ_static target_teams_reduction tasks data_share2 global_allocate complex2 flang_omp_map omp_get_initial slices"

if [ "$SKIP_FAILURES" == 1 ] ; then
skip_tests=$known_fails
Expand Down

0 comments on commit db32132

Please sign in to comment.