Skip to content

add matlab driver

add matlab driver #82

Workflow file for this run

name: Integration
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
test: [ ANN ]
env:
MOR_DIR: /home/runner/work/NekROM/NekROM
steps:
- uses: actions/checkout@v2
- name: Setup NekROM
run: |
echo "$MOR_DIR/bin" >> $GITHUB_PATH
- name: Install MPICH
run: |
sudo apt-get update -qq
sudo apt-get install -y libmpich-dev mpich
- name: Check MPICH
run: |
type mpif77
type mpicc
- name: Set Flags
run: |
echo "FC=mpif77" >> $GITHUB_ENV
echo "CC=mpicc" >> $GITHUB_ENV
echo "FFLAGS=-w -mcmodel=medium -fprofile-arcs -ftest-coverage" >> $GITHUB_ENV
echo "USR_LFLAGS=-mcmodel=medium" >> $GITHUB_ENV
- name: Setup Julia
run: |
chmod +x $MOR_DIR/tests/julia-init
$MOR_DIR/tests/julia-init
- name: Setup Nek5000
run: |
git clone --single-branch -b prod https://github.com/kent0/Nek5000
echo "NEK_SOURCE_ROOT=$MOR_DIR/Nek5000" >> $GITHUB_ENV
echo "SOURCE_ROOT=$MOR_DIR/Nek5000" >> $GITHUB_ENV
echo "$MOR_DIR/Nek5000/bin" >> $GITHUB_PATH
(cd Nek5000/tools; ./maketools genmap)
- name: Integration Test
run: |
TYPE=INTEG TEST=ANN IPS=H10 NP=1 NB=2 LB=2 $MOR_DIR/tests/test_t.sh