Skip to content

Commit

Permalink
Recommend Chapel 1.28.0 and use it for CI testing (#1807)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ronawho committed Sep 30, 2022
1 parent d3fb20b commit 0adcd3d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -156,7 +156,7 @@ for installing Chapel & Arkouda. We also recommend installing Anaconda for wind

<b>Note:</b> 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
````
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion REQUIREMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion pydoc/setup/prerequisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 0adcd3d

Please sign in to comment.