scalapack: add to Dockerfile

scalapack: actions Macos
pull/6228/head
Michael Hirsch, Ph.D 5 years ago
parent 92b77cb321
commit e097c22f82
No known key found for this signature in database
GPG Key ID: 6D23CDADAB0294F9
  1. 31
      .github/workflows/ci_frameworks.yml
  2. 1
      ciimage/Dockerfile

@ -14,36 +14,7 @@ on:
jobs:
scalapack_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- run: python -m pip install .
- name: install prereq
run: |
sudo apt update -yq
sudo apt install -yq --no-install-recommends pkg-config ninja-build gfortran liblapack-dev libscalapack-mpi-dev libopenmpi-dev openmpi-bin
- run: meson setup "test cases/frameworks/30 scalapack" build
env:
FC: gfortran
CC: gcc
- run: ninja -C build
- uses: actions/upload-artifact@v1
if: failure()
with:
name: Scalpack_Linux_Build
path: build/meson-logs/meson-log.txt
- run: meson test -C build -v
- uses: actions/upload-artifact@v1
if: failure()
with:
name: Scalapack_Linux_Test
path: build/meson-logs/testlog.txt
scalapack_mac:
scalapackMacOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1

@ -27,6 +27,7 @@ RUN sed -i '/^#\sdeb-src /s/^#//' "/etc/apt/sources.list" \
&& eatmydata apt-get -y install libboost-python-dev \
&& eatmydata apt-get -y install libblocksruntime-dev \
&& eatmydata apt-get -y install libperl-dev \
&& eatmydata apt-get -y install liblapack-dev libscalapack-mpi-dev \
&& eatmydata dub fetch urld && dub build urld --compiler=gdc \
&& eatmydata dub fetch dubtestproject \
&& eatmydata dub build dubtestproject:test1 --compiler=ldc2 \

Loading…
Cancel
Save