diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d311d016c..e8d28c299 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - run: | - sudo apt install cmake g++ libaio-dev libgoogle-perftools-dev clang-format-12 libboost-dev libmkl-full-dev + sudo apt install cmake g++ libaio-dev libgoogle-perftools-dev clang-format libboost-dev libmkl-full-dev mkdir build && cd build && cmake .. && make -j build-ubuntu-18: runs-on: 'ubuntu-18.04' @@ -16,9 +16,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - run: | - sudo apt install cmake g++ libaio-dev libgoogle-perftools-dev clang-format-4.0 libboost-dev + sudo apt install cmake g++ libaio-dev libgoogle-perftools-dev clang-format libboost-dev wget https://registrationcenter-download.intel.com/akdlm/irc_nas/18487/l_BaseKit_p_2022.1.2.146.sh sudo sh l_BaseKit_p_2022.1.2.146.sh -a --components intel.oneapi.lin.mkl.devel --action install --install-dir /opt/intel/compilers_and_libraries --eula accept -s - ls -R /opt/intel mkdir build && cd build && cmake .. && make -j diff --git a/README.md b/README.md index 80456a69a..c2ed0e1a6 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,23 @@ See [guidelines](CONTRIBUTING.md) for contributing to this project. ## Linux build: -Install the following packages through apt-get, and Intel MKL either by downloading the installer or using [apt](https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-apt-repo) (we tested with build 2019.4-070). -``` -sudo apt install cmake g++ libaio-dev libgoogle-perftools-dev clang-format-4.0 libboost-dev +Install the following packages through apt-get + +```bash +sudo apt install cmake g++ libaio-dev libgoogle-perftools-dev clang-format libboost-dev ``` -Build +### Install Intel MKL +#### Ubuntu 20.04 +```bash +sudo apt install libmkl-full-dev ``` + +#### Earlier versions of Ubuntu +Install Intel MKL either by downloading the installer or using [apt](https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-apt-repo) (we tested with build 2019.4-070 and 2022.1.2.146). + +### Build +```bash mkdir build && cd build && cmake .. && make -j ```