-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Intel compiler build to CI #36
base: develop
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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
ifort
and I am a bit unhappy with the runtime.