Skip to content

Commit

Permalink
debug intel workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed May 17, 2024
1 parent d3fd6a1 commit 36e420f
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/basictest_intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ jobs:
path: src

- name: add oneAPI to apt
shell: bash
run: |
cd /tmp
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
- name: apt update
run: sudo apt update

- name: install oneAPI dpcpp compiler
shell: bash
run: |
sudo apt update
#sudo apt update
sudo apt install intel-oneapi-compiler-dpcpp-cpp
- name: Configure CMake
Expand All @@ -37,14 +38,15 @@ jobs:
-B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
-DNCRYSTAL_ENABLE_EXAMPLES=ON
-DNCRYSTAL_BUILD_STRICT=ON
-DNCRYSTAL_ENABLE_SETUPSH=ON
-DCMAKE_CXX_COMPILER=dpcpp
-DCMAKE_C_COMPILER=icx
-DIntelDPCPP_DIR="/opt/intel/oneapi/compiler/latest/linux/cmake/SYCL"
-DMKL_ROOT="/opt/intel/oneapi/mkl/latest"
-DTBB_ROOT="/opt/intel/oneapi/tbb/latest"
# -DNCRYSTAL_ENABLE_EXAMPLES=ON
# -DNCRYSTAL_BUILD_STRICT=ON
# -DMKL_ROOT="/opt/intel/oneapi/mkl/latest"
# -DTBB_ROOT="/opt/intel/oneapi/tbb/latest"

- name: Build
run: >
Expand All @@ -60,7 +62,6 @@ jobs:
run: ls -l ${{github.workspace}}

# - name: install oneAPI MKL library
# shell: bash
# run: |
# sudo apt install intel-oneapi-mkl-devel

Expand Down

0 comments on commit 36e420f

Please sign in to comment.