Skip to content

Update README.md

Update README.md #49

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-22.04
env:
LD_LIBRARY_PATH: '/home/runner/installs/lib'
MKL_INC_DIR: '/usr/include/mkl'
MKL_LIB_DIR: '/usr/lib/x86_64-linux-gnu'
FFLAGS: '-m64 -I/usr/include/mkl'
FCFLAGS: '-m64 -I/usr/include/mkl'
CFLAGS: '-DMKL_ILP64 -m64 -I/usr/include/mkl'
CXXFLAGS: '-DMKL_ILP64 -m64 -I/usr/include/mkl'
LIBS: '-L/usr/lib/x86_64-linux-gnu -Wl,--no-as-needed -lmkl_gf_ilp64 -lmkl_sequential -lmkl_core -lpthread -ltbb -lstdc++ -lm -ldl'
LIBSUFFIX: 'ILP64'
INTERFACE64: '1'
OMP_NUM_THREADS: 2
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
mkdir ~/installs
mkdir ~/installs/lib
mkdir ~/installs/include
sudo apt-get update
sudo apt-get install -y libmkl-dev libboost-dev
cd /tmp
wget https://github.com/opencollab/arpack-ng/archive/refs/tags/3.9.0.zip
unzip 3.9.0.zip
cd arpack-ng-3.9.0
sh bootstrap
./configure --enable-icb --with-blas=mkl_gf_ilp64 --with-lapack=mkl_gf_ilp64 --prefix=$HOME/installs
make check
make install
- name: make test
run: |
mkdir bin
cd src; make test -j2
cd ../bin; ./test.x