Skip to content

Commit

Permalink
CI automatically find mklvars.sh from installed intel-mkl
Browse files Browse the repository at this point in the history
  • Loading branch information
bernstei committed Oct 17, 2023
1 parent 77b43eb commit 853825c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ jobs:
# add signed entry to apt sources and configure the APT client to use Intel repository:
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt update
echo "apt list | grep intel"
sudo apt list | grep intel
echo "try to install intel-mkl"
sudo apt install intel-mkl
- name: Install phono3py from source
run: |
source /opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/bin/mklvars.sh intel64
echo "mklvars in"
dpkg -L intel-mkl | grep mklvars.sh
mklvars=$( dpkg -L intel-mkl | egrep '/mklvars.sh$' )
source $mklvars intel64
git clone https://github.com/phonopy/phonopy
cd phonopy
Expand Down

0 comments on commit 853825c

Please sign in to comment.