From 0adcd3d7ad47e45350b106400eac035a74b687ac Mon Sep 17 00:00:00 2001 From: Elliot Ronaghan Date: Fri, 30 Sep 2022 10:52:52 -0400 Subject: [PATCH] Recommend Chapel 1.28.0 and use it for CI testing (#1807) As far as impacts to Arkouda, Chapel 1.28 includes some minor scan optimizations and improvements to instantiation limits. More details about the 1.28 release can be found at: https://chapel.discourse.group/t/announcing-chapel-1-28-0/16129 --- .github/workflows/CI.yml | 12 ++++++------ .github/workflows/gh-pages.yml | 2 +- INSTALL.md | 12 ++++++------ Makefile | 2 +- REQUIREMENTS.md | 2 +- pydoc/setup/prerequisites.rst | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c11d53fe88..eed8c7dd8e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -17,7 +17,7 @@ jobs: mypy: runs-on: ubuntu-latest container: - image: chapel/chapel:1.27.0 + image: chapel/chapel:1.28.0 steps: - uses: actions/checkout@v2 - name: Install dependencies @@ -32,7 +32,7 @@ jobs: docs: runs-on: ubuntu-latest container: - image: chapel/chapel:1.27.0 + image: chapel/chapel:1.28.0 steps: - uses: actions/checkout@v2 - name: Install dependencies @@ -47,7 +47,7 @@ jobs: flake8: runs-on: ubuntu-latest container: - image: chapel/chapel:1.27.0 + image: chapel/chapel:1.28.0 steps: - uses: actions/checkout@v2 - name: Install Dependencies @@ -65,7 +65,7 @@ jobs: matrix: python-version: ['3.8', '3.9', '3.10', '3.x'] container: - image: chapel/chapel:1.27.0 + image: chapel/chapel:1.28.0 steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -94,7 +94,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - chpl-version: ['1.26.0', '1.27.0'] + chpl-version: ['1.26.0', '1.27.0', '1.28.0'] container: image: chapel/chapel:${{matrix.chpl-version}} steps: @@ -129,7 +129,7 @@ jobs: env: CHPL_RT_NUM_THREADS_PER_LOCALE: ${{matrix.threads}} container: - image: chapel/${{matrix.image}}:1.27.0 + image: chapel/${{matrix.image}}:1.28.0 steps: - uses: actions/checkout@v2 - name: Install dependencies diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index b4f1b18a75..4f47a9a85b 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -14,7 +14,7 @@ jobs: if: github.repository == 'Bears-R-Us/arkouda' runs-on: ubuntu-latest container: - image: chapel/chapel:1.27.0 + image: chapel/chapel:1.28.0 steps: - uses: actions/checkout@v2 - name: Install dependencies diff --git a/INSTALL.md b/INSTALL.md index 36a7213fa7..5edfdab394 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -49,9 +49,9 @@ sudo apt-get update sudo apt-get install gcc g++ m4 perl python3 python3-pip python3-venv python3-dev bash make mawk git pkg-config cmake llvm-12-dev llvm-12 llvm-12-tools clang-12 libclang-12-dev libclang-cpp12-dev libedit-dev # Download latest Chapel release, explode archive, and navigate to source root directory -wget https://github.com/chapel-lang/chapel/releases/download/1.27.0/chapel-1.27.0.tar.gz -tar xvf chapel-1.27.0.tar.gz -cd chapel-1.27.0/ +wget https://github.com/chapel-lang/chapel/releases/download/1.28.0/chapel-1.28.0.tar.gz +tar xvf chapel-1.28.0.tar.gz +cd chapel-1.28.0/ # Set CHPL_HOME export CHPL_HOME=$PWD @@ -156,7 +156,7 @@ for installing Chapel & Arkouda. We also recommend installing Anaconda for wind Note: When running `make` to build Chapel while using WSL, pathing issues to library dependencies are common. In most cases, a symlink pointing to the correct location or library will fix these errors. -An example of one of these errors found while using Chapel 1.27.0 and Ubuntu 20.04 LTS with WSL is: +An example of one of these errors found while using Chapel 1.28.0 and Ubuntu 20.04 LTS with WSL is: ``` ../../../bin/llvm-tblgen: error while loading shared libraries: libtinfow.so.6: cannot open shared object file: No such file or directory ```` @@ -201,11 +201,11 @@ For convenience, the steps to install Chapel from source are detailed here. If y 2) Unpack the release ```bash -tar xzf chapel-1.27.0.tar.gz +tar xzf chapel-1.28.0.tar.gz ``` 3) Access the directory created when the release was unpacked ```bash -cd chapel-1.27.0 +cd chapel-1.28.0 ``` 4) Configure environment variables. *Please Note: This command assumes the use of `bash` or `zsh`. Please refer to the [Chapel Documentation](https://chapel-lang.org/docs/usingchapel/QUICKSTART.html#quickstart-with-other-shells) if you are using another shell.* ```bash diff --git a/Makefile b/Makefile index 8f3ced03e4..decee5e23c 100644 --- a/Makefile +++ b/Makefile @@ -168,7 +168,7 @@ ifneq ($(CHPL_VERSION_OK),yes) $(error Chapel 1.26.0 or newer is required) endif ifeq ($(CHPL_VERSION_WARN),yes) - $(warning Chapel 1.27.0 or newer is recommended) + $(warning Chapel 1.28.0 or newer is recommended) endif ZMQ_CHECK = $(DEP_INSTALL_DIR)/checkZMQ.chpl diff --git a/REQUIREMENTS.md b/REQUIREMENTS.md index c6558de90d..6ff38ffa4d 100644 --- a/REQUIREMENTS.md +++ b/REQUIREMENTS.md @@ -2,7 +2,7 @@ The dependencies listed here have varying installation instructions depending upon your preferred operating system. Please use in the installation instructions provided in [INSTALL.md](INSTALL.md). -- `Chapel 1.27.0 or later` +- `Chapel 1.28.0 or later` - `cmake>=3.11.0` - `zeromq>=4.2.5` - `hdf5` diff --git a/pydoc/setup/prerequisites.rst b/pydoc/setup/prerequisites.rst index 534e5a324e..0ebb2a4a33 100644 --- a/pydoc/setup/prerequisites.rst +++ b/pydoc/setup/prerequisites.rst @@ -7,7 +7,7 @@ Prerequisites ******************* Chapel ******************* -(version 1.27.0 or greater) +(version 1.28.0 or greater) The arkouda server application is written in Chapel_, a productive and performant parallel programming language. In order to use arkouda, you must first `download the current version of Chapel`_ and build it according to the instructions_ for your platform(s). Below are tips for building Chapel to support arkouda.