Add Intel compiler build to CI#36
Conversation
|
If you ever figure out how to use Intel compilers at a GitHub CI, faster than with 1h installation time, that would be really awesome. I would use it in a lot of projects. |
@certik you could make a container that contains everything, but the trial license, e.g. https://github.com/votca/buildenv/blob/master/fedora |
|
I apologize for not foreseeing this, but I had forgot to set the default branch of the project to 'develop'. I've since done so, and hopefully that does not cause any problems here. (The spackage only has targets for the release that supports spack, and develop.) |
|
@certik PS: I could make the CI here based on |
|
At GitLab I reuse containers all the time, but I always make a project specific https://gitlab.com/lfortran/ci-images Cannot you just copy the container and maintain it here for this project? |
|
Ultimately I will do that, currently I still need to figure out how to solve the |
| echo "/opt/intel/bin" >> $GITHUB_PATH | ||
| - name: Get trial license | ||
| run: | | ||
| mkdir ~/Licenses |
There was a problem hiding this comment.
@certik Does the line below answer your question?
| curl -O http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16756/parallel_studio_xe_2020_update2_professional_edition.tgz | ||
| tar -xf parallel_studio_xe_*.tgz | ||
| pushd parallel_studio_xe_*/rpm | ||
| printf "[icc]\nname=icc\nbaseurl=$PWD\nenabled=1" | sudo tee -a /etc/yum.repos.d/icc.repo | ||
| popd | ||
| sudo dnf -y update | ||
| sudo dnf --nogpgcheck -y install intel-parallel-studio-xe-icc intel-parallel-studio-xe-mkl intel-parallel-studio-xe-ifort | ||
| echo "LD_LIBRARY_PATH=/opt/intel/lib/intel64:/opt/intel/mkl/lib/intel64" >> $GITHUB_ENV | ||
| echo "/opt/intel/bin" >> $GITHUB_PATH |
There was a problem hiding this comment.
@dalg24 this part, downloading/installing icc, takes 30 min, so if we can create a base container and store it on Github's ghcr.io that would help a lot. We could use the same container to test kokkos with icc as well.
Something is still wrong with
ifortand I am a bit unhappy with the runtime.